We have a router with two WAN interface to different ISPs that use DHCP. We are unable to ping out the backup interface while the primary is up. The primary interface has a distance of 1, the backup a distance of two (configured under dhcp-client). The only address we can ping is the backup carrier default gateway. When the primary is disconnected, the backup works fine, so it does not appear to be an access-list issue.
We want to do script-based WAN failover so we need to be able to ping remote hosts out each WAN interface.
Any idea what we are missing? Any help would be greatly appreciated.
Config below.
Thanks,
- Pete
-------------- config -------------------
Route table:
1 ADS 0.0.0.0/0 [gateway IP wan1] 1
2 DS 0.0.0.0/0 [gateway IP wan2] 2
3 ADC [wan2 subnet] [wan2 dhcp IP] ether2-wan2 0
4 ADC [wan1 subnet] [wan1 dhcp IP] ether1-wan1 0
5 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
DHCP client:
ip dhcp-client add interface=ether1-wan1 disabled=no
ip dhcp-client add interface=ether2-wan2 disabled=no
ip address print detail:
3 D address=[wan2 dhcp address] network=xxxx interface=ether2-wan2
actual-interface=ether2-wan2
4 D address=[wan1 dhcp address] network=xxxxx interface=ether1-wan1
actual-interface=ether1-wan1
NAT configuration:
0 chain=srcnat action=masquerade to-addresses=0.0.0.0
out-interface=ether1-wan1 log=no log-prefix=""
1 chain=srcnat action=masquerade out-interface=ether2-wan2 log=no
log-prefix=""