Link to home
Start Free TrialLog in
Avatar of dsterling
dsterling

asked on

Cisco: Default static routes with different administrative distances

I have a Cisco router that has two default routes configured:
ip route 0.0.0.0 0.0.0.0 10.1.236.6 250
ip route 0.0.0.0 0.0.0.0 10.1.35.5 254

The question I have is why is the default route with a AD of 250 showing up in the routing table when it seems that the other default with the AD of 254 should show up in the routing table to be used as the default route?

Here is a copy of the show ip route display:
R3# 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

Gateway of last resort is 10.1.236.6 to network 0.0.0.0

S*    0.0.0.0/0 [250/0] via 10.1.236.6
      10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
S        10.1.1.1/32 [1/0] via 11.1.1.1
C        10.1.3.3/32 is directly connected, Loopback0
C        10.1.35.0/24 is directly connected, Serial4/0
L        10.1.35.1/32 is directly connected, Serial4/0
C        10.1.123.0/24 is directly connected, Ethernet0/0
L        10.1.123.3/32 is directly connected, Ethernet0/0
C        10.1.236.0/24 is directly connected, Ethernet0/1
L        10.1.236.3/32 is directly connected, Ethernet0/1
      11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        11.1.1.0/24 is directly connected, Tunnel23
L        11.1.1.3/32 is directly connected, Tunnel23
      32.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        32.0.0.0/24 is directly connected, Tunnel0
L        32.0.0.3/32 is directly connected, Tunnel0
R3#

Here is a copy of the run config | s route:
R3#sh run | b route
ip route 0.0.0.0 0.0.0.0 10.1.236.6 250
ip route 0.0.0.0 0.0.0.0 10.1.35.5 254
R3#
SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dsterling
dsterling

ASKER

Good comment's, I'll keep looking.