[c-nsp] BGP, RIP and default routes advice

Rodney Dunn rodunn at cisco.com
Thu Aug 5 09:14:56 EDT 2004


Yep...


hub_#sh run | begin router rip
router rip
 version 2
 network 1.0.0.0
 network 4.0.0.0
 default-information originate

hub_#sh ip ro
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, 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

     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial2/0.1
     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.1 is directly connected, Loopback0


downstream spoke:

spokeA_#sh ip ro
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, 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 1.1.1.1 to network 0.0.0.0

     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial3/0.1
R    4.0.0.0/8 [120/1] via 1.1.1.1, 00:00:10, Serial3/0.1
R*   0.0.0.0/0 [120/1] via 1.1.1.1, 00:00:10, Serial3/0.1


Rodney

On Thu, Aug 05, 2004 at 02:02:12PM +0100, Sam Stickland wrote:
> Is there an RIP equivalent of BGP's 'neighbor default-originate'?
> 
> ( 
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/iprrp_r/ip2_n1g.htm#wp1037042
> )
> 
> In fact, a quick google search has just shown me that there is :)
> 
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/np1_r/1rprt1/1rrip.htm#1017420
> 
> Looks like this ought to do the trick:
> 
> router rip
>   default-information originate
> 
> If it works like the bgp default-originate there's no need to have a 
> default route on the borders for this to work.
> 
> Sam
> 
> On Thu, 5 Aug 2004, Marco Matarazzo wrote:
> 
> > Hi all,
> >
> > I've a little question to ask about default routes and their redistribution
> > in RIP.
> >
> > Right now I've two border 7200s speaking eBGP with two ISPs, and iBGP
> > between them. The eBGP peers are full, without default. The internal router
> > now is an OpenBSD with zebra, taking participating in the iBGP peers. No
> > problems so far, zebra has the full routing tables, and knows how to route
> > packets in the world.
> > We're in the process of removing the OpenBSD router, and install some
> > 3550-48-SMIs as customer facing routers. They'll run RIP (it's SMI) with the
> > two borders, and redistribute the connected customer routes to them. Of
> > course those 3550s must also have a default route. And this is the problem.
> > I don't want to configure a couple of static ones, since it's all ethernet,
> > and the interfaces won't go down, and the backup default will never catch
> > in. Also I don't take default from the upstreams, so I must create one on
> > the borders. Connection to the upstreams is also ethernet, so no statics
> > here. From what I understand, I'll have to use the ip default-network
> > statement, but which network to use? Have you any suggestion?
> > Could I just take the network number of a couple large NAPs in the region,
> > hoping that they won't do a mantainance of the electrical panels in the same
> > hours of the same day? :)
> >
> > TIA!
> > ]\/[arco
> >
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list