Community discussions

MikroTik App
 
vitaly777
newbie
Topic Author
Posts: 39
Joined: Wed Jan 23, 2013 10:35 am
Location: Estonia

2 WANs to 2 LANs (task more explained)

Thu Jun 13, 2013 10:32 am

How to organize two WAN static ip from my provider (for example: 192.168.2.101 and 192.168.2.102) to two LAN subnets (for example: 10.0.1.0/24 and 10.0.2.0/24).

Image

All packets from 192.168.2.101 goes to subnet 10.0.1.0/24 and from 192.168.2.102 goes to 10.0.2.0/24.


Any help or links would be much appreciated!
Thank you.
 
tws101
Member Candidate
Member Candidate
Posts: 283
Joined: Thu Sep 08, 2011 11:25 pm

Re: 2 WANs to 2 LANs (task more explained)

Fri Jun 14, 2013 6:15 pm

Under IP Firewall Mangle you need to routing mark the packets from the source network.

Under IP routes you need to establish a route for each of those routing marks.

That is all.
 
vitaly777
newbie
Topic Author
Posts: 39
Joined: Wed Jan 23, 2013 10:35 am
Location: Estonia

Re: 2 WANs to 2 LANs (task more explained)

Tue Jun 18, 2013 3:06 pm

Under IP Firewall Mangle you need to routing mark the packets from the source network.

Under IP routes you need to establish a route for each of those routing marks.

That is all.
Thank you!

Who is online

Users browsing this forum: baragoon, erlinden, Fogga, JohnConnett, Kanzler, stef70, xrlls and 113 guests