How to configure RIP on a Cisco router

Hello Florian

Yes you are correct that if the command network 192.168.0.0 was configured, it would only advertise the 192.168.0.0/24 subnet and not all the 192.168.0.0/16 subnet. Although RIP v2 is classless, the configuration commands are classfull. Now if the above were network 172.16.0.0 subnet, then the command would indeed work just like Rene has described, because the command would refer to a class B or /16 subnet which would include any interfaces with addresses between 172.16.0.0 and 172.16.255.255. However, RIPv2 would advertise the networks using the subnet mask that has been configured on the interfaces themselves. This is why RIPv2 is a classless protocol. I will let @ReneMolenaar know about this.

Thanks and I hope this has been helpful!

Laz

3 Likes