2 Public Static IP's - 3 Lans - Routing

Hey there. We have 3 different LAN’s (Interface 2,3 and 4), we also have 2 public static IP’s that come in on a single WAN port (Interface 1). I have the address programmed in to the address list, and attached to the proper WAN interface. I can ping the different IP address from outside of the network just fine. I’m unable to figure out how to take all of the traffic on interface 3 and 4 and have it use the second public static IP that I have, while keeping all of the traffic from interface 2 using the first public static.

So basically, I’m looking to have interface 2 use public static 1, and have interfaces 3&4 use public static 2.

Is this just a simple route rule? or is there something with in the firewall that I need to setup?


Thanks in advance for any and all help.

RouterOS V6.38.7 RB3011

In my company I have 2 internet links, each with /29 pool. I have lots of local servers which are routed via different public ips for different functions.
You can use simple src-nat rules to route traffic from specific local system via specific public ip.

Example:

/ip firewall nat
add action=src-nat chain=srcnat comment="Route PC#1 IP to first public IP" disabled=yes src-address=10.0.0.1 to-addresses=1.1.1.1
add action=src-nat chain=srcnat comment="Route PC#2 IP to Second public IP" disabled=yes src-address=10.0.0.1 to-addresses=1.1.1.2

Some more info here https://aacable.wordpress.com/2013/11/13/mikrotik-with-multiple-wan-ips-and-port-forwarding

Awesome! Thanks for the reply!

This has worked for me.