Re: IP default-network command in OSPF - useless?

From: Shanky (shankyz@gmail.com)
Date: Thu Oct 20 2005 - 02:20:21 GMT-3


default-network commands works with classful network so instead of
128.10.1.0 <http://128.10.1.0> , try with 128.10.0.0 <http://128.10.0.0> ,
it should work fine.
 Correct me if I am wrong...
 Shanky

 On 10/19/05, Ivan Kuchin <ivan@iip.net> wrote:
>
> default-network does not affect on router it's configured. Router
> advertise
> 0.0.0.0 <http://0.0.0.0> to other router at this routing domain. This is
> true for RIP.
>
> default originate will advertise 0.0.0.0 <http://0.0.0.0> only if
0.0.0.0<http://0.0.0.0>exist in routing
> table for this router. "Always" force originating default route.
>
> On Wednesday 19 October 2005 18:29, cciein2006@yahoo.com wrote:
> > Hello group,
> >
> > Does the IP default-network command work for OSPF? When I configure it
> on
> > my router the router creates a static summary route for the network
> > specified in the default-network command but does not inject a
0.0.0.0<http://0.0.0.0>in
> > my routing table (See example below). What good is that?
> >
> > Also when I use the IP default-network command in conjunction with the
> > default information originate command it will not advertise a default
> route
> > without the "always" keyword.
> >
> > My point is that if you have to use the "always" keyword, you don't even
> > need the default-network command because a default route will be
> advertised
> > regardless of whether a default route is in your routing table.
> >
> > Any thoughts?
> >
> >
> > dental_ho#conf t
> > Enter configuration commands, one per line. End with CNTL/Z.
> > dental_ho(config)#
> > dental_ho(config)#ip default-network 128.10.1.0 <http://128.10.1.0>
> > dental_ho(config)#
> > 1d02h: %SYS-5-CONFIG_I: Configured from console by console
> > dental_ho#show ip route
> > Codes: C - connected, S - static, I - IGRP, 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 not set <--- NO DEFAULT SET!!!
> >
> > 172.16.0.0/16 <http://172.16.0.0/16> is variably subnetted, 4 subnets, 3
> masks
> > O IA 172.16.10.0/28 <http://172.16.10.0/28> [110/74] via
172.16.1.1<http://172.16.1.1>,
> 1d00h, Serial2/1.1
> > [110/74] via 172.16.1.6 <http://172.16.1.6>, 1d00h, Serial2/1.1
> > C 172.16.2.4/30 <http://172.16.2.4/30> is directly connected,
> Serial2/1.2
> > C 172.16.1.0/24 <http://172.16.1.0/24> is directly connected,
> Serial2/1.1
> > O 172.16.3.0/24 <http://172.16.3.0/24> [110/65] via
172.16.2.6<http://172.16.2.6>,
> 1d00h, Serial2/1.2
> > 128.10.0.0/16 <http://128.10.0.0/16> is variably subnetted, 2 subnets, 2
> masks
> > S 128.10.0.0/16 <http://128.10.0.0/16> [1/0] via
128.10.1.0<http://128.10.1.0><---WHAT GOOD IS THIS?!?
> > C 128.10.1.0/24 <http://128.10.1.0/24> is directly connected,
> Ethernet0/0
> > dental_ho#
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> --
> iWAN kU^IN (mail to: ivan@iip.net)
> NOC iip.net <http://iip.net>
> 137-31-04
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:51 GMT-3