06-04-2003 11:33 AM - edited 03-02-2019 07:53 AM
RIP doesn't allow to specifically put network statement unlike ospf and newer verison of EIGRP.
If for example r1's s0 is running rip, and s1 will be running ospf in the future. r1's s0 is connected to another r2.
so r1 config
int s0
ip address 170.1.100.0 255.255.255.0
int s1
ip address 170.1.200.0 255.255.255.0
router rip
network 170.1.0.0
now r8 will have a network entry of 170.1.100.0 which is not rip enable, but because of the class network statement r2 will quietly accept that route.
The passive interface in the topology wouln't work since the nature of the passive in only one way, recieve, but don't advertise.
The only solution I think would be to use distribute list on r2 not to accept the 171.1.100.0 route.
What should be the approach in ccie lab if no instruction are given. I would still filter it regardless of instructions.
06-04-2003 11:51 AM
What is r8 ?
06-04-2003 12:39 PM
I meant to say r2, not r8. It was a typo error
06-04-2003 12:52 PM
Is r2 also enabled with RIP ?
06-04-2003 12:57 PM
Yes, r2 is running rip with r1.
06-04-2003 01:29 PM
passive interface on s0 of r1 would prevent r1 from sending any updates to r2, even though r1 would continue to listen to updates on s0.
Is that fine according to the constraints in the lab scenario ?
06-04-2003 01:33 PM
That is what I did first, but network 170.1.100.0 still showed up on my r2's routing table.
06-04-2003 01:36 PM
Isnt 170.1.100.0 the network address of link between r1 and r2 (s0 of r1 according to your configuration has this network address). This network would not appear as Rip(R) route but it will appear as connected route. Or are you talking about 170.1.200.0 network appearing on routing table of r2 as RIP route ???
06-04-2003 01:42 PM
Sorry for the error. It is network 170.1.200.0 showing up on r2. Interface s1 on r1 ip address 170.1.200.1 will be running ospf in the future, so right now is not running any routing protocol, but since I put the statement such as
r1
router rip
network 170.1.0.0
I will see the route 170.1.200.0 no r2 which I don't want to and the only solution I can think of is to filter it out.
Thanks
06-04-2003 01:53 PM
If you are not allowed to use a distribute list, then I can think of an only alternate way. It works.
Use an offset list on r2 to offset the metric of 170.1.200.0 by 15 hops. which makes the total hops of the network to 16, which means the network is inaccessible. This will make r2 to reject the route and thus prevent the network from being installed on the routing table.
r2(config-router)# offset-list 1 in 15
r2(config)#access-list 1 permit host 170.1.200.0
HTH
06-04-2003 02:12 PM
Sounds like a good solution because in a lab if I am specifically told to run rip on specific interface, then I don't have any choice, but to use either access-list or your method.
Thanks again
06-04-2003 02:13 PM
You r welcome!
06-05-2003 04:38 AM
You might also run RIP on r1 without the network statement for net 170.1.0.0.
r2 will still learn the connected route but since r1 does not advertise for 170.1.0.0, r2 will not learn this route.
Regards,
Leo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide