Community discussions

MikroTik App
 
roburb
just joined
Topic Author
Posts: 2
Joined: Thu Aug 19, 2021 9:30 am

Routing two public ip on one interface.

Thu Aug 19, 2021 9:38 am

I have two public IP on one interface. There is a same gateway.
If I take a look to routing, there is one dynamic route with distance 0 and preffered source. The preffered source ip is the lower one from two publics ip.
I have settup masquarade for my local lans. There are 3 lans.
If I open www.whatismyip.org, there is shown the same lower ip for all my 3 local lans.
I would like to use for one local lan different ip.
Could you give me some hints, how to do it please?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Routing two public ip on one interface.

Mon Aug 23, 2021 9:28 pm

On your NAT rules, create a NAT rule with action=masquerade chain=src-nat and src-address=the LAN subnet you want to use that specific WAN, out-interface= the WAN you want... Place it on top...

Who is online

Users browsing this forum: GoogleOther [Bot] and 62 guests