Community discussions

MikroTik App
 
connectiva
just joined
Topic Author
Posts: 3
Joined: Fri Jun 21, 2019 4:45 pm

2 Internet links and 2 LANs with failover

Fri Jun 21, 2019 5:02 pm

Hello. First of all, I'm Brazilian, sorry for my poor English.
I need to configure a network with the following characteristics: 2 internet links (PPPoE) and two networks (LAN1: 192.168.10.0/24 and LAN2: 192.168.0.254/24).
Each network has its own Internet link (LAN1 uses LINK1 and LAN2 uses LINK2). This part I already did using package marking and specific routes for each package mark.

Now, I need to configure it so that when one Internet link down, the other link assumes both networks.
For example:
- LINK1 down -> LAN1 and LAN2 will use LINK2;
- LINK2 down -> LAN1 and LAN2 will use LINK1;
- link returned -> LAN1 resumes using LINK1 and LAN2 resumes using LINK2.

I thank you all.
 
jlp16400
just joined
Posts: 8
Joined: Sun Feb 24, 2019 1:30 pm

Re: 2 Internet links and 2 LANs with failover

Fri Jun 21, 2019 6:31 pm

 
connectiva
just joined
Topic Author
Posts: 3
Joined: Fri Jun 21, 2019 4:45 pm

Re: 2 Internet links and 2 LANs with failover

Fri Jun 21, 2019 10:00 pm

Thanks for answering.

In the example above, there is only one local network. In my case there are two. This is precisely my greatest difficulty.
I can not make an internet take over the two networks when the other one falls.
I think I'll need to do a script to monitor the two internet links.
I do this configuration on Linux, but on Mikrotik I do not know how to do it.

Can anybody help me?

Thank you.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: 2 Internet links and 2 LANs with failover  [SOLVED]

Fri Jun 21, 2019 10:12 pm

Hi

Within the existing routing table, as designated by the routing-mark, just add additonal default route going to the other isp, BUT with higher distance.
If first becomes invalid, second will be picked up.
 
connectiva
just joined
Topic Author
Posts: 3
Joined: Fri Jun 21, 2019 4:45 pm

Re: 2 Internet links and 2 LANs with failover

Sat Jun 22, 2019 2:32 pm

Hi sebastia.

It worked!
I was trying to complicate a simple problem to solve.

Thank you very much.

Who is online

Users browsing this forum: No registered users and 12 guests