How to Configure RIPng on Cisco Router

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 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.Configure RIPng on Cisco Router

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.

  1. Execute the following command to enable the IPv6 routing on a Cisco router.
    Router(config)#ipv6 unicast-routing
  2. 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>
  3. 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.

  1. 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

    Note: In the preceding command, we have used mark as anRIP process name.

  2. 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 
  3. 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 
  4. 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.

RIPng Configuration on Cisco Router

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

Verifying RIPng Routing

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.

Posted in Cisco, IPv6, Routing Tagged with: ,