Failover Will Not Kick In Unless Eth 0/1 is Disconnected.
I have the following config on an Adtran 908e 2nd Gen. The failover kicks in when the eth 0/1 is unplugged but if I remove the modem's coax on the primary. The Failover bounces. Any changes to the config below to prevent this.
ip local policy route-map probe ping1
probe ping1 icmp-echo
destination 8.8.8.8
period 10
tolerance consecutive fail 6 pass 3
no shutdown
!
!
track ping1
snmp trap state-change
test list or
if probe ping1
no shutdown
!
interface eth 0/1
ip address x.x.x.x x.x.x.x (Primary WAN)
no shutdown
media-gateway ip primary
!
interface eth 0/2
ip address x.x.x.x x.x.x.x (Back up WAN
no awcp
no shutdown
media-gateway ip primary
route-map probeping1 permit 10
match ip address ping1
set ip next-hop x.x.x.x (Primary Gateway)
set interface null 0
ip route 0.0.0.0 0.0.0.0 x.x.x.x (Primary Gateway) track ping1
ip route 0.0.0.0 0.0.0.0 x.x.x.x (Back Up Gateway) 10
I tried with the following config too and same issue the failover kicks in only when disconnecting eth 0/1.
ip access-list extended MATCHALL-FAILOVER
permit ip any any
exit
!
no ip policy-class WAN-FAILOVER rpf-check
ip policy-class WAN-FAILOVER
allow list MATCHALL-FAILOVER self
allow list MATCHALL-FAILOVER stateless
exit
!
interface eth 0/1
ip address x.x.x.x x.x.x.x (Primary IP and Mask)
no awcp
no shutdown
no lldp send-and-receive
media-gateway ip primary
!
! -- Fail over Interface
!
interface eth 0/2
ip address x.x.x.x x.x.x.x (Back up IP and Mask)
ip access-policy WAN-FAILOVER
media-gateway ip primary
no shutdown
exit
!
!
probe FAILOVER icmp-echo
destination 8.8.8.8
source-address x.x.x.x (Back up IP Gateway)
period 10
tolerance consecutive fail 5 pass 10
no shutdown
exit
!
track FAILOVER
snmp trap state-change
test if probe FAILOVER
no shutdown
exit
!
!
!
!
ip access-list extended pingprobe
permit icmp host x.x.x.x (Primary IP) host 8.8.8.8
exit
!
ip local policy route-map ICMP_FAILOVER
!
route-map ICMP_FAILOVER permit 10
match ip address pingprobe
set ip next-hop x.x.x.x (Primary IP Gateway)
set interface null 0
exit
!
ip route 0.0.0.0 0.0.0.0 1x.x.x.x (Back up IP Gateway) 250
ip route 0.0.0.0 0.0.0.0 x.x.x.x (Primary IP Gateway)
I posted this in the Adtran support page too.
No comments:
Post a Comment