How to Configure RIP Passive Interface

Share This

By default, Routing Information Protocol (RIP) sends its routing table updates on all interfaces on which Routing Information Protocol (RIP) is enabled after every 30 seconds. However, RIP updates only required to be sent out interfaces connecting to other RIP enabled routers. This required to stop sending an update on interfaces where not needed. The passive-interface can stop sending update where not needed. Sending out un-needed updates on all interfaces affect the network in the following ways:

  • Security Risk– Advertising routing table updates on the form of broadcasting is a security risk. Anybody can intercept the routing table updates using packet sniffing tools and software. So, the attacker can use routing table updates to corrupting the routing table with false metrics and route the traffic to the wrong path.
  • Wasted Resources–All devices on network received the routing table update and they process the update which wasted the resources of the network devices.
  • Wasted Bandwidth– An un-necessary update is broadcast to each device on the network which consumes the bandwidth of the link casing bandwidth waste.

To overcome all above mention problems we can use the passive interface command. The passive-interface prevents the transmission of routing updates through a router specific interface. The command stops broadcasting routing table updates to the specified interface where the routing table update not needed.

Configurations of Passive-interfaces and verify the interface

Refer to the reference topology; there is no need for Router0 to forward RIP updates to the LAN interface. But, the Router0 is sending RIP updates to all computers on the LAN. We can verify this by enabling a debug on Router0 using the <debug ip rip> command in privileged exec mode. We can also verify the interface passive configuration using the show ip protocol command.

RIP Passive Interface Configuration

So, we need to configure the interface fast Ethernet 0/0 connected to LAN as a passive interface. The process to configure the passive-interface is following.

  • Router0>enable
  • Router0#config terminal
  • Router0(config)#router rip
  • Router0(config-router)#passive-interface FastEthernet 0/1

We can also configure the passive-interface for all dynamic protocol. If we want to cancel the passive-interface configuration from any interface we can use no passive-interface <interface-Id> command. We can also use the passive-interface default command to configure all interfaces as passive by default.

(Visited 23 times, 23 visits today)
Share This