Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RIP 2

Status
Not open for further replies.

jesseeu

Technical User
Jun 6, 2002
47
US
Please forgive me for what seems like such a basic question, but I have looked through several help sites and reread, just to be sure, how RIP works. How do you set RIP to only perform RIP on specified networks? I have networks 10.1.0.0, 10.2.0.0, and 10.100.0.0. I need to stop RIP from seeing and providing routes through the 10.100.0.0 network. My rip network was set to 10.0.0.0, but when I tried changing it to 10.1.0.0 and 10.2.0.0, it would not take the changes.
The 10.100.0.0 network was set up strictly for video traffic and I've found that RIP was using it for regular data. I've gotten around this by entering static routes for the data so they wouldn't use the RIP routes. But, I'd like to have RIP working on the 10.2.0.0 and 10.1.0.0 networks.

Here's my RIP settings:

router rip
version 2
network 10.0.0.0
no auto-summary

Appreciate any help.
 
Is there an "ip classless" statment in your config? IIRC, this needs to be there to do VLSM with RIPv2.
 
Yes, there is an "ip classless" statement followed by my static ip routes.
 
The presence of "ip classless" will have no bearing on the operation of a routing protocol. It *will* change the way route lookups occur, but it has no bearing on whether or not RIP v2 does VLSM.

Let's say you have three interfaces:

Serial0: 10.1.0.0/16
Serial1: 10.2.0.0/16
Serial2: 10.100.0.0/16

Add the following to your config:

access-list 1 deny 10.100.0.0 0.0.255.255
access-list 1 permit any

router rip
version 2
network 10.0.0.0
distribute-list 1 out
passive-interface Serial2

This will stop RIP from running on Serial2 as well as filter out 10.100.0.0 from the RIP advertisements on Serial0 and Serial1.

HTH,
John
 
Thanks for correcting. I never claimed I was an expert with this stuff!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top