Hi,
I am attempting to setup dual wan with an active/active setup, with a primary route and a fail over route.
I also wish to route specific ports (port forwarding) via the secondary WAN interface.
Port forwarding aside, I seem to have a more fundamental problem with routes.
When one WAN interface is online, the other does not pass any traffic. Even with a static route to a specific IP, it does not route.
I have two connections:
- PPPoE on ether1, distance 2
DHCP on ether6, distance 1
If the PPPoE connection has a distance of 0, all traffic is routed via this interface, as expected. Ether6 is showing as online, the DHCP client shows an IP address and gateway, however using the ping tool in winbox, and selecting ether6 as interface results in no ping responses.
I added a default route
add distance=1 dst-address=8.8.8.8/32 gateway=ether6
.
However I can still not ping 8.8.8.8. It times out.
Trace isnt helpful either.
[admin@Kepler] /tool> traceroute 8.8.8.8
# ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS
1 100% 1 timeout
2 100% 1 timeout
If I disable ether1, ether6 kicks in (distance of 1) and all traffic flows via this interface. And it works, so the internet connection is fine.
If I repeat the above, try to ping 8.8.8.8 via the PPPoE connection now, it times out.
While ether6 is active, the DS route for the PPPoE connection shows that the gateway is unreachable.
It seems that I can only have 1 active connection at a time. I assume this shouldn’t be the case, so I probably have a config issue. I am unable to find it though.
Routes:
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreacha
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S ;;; Routing mark route through TPG
0.0.0.0/0 pppoe-tpg 1
1 A S ;;; Routing mark route through ABB
0.0.0.0/0 ether6 1
2 ADS 0.0.0.0/0 180.150.12.1 0
3 DS 0.0.0.0/0 10.20.22.167 2
4 X S ;;; TPG failover, distance 2
0.0.0.0/0 pppoe-tpg 2
5 X S ;;; ABB primary, distance 1
0.0.0.0/0 ether6 1
6 A S 8.8.8.8/32 pppoe-tpg 1
7 ADC 10.7.1.0/24 10.7.1.1 bridge 0
8 ADC 10.20.22.167/32 203.213.114.239 pppoe-tpg 0
9 ADC 180.150.12.0/23 180.150.12.94 ether6 0
add comment="Routing mark route through TPG" distance=1 gateway=pppoe-tpg routing-mark=to_WAN1
add comment="Routing mark route through ABB" distance=1 gateway=ether6 routing-mark=to_WAN2
add comment="TPG failover, distance 2" disabled=yes distance=2 gateway=pppoe-tpg
add comment="ABB primary, distance 1" disabled=yes distance=1 gateway=ether6
Any thoughts on where I should be looking?
Cheers.