el 05-03-2024 10:15 PM
i have a Cisco 4451 with 2 isp, i have setup the static routes the main one tracking the the ip sla , the main connection its fiber optic based, but when we have a broken link the traffic doesnt go to the backup route, only if we disconnect the ethernet cable it goes to the back up link this is the main lines for the config
track 1 ip sla 1 reachability
interface GigabitEthernet0/0/0
description ISP Telmex
ip address 192.168.10.5 255.255.255.0
ip nat outside
negotiation auto
ip virtual-reassembly
!
interface GigabitEthernet0/0/1
description ISP Starlink
ip address 100.115.4.32 255.192.0.0
ip nat outside
media-type rj45
negotiation auto
no cdp enable
ip virtual-reassembly
!
interface GigabitEthernet0/0/3
description LAN
no ip address
media-type sfp
negotiation auto
!
interface GigabitEthernet0/0/3.1
description Data
encapsulation dot1Q 1 native
ip address 10.0.1.1 255.255.255.0
ip nat inside
no cdp enable
!
ip nat inside source route-map Starlink interface GigabitEthernet0/0/1 overload
ip nat inside source route-map Telmex interface GigabitEthernet0/0/0 overload
ip route 0.0.0.0 0.0.0.0 192.168.10.254 track 1
ip route 0.0.0.0 0.0.0.0 100.64.0.1 10
ip sla 1
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/0/0
frequency 5
ip sla schedule 1 life forever start-time now
access-list 10 permit any
!
!
route-map Telmex permit 10
match ip address 10
match interface GigabitEthernet0/0/0
!
route-map Starlink permit 10
match ip address 10
match interface GigabitEthernet0/0/1
!
¡Resuelto! Ir a solución.
el 05-04-2024 04:52 AM
since you use 8.8.8.8 as destiation of IP SLA
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/0/0
then you need
ip route 8.8.8.8 255.255.255.255 GigabitEthernet0/0/0 permanent
MHM
el 05-04-2024 12:20 AM
Hello @Aquiles
Does your SLA is UP ?
Please verify the status of the IP SLA operation. Use the show ip sla statistics command to ensure that the IP SLA operation is functioning correctly and that the track status is changing accordingly when the primary link fails.
el 05-04-2024 04:34 AM
i will change ACL ranger any specific to LAN Segment to work as expected.
check below example and testing done in my Blog :
https://www.balajibandi.com/?p=1643
el 05-04-2024 04:52 AM
since you use 8.8.8.8 as destiation of IP SLA
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/0/0
then you need
ip route 8.8.8.8 255.255.255.255 GigabitEthernet0/0/0 permanent
MHM
Descubra y salve sus notas favoritas. Vuelva a encontrar las respuestas de los expertos, guías paso a paso, temas recientes y mucho más.
¿Es nuevo por aquí? Empiece con estos tips. Cómo usar la comunidad Guía para nuevos miembros
Navegue y encuentre contenido personalizado de la comunidad