NOTE
This topic is not included in the latest version of the CCNA exam (200-301). If you are studying for the exam feel free to skip this article.
This topic is not included in the latest version of the CCNA exam (200-301). If you are studying for the exam feel free to skip this article.
Consider the following example network with RIP turned on:
The RIP configuration on R2 looks like this:
router rip version 2 network 10.0.0.0 network 192.168.0.0
As we’ve already mentioned, the network command does two things:
- advertises the defined network in RIP.
- activates RIP on the interfaces whose addresses fall within the specified classful networks.
So in the example network above, RIP will also be activated on the interface connected to the workstation on the right. This means that the workstation will also receive RIP updates, which is pointless. To prevent this from happening, the passive interface command is used:
R2(config)#router rip R2(config-router)#passive-interface Gi0/1
Now, the RIP process will no longer send RIP updates out the Gi0/1 interface. However, all received RIP updates will be processed and the subnet 10.0.0.0/24 will still be advertised.