Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Strange Clarification regarding route table

Hi all,

Can anybody tell me when I add static route to my default network it shows with Administrative distance of 1,whereas we know that static routes to our own interface have AD. of zero.

Example

C 10.77.152.128/25 is directly connected, FastEthernet1/0

S* 0.0.0.0/0 [1/0] via 10.77.152.129

is directly connected, FastEthernet1/0

Its showing here with administrative distance of 1 the route with default gateway of FastEthernet1/0.

Please do clear me where I am wrong

Thanx in advance

Munit

2 REPLIES

Re: Strange Clarification regarding route table

The difference is made by the way the route is specified.

ip route 0.0.0.0 0.0.0.0 fa1/0 will have a distance of zero

ip route 0.0.0.0 0.0.0.0 10.77.152.129 will have a distance of one

This is according to the IOS documentation for the ip route command.

Appearently this is also true when the specified IP is that of an interface of the router itself. Normally, you would specify the IP of the next-hop router of course.

Community Member

Re: Strange Clarification regarding route table

Hi,

Thanx for the reply,but still the dobuts hangs there.

See we cannot configure our own ip as next default gateway,only interface we can specify.Next is that if according to you default gateway for our own interface should have administrative distance of 0 then why its showing as 1 the administrative distance and try to load balance as shown in my config.

Please do clarify me again as I am not clear.

Regards,

Munit

84
Views
0
Helpful
2
Replies
CreatePlease to create content