I'm trying out various WAN failover solutions. One of them requires that you be able to ping the "inactive" connection via its interface, which is where I'm getting stuck. I don't know if I'm missing something completely obvious.
I have set up a lab environment with two different routes to the Internet.
Code: Select all
/ip address
add address=10.1.0.2/30 interface=ether1 network=10.1.0.0
add address=10.2.0.2/30 interface=ether2 network=10.2.0.0
/ip route
add check-gateway=ping comment="Default route 1" distance=1 gateway=10.1.0.1
add check-gateway=ping comment="Default route 2" distance=2 gateway=10.2.0.1
Code: Select all
0 A S ;;; Default route 1
dst-address=0.0.0.0/0 gateway=10.1.0.1 gateway-status=10.1.0.1 reachable via ether1
check-gateway=ping distance=1 scope=30 target-scope=10
1 S ;;; Default route 2
dst-address=0.0.0.0/0 gateway=10.2.0.1 gateway-status=10.2.0.1 reachable via ether2
check-gateway=ping distance=2 scope=30 target-scope=10
2 ADC dst-address=10.1.0.0/30 pref-src=10.1.0.2 gateway=ether1 gateway-status=ether1 reachable
scope=10
3 ADC dst-address=10.2.0.0/30 pref-src=10.2.0.2 gateway=ether2 gateway-status=ether2 reachable
scope=10
Route 1 works, of course, but am I not supposed to be able to send traffic via route 2 while it isn't the active route? I get timeouts using this command:
Code: Select all
ping interface=ether2 9.9.9.9
Route 2 works as expected when I manually disable route 1.