RIP + Default Route

Oct 21, 2005 3 Replies

It's been a while since I've done any router config's so if my question is stupid, I apologize, but I do need some advice. I am configuring a Cat 3550 for L3 routing. I have created my VLAN's and want to use RIP since the other L3 switch I'm connecting to will only do RIP or OSPF. I have 3 Cat



3550's and 1 ProCurve 3400 that will be managing my WAN. I have a 2651XM that connects my HP 3400 from the WAN to my single gateway to the web. I know RIP v2 won't propogate default routes (ie; 0.0.0.0 0.0.0.0 10.40.10.2) so how can i configure my routers to recognize the single exit point from my WAN to the web?? Thanks in advance!!

joey


use OSPF to propagate the default route.

snipped-for-privacy@sdf.lonestar.org SDF Public Access UNIX System -

formatting link

"Joey Kinney" wrote in comp.dcom.sys.cisco:

Originating and propagating a default route works well here:

router rip version 2 timers basic 3 10 0 10 passive-interface default network x.0.0.0 neighbor x.y.w.z neighbor z.y.v.w default-information originate no auto-summary

the key here is the "default-information originate".

There are a number of ways to have RIP advertise a default route.

see

formatting link

RIP advertises a route to 0.0.0.0 if a gateway of last resort is selected using the ip default-network command. This network specified in the ip default-network command need not be explicitly advertised under RIP

In earlier versions of RIP, the default route created using the ip route 0.0.0.0 0.0.0.0 was automatically advertised by RIP routers. In Cisco IOS Software Release 12.0T and later, RIP does not advertise the default route if the route is not learned via RIP. It may be necessary to redistribute the route into RIP.

=============================================================================================

router rip redistribute static network 192.168.1.0

ip route 0.0.0.0 0.0.0.0 Null0

*Mar 1 00:06:31.681: RIP: build update entries *Mar 1 00:06:31.681: subnet 0.0.0.0 metric 1 *Mar 1 00:06:59.547: RIP: sending v1 update to 255.255.255.255 via FastEthernet1/0 (192.168.1.1)

=================================================================================================

router rip network 192.168.1.0

ip default-network 192.168.2.0

MERV1#debug ip rip RIP protocol debugging is on MERV1#

*Mar 1 00:15:45.717: RIP: sending v1 update to 255.255.255.255 via FastEthernet 1/0 (192.168.1.1) *Mar 1 00:15:45.717: RIP: build update entries *Mar 1 00:15:45.717: subnet 0.0.0.0 metric 1

================================================================================================

router rip network 192.168.1.0 default-information originate

*Mar 1 00:18:06.220: RIP: sending v1 update to 255.255.255.255 via FastEthernet 1/0 (192.168.1.1) *Mar 1 00:18:06.220: RIP: build update entries *Mar 1 00:18:06.220: subnet 0.0.0.0 metric 1

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required