Re: Question on OSPF "default-information originate route-map"

From: Adel Karim (adelkarim@gmail.com)
Date: Mon Mar 17 2008 - 11:10:24 ART


Well the "default-information originate" command will inject the default
route if the condition is satisfied. Since the condition is satisfied (you
have a route to 50.0.0.0/16) then the route will be generated.

HTH
Adel Karim Mansour

On Mon, Mar 17, 2008 at 4:06 PM, YourPal <dearprudence28@gmail.com> wrote:

> Hi Adel Karim,
>
> You mean, check the other OSPF routers? Yes, the other routers received
> the default route generated by R1.
>
> The thing I don't understand is, given my config and as per my
> understanding, R1 should not source a default route because it does not have
> a default route in its routing table eventho the route-map condition is
> satisfied (i.e. 50.1.0.0/16 exists).
>
> Unless we use the "always" keyword which causes the software to generate a
> default route into OSPF regardless of the presence of a default route as
> long as the route-map condition is satisfied.
>
> I may have understood the whole concept wrongly. Please enlighten further.
>
>
> Thank you.
>
> BR,
> Emil
>
>
> On 3/17/08, Adel Karim <adelkarim@gmail.com> wrote:
> >
> > Hi Emil,
> >
> > You should look for the default route in the routing table of the router
> > receiving the updates not the router originating the default route.
> >
> > HTH
> > Adel Karim Mansour
> >
> >
> > On Mon, Mar 17, 2008 at 3:08 PM, YourPal <dearprudence28@gmail.com>
> > wrote:
> >
> > > Hi Group,
> > >
> > > Below is the link to the OSPF "default-information originate" command:
> > >
> > >
> > > http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_c1g.html#wp1038457
> > >
> > > My config is as follows:
> > >
> > > R1:
> > > !
> > > router ospf 1
> > > default-information originate route-map OSPF_COND_DEFAULT
> > > !
> > > route-map OSPF_COND_DEFAULT permit 10
> > > match ip address prefix-list VLAN501
> > > !
> > > ip prefix-list VLAN501 seq 5 permit 50.1.0.0/16
> > > !
> > >
> > > My understanding from DocCD is, without the "always" keyword the
> > > default
> > > network must reside in the routing table, and you must satisfy the
> > > route-map
> > > before the software generates a default route into the OSPF routing
> > > domain.
> > >
> > > In my config, I don't use the "always" keyword and I include a
> > > route-map
> > > which "tracks" int Lo501. The router doesn't have an existing default
> > > route.
> > > Contrary to my understanding, it generates a default route into OSPF.
> > >
> > > Results below:
> > >
> > > R1#sh ip ro 50.1.0.0
> > > Routing entry for 50.1.0.0/16
> > > Known via "connected", distance 0, metric 0 (connected, via
> > > interface)
> > > Redistributing via ospf 1
> > > Advertised by bgp 1
> > > Routing Descriptor Blocks:
> > > * directly connected, via Loopback501
> > > Route metric is 0, traffic share count is 1
> > >
> > > R1#sh ip ro 0.0.0.0
> > > % Network not in table
> > >
> > > R1#sh ip os da
> > > OSPF Router with ID (201.1.1.1) (Process ID 1)
> > >
> > > Type-5 AS External Link States
> > >
> > > Link ID ADV Router Age Seq# Checksum Tag
> > > 0.0.0.0 201.1.1.1 1021 0x80000001 0x000ED7 1
> > >
> > >
> > > I believe I understand the concept wrongly. Anyone kindly share your
> > > view?
> > >
> > >
> > > Thank you.
> > >
> > > BR,
> > > Emil
> > >
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> >
> >
> >
> > --
> > Regards
> > Adel Karim Mansour
> > CCIE# 20147 R&S
>
>
>

-- 
Regards
Adel Karim Mansour
CCIE# 20147 R&S


This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART