From: Marius Venter (marius@aict.co.za)
Date: Mon Apr 10 2006 - 01:39:27 GMT-3
A thought
If you use 0.0.0.0 0.0.0.0 serial 1
The admin distance is 0
The route is seen as directly connected and not as a static route
This could have weird outcomes in some protocols like RIP.
See insert
Rack1R1(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0
Rack1R1#sh ip
*Mar 1 08:59:00.705: %SYS-5-CONFIG_I: Configured from console by console
Rack1R1#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
i - IS-IS, 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
187.1.0.0/24 is subnetted, 1 subnets
C 187.1.17.0 is directly connected, FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
C 150.1.1.0 is directly connected, Loopback0
S* 0.0.0.0/0 is directly connected, FastEthernet0/0
If you use 0.0.0.0 0.0.0.0 10.1.1.1 the admin distance is 1
This is just another static route
See insert
Rack1R1#conf t
Rack1R1(config)#ip route 0.0.0.0 0.0.0.0 187.1.17.7
Rack1R1#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
i - IS-IS, 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 187.1.17.7 to network 0.0.0.0
187.1.0.0/24 is subnetted, 1 subnets
C 187.1.17.0 is directly connected, FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
C 150.1.1.0 is directly connected, Loopback0
S* 0.0.0.0/0 [1/0] via 187.1.17.7
Rack1R1#
Hope this helps a bit
Marius Venter
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Radioactive Frog
Sent: Sunday, April 09, 2006 4:29 PM
To: ZeroFlash
Cc: xprtofnet; ccielab
Subject: Re: Difference between ip route 0.0.0.0....S0 Vs ip route 0.0.0.0
0.0.0.0 192.168.1.2
As ZeroFlash has explained the application is there any advantage of using
one or other ?
Frog!!
On 4/10/06, ZeroFlash <Fire_Ice@verizon.net> wrote:
>
> Also, take a look at the admin distances between using the interface vs.
> an
> address.
>
> Thanks
>
> ZeroFlash
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> xprtofnet
> Sent: Sunday, April 09, 2006 10:02 AM
> To: Radioactive Frog; ccielab
> Subject: Re: Difference between ip route 0.0.0.0....S0 Vs ip route 0.0.0.0
> 0.0.0.0 192.168.1.2
>
> with frame/atm use the next-hop addrs while with
> ethernet/broadcast media you can use the interface.
>
> if you use the interface with nbma media it will not
> know which dlci/vc to put the packet on thats why you
> should use the next-addrs
>
> m2c
>
> --- Radioactive Frog <pbhatkoti@gmail.com> wrote:
>
> > Hi Group,
> >
> > What is the difference between
> >
> > IP route 0.0.0.0 0.0.0.0 serial0/0 Vs. ip route
> > 0.0.0.0 0.0.0.0 192.168.1.2
> >
> >
> > Both does the same job. Just wondering if anybody
> > can quickly explain the
> > application or scenario for both commands.
> >
> > means Serial 0/0 Vs next hop id (192.168.1.2) ??
> >
> > Thanks
> >
> > FROG
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:56 GMT-3