Community discussions

MikroTik App
 
tabate47
Long time Member
Long time Member
Topic Author
Posts: 510
Joined: Wed Mar 13, 2013 5:23 am
Location: Los Angeles

Dual Wan Failover Route Help

Sun Oct 16, 2022 7:10 pm

Hi. I've put together something from reading the forum for a dual wan. Does it look ok? It seems to be working, but a second pair of eyes would really help. Thanks.
/ip route

add check-gateway=ping comment="recursive route for isp1" distance=1 gateway=\
    208.67.222.222
add check-gateway=ping comment="recursive route for isp2" distance=1 gateway=\
    208.67.220.220
add check-gateway=ping comment="recursive route for isp1" distance=2 gateway=\
    208.67.220.220
add check-gateway=ping comment="recursive route for isp2" distance=2 gateway=\
    208.67.222.222
add comment=isp2 distance=1 dst-address=208.67.220.220/32 gateway=\
    6.7.8.9 scope=10
add comment="black hole for 208.67.220.220" distance=20 dst-address=\
    208.67.220.220/32 type=blackhole
add comment=isp1 distance=1 dst-address=208.67.222.222/32 gateway=2.3.4.5 \
    scope=10
add comment="black hole for 208.67.222.222" distance=20 dst-address=\
    208.67.222.222/32 type=blackhole
 
tabate47
Long time Member
Long time Member
Topic Author
Posts: 510
Joined: Wed Mar 13, 2013 5:23 am
Location: Los Angeles

Re: Dual Wan Failover Route Help

Mon Oct 17, 2022 6:09 am

If anyone could take a look at this I would appreciate it. I need help!
 
ak4020
newbie
Posts: 32
Joined: Mon Mar 23, 2020 11:35 am

Re: Dual Wan Failover Route Help

Mon Oct 17, 2022 7:09 am

good morning, this topic has been discussed many times before and there is good documentation here:

https://help.mikrotik.com/docs/pages/vi ... d=26476608
 
tabate47
Long time Member
Long time Member
Topic Author
Posts: 510
Joined: Wed Mar 13, 2013 5:23 am
Location: Los Angeles

Re: Dual Wan Failover Route Help

Tue Nov 01, 2022 5:22 am

Hi. I understand. If someone could take a look at this I'm sure I'm doing something very stupid. I think I may have the distance wrong in one spot. I would appreciate it very much. Thanks.
 
tabate47
Long time Member
Long time Member
Topic Author
Posts: 510
Joined: Wed Mar 13, 2013 5:23 am
Location: Los Angeles

Re: Dual Wan Failover Route Help

Tue Nov 01, 2022 9:22 pm

I changed it to this and it seems to be working:
/ip route

add check-gateway=ping comment="recursive route for isp1" distance=1 gateway=\
    208.67.222.222
add check-gateway=ping comment="recursive route for isp2" distance=2 gateway=\
    208.67.220.220
add comment=isp1 distance=1 dst-address=208.67.222.222/32 gateway=2.3.4.5 \
    scope=10
add comment=isp2 distance=1 dst-address=208.67.220.220/32 gateway=\
    6.7.8.9 scope=10
add comment="black hole for 208.67.222.222" distance=20 dst-address=\
    208.67.222.222/32 type=blackhole
add comment="black hole for 208.67.220.220" distance=20 dst-address=\
    208.67.220.220/32 type=blackhole

Who is online

Users browsing this forum: Maajed, NetHorror, scoobyn8 and 91 guests