cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
185
Views
0
Helpful
2
Replies

Show ip route, Why 46.1.1.4 is chosen as default route ?

wfqk
Level 5
Level 5

Dear All,

Can you give some idea about this: when entering command "show ip route" the output is as the following. Why  46.1.1.4 is chosen as default route instead of 36.1.1.3 ? Thank you

 

R6#sh ip route

Gateway of last resort is 46.1.1.4 to network 0.0.0.0

     36.0.0.0/24 is subnetted, 1 subnets
C       36.1.1.0 is directly connected, FastEthernet0/1
     67.0.0.0/24 is subnetted, 1 subnets
C       67.1.1.0 is directly connected, Serial0/2
     78.0.0.0/24 is subnetted, 1 subnets
S       78.1.1.0 [1/0] via 67.1.1.7
     46.0.0.0/24 is subnetted, 1 subnets
C       46.1.1.0 is directly connected, Serial0/0
S*   0.0.0.0/0 [1/0] via 46.1.1.4
                      [1/0] via 36.1.1.3

R6(config)#do sh run | s route
ip route 0.0.0.0 0.0.0.0 36.1.1.3
ip route 0.0.0.0 0.0.0.0 46.1.1.4
ip route 78.1.1.0 255.255.255.0 67.1.1.7

 

 

2 Replies 2

Bilal Nawaz
VIP Alumni
VIP Alumni

Hello, the static default route is showing to two next hops, 46.1.1.4 and 36.1.1.3. They have the same Admin Distance and cost, if CEF is enabled it will load-share per session (src-dst IP pair)

If the router was only using one of the routes, only one would be displayed.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Thank you for your reply. I think your explanation might be right. I will test it again. Once I get result, I will get it back here. Thank you again 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card