Strange Clarification regarding route table

Unanswered Question
Dec 19th, 2002
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
lgijssel Thu, 12/19/2002 - 12:01
User Badges:
  • Red, 2250 points or more

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.

msingla Thu, 12/19/2002 - 12:17
User Badges:

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

Actions

This Discussion