Source NAT with multiple public IP adresses

Hello,

This is my first time writing here.

My ISP has given me a few public addresses and I want to create a NAT rule that will translate my private IPs to the external randomly.

Is this possible and how it should by done? (I prefer using the GUI, as I am just starting with MikroTik)

Thank you!

Read here and adjust accordingly to your needs

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT#Source_nat_to_specific_address

Thanks for the reply, but I don’t think this is helping me, as this is if I have, for example, 2 subnets and I want to have them go out trough different public IPs.
Instead I want to have my whole internal network go out trough different public addresses on random.

you can use NTH to split up the traffic: http://wiki.mikrotik.com/wiki/Manual:NTH_in_RouterOS

Thank you for the reply. As far as I understand, this will make so that each packet uses a different rule. Wouldn’t this be a problem, for example, when we open a website and the packets to the website start coming from different source IPs ?

You can use PCC with both-addresses.

Then there’s also action=same. I’ve never had an opportunity to use it myself, but I think you can just give it your public addresses, and it should take care of everything, using all of them and keeping same address for each client.

I was able to do it in a test environment. Next I am going to try and implement it on the real router.

With PCC using src address and src port.

Thank you very much!

Sorry for dragging this thread up. I have 768 routed public ip address via a /30 point to point ip. The 768 public ip’s are split into 3 /24 subnets. I have 700 customers split over many internal /24 subnets but each subnet is not using more than 30 ip’s. I want to give each customer a public ip address that does not change or overlap with another but i dont want to manually enter src/dst nat rules for each one. Does anyone have a basic example i can study and modify for my own use? Thanks

Anyone?