1

The below is the RIP protocol's declaring the routing command:

Router(config)#router rip 
Router(config-router)#version 2
Router(config-router)#network 1.1.1.1
Router(config-router)#network 192.168.12.0
Router(config-router)#exit 

I want to know why the RIP protocol announcing the network, only wants the network IP address, but not the mask?

1
  • You should also use the no auto-summary command. – Ron Maupin Dec 11 '18 at 3:01
3

Because the protocol will check which interfaces belong to each subnet, and get the subnet mask from the interface configuration.

Check this documentation, it will help you understand the way it works

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.