12-19-2002 07:35 AM - edited 03-02-2019 03:42 AM
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
12-19-2002 12:01 PM
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.
12-19-2002 12:17 PM
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
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: