Re: Originating a default route with RIP

From: Erick B. (erickbe@xxxxxxxxx)
Date: Fri Mar 02 2001 - 23:12:36 GMT-3


   
David,

My mistake. Too busy and responded to quickly. Doing
PIM-Sparse mode between 2 vendors all day.

If a GOLR is set OSPF will distribute a 0.0.0.0/0
route with the 'default-info originate' command.

GOLR = Gateway Of Last Resort

For RIP, you need 'ip default-network' pointing to a
valid directly connected network on the router. You
don't need 'default-info originate' under the RIP
process. With a GOLR set and no 'ip default-network'
placing 'default-info originate' under RIP has no
effect unlike OSPF.

Please correct me if I'm wrong. I thought I had this
figured out a few weeks ago :)

--- David FAHED <dfahed@outremer.com> wrote:
> Hi,
> Are you sure that you can use ip default-network
> with ospf?
>
>
> "Erick B." wrote:
>
> > Use ip default-network for IGRP/EIGRP. It also
> works
> > with RIP and OSPF. RIP and OSPF will announce a
> > 0.0.0.0/0 if using ip default-network and a
> matching
> > route exists in table. It has been discussed many
> > times in the past - check the archives.
> >
> > --- chunyuchen <chunyuchen@kimo.com.tw> wrote:
> > >
> > > Sorry,
> > > I thinks it is IOS version problem.
> > > My router IOS is c2500-js-l.112-9.P.
> > > I will check the other version.
> > > But,How do you configure the IGRP and Eigrp
> default
> > > route without define ip
> > > route 0.0.0.0
> > >
> > > Thanks
> > > Regards
> > > Jerry
> > >
> > > ----- Original Message -----
> > > From: <Lauren_Dygowski@Vanguard.com>
> > > To: "chunyuchen" <chunyuchen@kimo.com.tw>
> > > Cc: "CCIE Group Study" <ccielab@groupstudy.com>
> > > Sent: Friday, March 02, 2001 8:51 PM
> > > Subject: Re: Originating a default route with
> RIP
> > >
> > >
> > > >
> > > > It definitely works -- I have it running now
> and
> > > have used on practive
> > > labs.
> > > > What is your network configuration and what
> > > version of IOS are you using?
> > > All
> > > > of my lab routers are 12.0(7)T or higher.
> > > >
> > > > "chunyuchen" <chunyuchen@kimo.com.tw> on
> > > 03/02/2001 06:04:48 AM
> > > > Please respond to "chunyuchen"
> > > <chunyuchen@kimo.com.tw>
> > > >
> > > > To: "CCIE Group Study"
> <ccielab@groupstudy.com>
> > > > cc: (bcc: Lauren Dygowski/IT/VGI)
> > > > Subject: Re: Originating a default route with
> RIP
> > > >
> > > > Sorry,
> > > > I have tryed it.
> > > > The following solution can't work!
> > > >
> > > > ----- Original Message -----
> > > > From: <Lauren_Dygowski@Vanguard.com>
> > > > To: "crl" <cisco@crl.fdns.net>
> > > > Cc: "Groupstudy" <ccielab@groupstudy.com>
> > > > Sent: Friday, March 02, 2001 10:51 AM
> > > > Subject: Re: Originating a default route with
> RIP
> > > >
> > > >
> > > > >
> > > > > You may want to use default-information
> > > originate along with the
> > > route-map
> > > > > option to send the route out specific
> > > interfaces. This will allow
> > > precise
> > > > > control as to where the default is sent and
> it
> > > does not require a 0/0
> > > > route to
> > > > > be present on the router you are originating
> the
> > > default from. Here's
> > > an
> > > > > example that will send the RIP route 0/0 out
> > > interface serial0/3:
> > > > >
> > > > > router rip
> > > > > network 138.5.0.0
> > > > > default-information originate route-map
> > > rip_def_to_interfaces
> > > > >
> > > > > route-map rip_def_to_interfaces permit 10
> > > > > set interface Serial0/3
> > > > >
> > > > > The CCIE power session at Networkers made it
> > > very clear that no
> > > > static/default
> > > > > routes are allowed unless specifically
> stated
> > > otherwise. You will want
> > > to
> > > > know
> > > > > how to create a default with
> > > RIP,IGRP/EIGRP,OSPF, IS-IS, and BGP w/o any
> > > > > statics.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "crl" <cisco@crl.fdns.net> on 03/01/2001
> > > 06:21:55 PM
> > > > > Please respond to "crl" <cisco@crl.fdns.net>
> > > > >
> > > > > To: "Groupstudy" <ccielab@groupstudy.com>
> > > > > cc: (bcc: Lauren Dygowski/IT/VGI)
> > > > > Subject: Originating a default route with
> RIP
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The easy solution to this problem is to use
> a
> > > static route. Assume a
> > > > static
> > > > > route is not allowed.
> > > > >
> > > > >
> > > > > eigrp domain rip domain
> > > > > -------r2----r3----r4----
> > > > >
> > > > > - r3 is redistributing rip into eigrp 1
> > > > > - r3 is not redistributing eigrp into rip
> > > > > - since the rip domain can be likened to a
> stub
> > > network, I'd rather just
> > > > > originate a default route from r3.
> > > > > - r3 has a candidate default network from
> > > elsewhere in the eigrp domain,
> > > > > which it selects as its gateway of last
> resort.
> > > > >
> > > > > Docs indicate that simply adding the command
> > > "default-information
> > > > originate"
> > > > > to the RIP process on r3 will advertise a
> > > 0.0.0.0/0 route. The docs
> > > don't
> > > > > say that a 0.0.0.0/0 route must already be
> in
> > > the table, but it appears
> > > to
> > > > > be the case. If I add a static default route
> to
> > > r3, there's no problem.
> > > > >
> > > > > I guess my problem is that from what I
> > > understand in the lab static
> > > routes
> > > > > are not allowed. Is there any other way to
> get a
> > > default without using a
> > > > > static? I've saved previous threads on this
> > > topic, and everybody seems
> > > to
> > > > > think RIP will just blindly advertise
> 0.0.0.0/0
> > > if the def-inf orig
> > > > command
> > > > > is configured.
> > > > >
> > > > > Also, from the perspective of the lab, do
> static
> > > routes that point to
> > > > null0
> > > > > "count" in that you're not allowed to
> configure
> > > them unless otherwise
> > > > > stated? Currently this is a grey area. Will
> the
> > > lab provide the crystal
> > > > > clear answer to this question?
> > > > >
> > > > > Configs:
> > > > > ------------------
> > > > >
> > > > > r3 relevant configs and IP routing table:
> > > > >
> > > > > !
> > > > > router eigrp 1
> > > > > redistribute rip metric 1000 100 200 10
> 1500
> > > > > passive-interface default
> > > > > no passive-interface Serial0
> > > > > no passive-interface TokenRing0
> > > > > network 12.0.0.0
> > > > > no auto-summary
> > > > > !
> > > > > router rip
> > > > > redistribute eigrp 1
> > > > > passive-interface default
> > > > > no passive-interface Serial1
> > > > > network 12.0.0.0
> > > > > default-information originate
> > > > >
> > > > > Gateway of last resort is 12.12.3.2 to
> network
> > > 192.168.254.0
> > > > >
> > > > > 12.0.0.0/8 is variably subnetted, 10
> > > subnets, 4 masks
> > > > > C 12.12.1.0/24 is directly connected,
> > > Serial0
> > > > > D 12.12.2.0/30 [90/2185984] via
> 12.12.3.2,
> > > 01:00:45, TokenRing0
> > > > > C 12.12.3.0/24 is directly connected,
> > > TokenRing0
> > > > > D 12.12.4.0/28 [90/297728] via
> 12.12.3.2,
> > > 01:00:46, TokenRing0
> > > > > C 12.12.16.0/24 is directly connected,
> > > Serial1
> > > > > R 12.12.17.0/24 [120/1] via
> 12.12.16.2,
> > > 00:00:19, Serial1
> > > > > C 12.12.16.2/32 is directly connected,
> > > Serial1
> > > > > D 12.12.32.0/24 [90/2195456] via
> > > 12.12.1.1, 01:00:46, Serial0
> > > > > D 12.12.33.0/24 [90/41536000] via
> > > 12.12.1.1, 01:00:46, Serial0
> > > > > D 12.12.33.2/32 [90/41536000] via
> > > 12.12.1.1, 01:00:46, Serial0
> > > > > D*EX 192.168.254.0/24 [170/176128] via
> > > 12.12.3.2, 01:00:46, TokenRing0
> > > > >
> > > > > -------------------
> > > > >
> > > > > r4 IP routing table:
> > > > >
> > > > > Gateway of last resort is not set
> > > > >
> > > > > 12.0.0.0/8 is variably subnetted, 5
> > > subnets, 2 masks
> > > > > R 12.12.1.0/24 [120/1] via 12.12.16.1,
> > > 00:00:08, Serial0
> > > > > R 12.12.3.0/24 [120/1] via 12.12.16.1,
> > > 00:00:08, Serial0
> > > > > C 12.12.16.0/24 is directly connected,
> > > Serial0
> > > > > C 12.12.17.0/24 is directly connected,
> > > TokenRing0
> > > > > C 12.12.16.1/32 is directly connected,
> > > Serial0
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:18 GMT-3