RE: Issue with RIP & passive interface

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Fri May 27 2005 - 15:11:05 GMT-3


The passive-interface command does not stop the advertisement of the
network itself. The passive-interface command suppresses the sending of
updates out the interface.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
fiprrp_r/ind_r/1rfindp1.htm#wp1019734

If you do not want to advertise a network, use a distribute-list and not
the passive-interface command.

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)

bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
thomas.rader@freesurf.ch
Sent: Friday, May 27, 2005 10:55 AM
To: ccielab@groupstudy.com
Subject: RE: Issue with RIP & passive interface

Hi Kian,

Thanks, but I'm not sure I understand.

Are you saying that just because there is still a route to the
172.31.0.0 network, RIP will still send the 172.31.10.0/24 update to R8,
EVEN if I've told it not to using passive interface on R7's Ethernet ?

Somehow doesn't make sense.

Thanks, Thomas

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Kian Wah Lai
Sent: Friday, May 27, 2005 7:38 PM
To: thomas.rader@freesurf.ch; ccielab@groupstudy.com
Subject: RE: Issue with RIP & passive interface

Hi,

Per CCO,
To disable sending routing updates on an interface, use the
passive-interface command in router configuration mode.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft
/122
tcr/122tip2r/ind_r/p2ftind1.htm#wp1019734

In your case, you have enabled RIP on R7 FA0/0 with the network command.
  Routing for Networks:
    172.31.0.0

Thus, you have a route to it. In order to remove it, use an outbound
distribute list on your R7's RIP process, filtering the 172.31.10.0/24
network.

Regards,
Kian Wah
http://www.aces-star.com
Your Asia Pacific Rack Rental Source
Ace the CCIE Lab with it!

-----Original Message-----
From: thomas.rader@freesurf.ch [mailto:thomas.rader@freesurf.ch]
Sent: Saturday, May 28, 2005 1:24 AM
To: ccielab@groupstudy.com
Subject: Issue with RIP & passive interface

Hello group,

I'm having an issue with RIP and passive interfaces.

I hope someone can explain to me why this is not working.

I have two routers, R7 & R8 (connected via a serial crossover cable)
talking
RIPv2 to each other.
I don't want to advertise (via RIP) networks learned from R7's
FastEthernet 0/0, so under R7's RIP process, I add a passive statement
for this interface.

However, on R8 I'm still learning the 172.31.10.0/24 network, and I
can't understand why ?

Shouldn't the passive interface statement on R7, stop this route from
being advertised to R8 ?

Here's the relevant config bits:

R7:
interface FastEthernet0/0
 ip address 172.31.10.2 255.255.255.0
!
router rip
 version 2
 passive-interface FastEthernet0/0
 network 172.31.0.0
 no auto-summary

R8:
router rip
 version 2
 network 172.31.0.0
 network 210.8.8.0
 no auto-summary

Why am I still learning 172.31.10.0 /24 on R8 ?

R1R8#show ip route
Codes: C - connected, S - static, 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
       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

     172.31.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.31.7.0/28 is directly connected, Serial0/0
R 172.31.10.0/24 [120/1] via 172.31.7.1, 00:00:11, Serial0/0
C 172.31.8.0/24 is directly connected, FastEthernet0/0
     210.8.8.0/32 is subnetted, 1 subnets
C 210.8.8.8 is directly connected, Loopback0
R1R8#

This shows that I am not running RIP on the Ethernet interface any
longer
(passive)

R1R7#show ip protocols
Routing Protocol is "ospf 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 210.7.7.7
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    172.31.10.0 0.0.0.255 area 9
    210.7.7.7 0.0.0.0 area 9
  Routing Information Sources:
    Gateway Distance Last Update
    210.6.6.6 110 01:10:57
    210.7.7.7 110 01:10:57
    210.5.5.5 110 01:10:57
  Distance: (default is 110)

Routing Protocol is "rip"
  Sending updates every 30 seconds, next due in 12 seconds
  Invalid after 180 seconds, hold down 180, flushed after 240
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: rip
  Default version control: send version 2, receive version 2
    Interface Send Recv Triggered RIP Key-chain
    Serial0/0 2 2
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    172.31.0.0
  Passive Interface(s):
    FastEthernet0/0
  Routing Information Sources:
    Gateway Distance Last Update
    172.31.7.2 120 00:00:11
  Distance: (default is 120)

R1R7#

Any help would be appreciated.

Thanks, Thomas



This archive was generated by hypermail 2.1.4 : Fri Jun 03 2005 - 10:12:03 GMT-3