RE: Default route question

From: Anand Singh \(anandksi\) (anandksi@cisco.com)
Date: Tue Aug 02 2005 - 01:16:02 GMT-3


Hi Bobby,

My confusion was:

ip route 0.0.0.0 0.0.0.0 10.1.1.2
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1

leads to two route in the routing table:

S* 0.0.0.0/0 is directly connected, FastEthernet3/2
                      [1/0] via 10.4.36.1

I saw connected and interpreted as "C" route but actually it is static
"S" route :-) I am clear now.

Thanks
-Anand

________________________________

        From: Bobby Acker [mailto:aggiebob98@yahoo.com]
        Sent: Monday, August 01, 2005 8:37 PM
        To: Anand Singh (anandksi); ccielab@groupstudy.com
        Subject: Re: Default route question

        More specific routes will always prevail regardless of admin
distance.

        Example..If you are trying to get to 10.0.20.5:

        10.0.20.0 via RIP will be preferred over 10.0.0.0 learned via
EIGRP since it is more specific.
        The RIP entry will be installed in your table.

        "Anand Singh (anandksi)" <anandksi@cisco.com> wrote:

                Hi All,

                The connected route has admin distance of 0 and static
have admin
                distance of 1. As far as the default route 0.0.0.0 is
concerned below
                both the routes are installed and not just the lower
admin distance.
                Comments please ?

                Thanks
                -Anand

                sh ip route
                Codes: C - connected, S - static, R - RIP, M - mobile, B
- BGP
                D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF
inter area
                N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
                E1 - OSPF external type 1, E2 - OSPF external type 2, E
- EGP
                i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS
                level-2
                ia - IS-IS inter area, * - candidate default, U -
per-user static
                route
                o - ODR, P - periodic downloaded static route

                Gateway of last resort is 0.0.0.0 to network 0.0.0.0

                20.0.0.0/24 is subnetted, 2 subnets
                S 20.10.20.0 [1/0] via 192.168.18.2
                S 20.10.10.0 [1/0] via 192.10.0.1
                C 192.10.10.0/24 is directly connected, Loopback0
                C 192.10.20.0/24 is directly connected, Loopback1
                10.0.0.0/24 is subnetted, 1 subnets
                C 10.4.36.0 is directly connected, FastEthernet3/1
                C 192.10.0.0/24 is directly connected, FastEthernet3/2
                164.10.0.0/24 is subnetted, 1 subnets
                C 164.10.10.0 is directly connected, Serial4/0/3
                C 192.168.18.0/24 is directly connected, Serial4/0/0
                S* 0.0.0.0/0 is directly connected, FastEthernet3/2
                [1/0] via 10.4.36.1

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:01:18 GMT-3