Configuring RIP Version 2
Problem
You want to use the more flexible features of RIP Version 2.
Solution
By default, Cisco routers will listen for both RIP Version 1 and 2 packets, but they will only send Version 1. If you want to configure the router to send and receive only Version 2 RIP packets, use the version 2 configuration command:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#router ripRouter2(config-router)#versionRouter2(config-router)#2networkRouter2(config-router)#172.25.0.0networkRouter2(config-router)#192.168.30.0endRouter2#
You can also enable RIP Version 2 by sending and receiving separately for individual interfaces:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interfaceRouter1(config-subif)#Serial0/0.2ip rip send version 2Router1(config-subif)#ip rip receive version 2Router1(config-subif)#endRouter1#
Discussion
By default, the router listens for Version 1 and 2 packets but it only sends Version 1. You can run both versions simultaneously on the same interface by simply specifying both versions as follows:
Router1(config)#interfaceRouter1(config-subif)#Serial0/0.2ip rip send version 1 2
However, the router will then have to transmit all updates by using both versions, which can cause an unnecessary burden both for the router and the network. In general, RIP Version 2 is preferred, particularly because of the support for modern IP features, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access