Since now most of the vendors has started to implement the IPv6 addressing scheme, IPv6 routing protocols are required to provide the routing functionalities. There are many IPv6-capable routing protocols are developed, such as RIPng, EIGRPv6, and OSPFv3. RIPng (RIP for IPv6) is designed to provide routing functionalities for an IPv6-based network. It is the next generation RIP protocol that provides same features as provided by RIPv2 for IPv4. To configure RIPng on Cisco router, you have to understand the basics of RIPng routing protocol. In addition, you should also be familiar with the changes made with the RIPng routing protocol.
The key difference between RIP for IPv4 and RIP for IPv6 (RIPng) are:
- RIPng routers use link-local addresses to keep track of the next-hop addresses of their neighbor routers.
- RIPng uses FF02::9 (in RIPv4 126.96.36.199) as the destination address to exchange the routing information with their neighbor routers.
- To configure RIPng on Cisco routers, you need to enable the advertisement of a network in the interface configuration mode. In RIP for IPv4, it is done using the network command in the router configuration mode.
Configure RIPng on Cisco Router
To configure RIPng (RIP for IPv6), we will use the following topology.
Once you created and understood the preceding network topology, configure the appropriate IPv6 addresses on each router. Before configuring RIPng on Cisco routers, first, you need to understand the commands used to configure RIPng.
Understand RIPng Command Syntax
To complete the RIPng routing protocol configuration, you need to use the following commands.
- Execute the following command to enable the IPv6 routing on a Cisco router.
- After enabling the IPv6 routing, switch to the interface configuration mode for the interface that you want to include in the RIPng routing process.
Router(config)#interface <interface name/number>
- In the interface configuration mode, execute the following command to enable the RIPng routing protocol.
Router(config-if)#ipv6 rip <routing process name> enable
Steps to Configure RIPng (RIP for IPv6)
Once you are familiar with the commands used to configure RIPng, let’s have a look how to configure RIPng routing for the above-mentioned network topology.
- On Router1, execute the following commands to configure RIPng.
Router1(config)#ipv6 unicast-routing Router1(config)#interface fa0/0 Router1(config-if)#ipv6 rip mark enable Router1(config-if)#exit
Note: In the preceding command, we have used mark as anRIP process name.
- On Router2, execute the following commands to configure RIPng.
Router2(config)#ipv6 unicast-routing Router2(config)#interface fa0/0 Router2(config-if)#ipv6 rip mark enable Router2(config)#interface fa0/1 Router2(config-if)#ipv6 rip mark enable Router2(config)-if#exit
- On Router3, type the following commands to configure RIPng.
Router3(config)#ipv6 unicast-routing Router3(config)#interface fa0/1 Router3(config-if)#ipv6 rip mark enable Router3(config)-if#exit
- Once you have configured RIPng routing on each router, execute the show ipv6 route command to view the routing table. The following figure displays the RIPng configuration on Router3.
In the preceding figure, you can see that 2001:ABCD:123:1::/64 network has been added on Router3 through the RIPng routing protocol.
Verifying RIPng Configuration
To test and verify the RIPng configuration, execute the following commands on Router3.
Router3#ping 2002:abcd:123:1::1 Router3#ping 2001:abcd:123:1::1
In the above-given output, you can see that Router3 can reach the Router1 successfully. One more important RIPng command that you need to remember is “show ipv6 rip database”. This command is used to display RIP database on a Cisco router.
In this post, we have discussed how to configure RIPng on Cisco routers. If you have any query, please drop your query in the comment box.