10-31-2022 09:14 AM
I have two WS-C4500X-32 switches interconnected via 2x Pear 2 Pear connection with different ISPs.
There are two paths setted with different Distance metrics. Therefore when I shutdown the interface with low metric, the routing table don't change automatically to the second link. Anyone could explain better what can be happen?
Remark: The routing table will change only if manually I remove the ip routing wit
MANTS001-DTC#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is 10.113.138.9 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.113.138.9
10.0.0.0/8 is variably subnetted, 20 subnets, 6 masks
MANTS001-DTC#sh run | in route
ip route 0.0.0.0 0.0.0.0 10.113.138.9
iproute 0.0.0.0 0.0.0.0 10.113.138.13 150
Solved! Go to Solution.
11-01-2022 08:01 AM
STATIC ROUTE:
ip route 0.0.0.0 0.0.0.0 10.113.138.9 <<- why this without egress interface ?
10-31-2022 09:24 AM
you need to add egress interface additional to next-hop in static route
11-01-2022 06:52 AM
Hi @MHM Cisco World ,
Thank you for your tip. Here go more details about my scenario proposed. Could you detail more yet your tip?
By what I understood you mean that I should inform from this below declared way, am I correct?
ip route 0.0.0.0 0.0.0.0 tenGigabitEthernet 1/3 10.113.138.9
ip route 0.0.0.0 0.0.0.0 tenGigabitEthernet 1/2 10.113.138.13 150
SVI
interface Vlan909
description Primary Link
ip address 10.113.138.10 255.255.255.252
no ip redirects
no ip unreachables
interface Vlan910
description Secondary Link
ip address 10.113.138.14 255.255.255.252
no ip redirects
no ip unreachables
Physical Interfaces
interface TenGigabitEthernet1/2
description Primary Link
switchport access vlan 909
switchport mode access
spanning-tree bpduguard disable
end
interface TenGigabitEthernet1/3
description P2P-LogicPro
switchport access vlan 909
switchport mode access
switchport nonegotiate
end
STATIC ROUTE:
ip route 0.0.0.0 0.0.0.0 10.113.138.9
11-01-2022 08:01 AM
STATIC ROUTE:
ip route 0.0.0.0 0.0.0.0 10.113.138.9 <<- why this without egress interface ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide