04-16-2015 01:17 PM - edited 03-05-2019 01:16 AM
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
04-16-2015 11:40 PM
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.
04-18-2015 07:30 AM
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
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