Community discussions

MikroTik App
 
mmorelie
just joined
Topic Author
Posts: 18
Joined: Thu Jul 28, 2016 4:04 pm

Routing distance with 2 wan access

Thu Jan 12, 2017 12:37 pm

hi,
I have trouble with a dual wan access.
I have a RB20111 with RouterOs 6.35.2.
I have a pppoe concentrator, i need to connect my Mikrotik router to this concentrator with 2 links (1 SDSL pppoe1, and one ADSL pppoe2)
There is no problem with the pppoe configuration both links works.

My problem is to set SDSL as primary link and ADSL as backup.

Both pppoe profile give me default-route, i try to configure ADSL link with a default-route-distance=2 but , it's always the last one connected that is used to connect my pppoe concentrator (and by this the default route)

pppoe2 last connected :
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADS dst-address=0.0.0.0/0 gateway=10.10.10.1 gateway-status=10.10.10.1 reachable via pppoe2 distance=0
scope=30 target-scope=10

1 DS dst-address=0.0.0.0/0 gateway=10.10.10.1 gateway-status=10.10.10.1 reachable via pppoe2 distance=2
scope=30 target-scope=10

2 ADC dst-address=10.10.10.1/32 pref-src=172.20.0.1 gateway=iccom1,iccom2
gateway-status=iccom1 reachable,iccom2 reachable distance=0 scope=10
pppoe1 last connected :
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADS dst-address=0.0.0.0/0 gateway=10.10.10.1 gateway-status=10.10.10.1 reachable via pppoe1 distance=0
scope=30 target-scope=10

1 DS dst-address=0.0.0.0/0 gateway=10.10.10.1 gateway-status=10.10.10.1 reachable via pppoe1 distance=2
scope=30 target-scope=10

2 ADC dst-address=10.10.10.1/32 pref-src=172.20.0.4 gateway=iccom1,iccom2
gateway-status=iccom1 reachable,iccom2 reachable distance=0 scope=10
any idea how to configure this ?

Who is online

Users browsing this forum: No registered users and 60 guests