FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12615 questions

14984 answers

23964 comments

46771 members

0 votes
101 views 2 comments
by
by

I got this working as per your instruction, LAN1 going out via modem1 and LAN2 going out via modem2. However, when I turned off MOB1S1A1 to simulate a failure of the modem, LAN1 routed to modem2 going out. How can I prevent this? Thanks.

1 Answer

0 votes
by

Hi,

In my opinion the simplest way to implement this routing behavior is by using advanced routing via WebUI -> Network -> Routing -> Advanced static routes

Let's say you have two networks:

LAN: 192.168.1.0/24 (assign modem1)

LAN2: 192.168.2.0/24 (assign modem2)

In Advanced static routes configuration page create 2 routing tables e.g. tableID 10 - SimOne, tableID 20 - SimTwo as shown in picture below: 

Then for each of these routing tables create following routing rules.

SimOne: 

 

SimTwo: 

And for last create 2 routing rules for IPv4 for each routing table: 

SimOne: 

SimTwo: 

That should be enough to send vlan1 traffic through sim1 and vlan2 traffic through sim2.

Let me know if you'll have any further questions.

by
Hi Martynas,

I got this working as per your instruction, LAN1 going out via modem1 and LAN2 going out via modem2. However, when I turned off MOB1S1A1 to simulate a failure of the modem, LAN1 routed to modem2 going out. How can I prevent this? Thanks.