IPv6 Routing Protocols – Part 4 (RIPng) - www.ipcisco.com : www.ipcisco.com
Content Protection by DMCA.com

RIPng and RIPng Configuration

On Cisco IOS


RIP for IPv6 : RIPng (RIP Next Generation)

RIPng (RIP Next Generation)is the IPv6 available next level protocol of RIPv2. In modern networks, generally RIP is not used and also RIPng. But as a basic protocol, generally RIP is discussed first. Here, we will start the IPv6 Routing Protocols with the discussion of RIPng too.

RIPng is almost the same of RIPv2. But there are some differences because of the supported IP version (IPv6). Let’s chek this differences one by one:

• RIPng is for IPv6 only. It does not support IPv4
• The metric used in RIPng is also like RIPv2. This metric is still “hop count”.
• The administrative distance value is like RIPv2. Administrative Distance is still 120.
• RIPng uses UDP port 521. It is the same port that RIPv2 is also use.
• In RIPng, the update timer is 30 seconds and the hold time is 180 seconds.
• In RIPv2, an IPv4 address , 224.0.0.9 is used as a Multicast address. This address is an IPv6 address in RIPng. This is FF02:: .

RIPng Configuration On Cisco IOS

The configuration of RIPng is a little different from its predecessor, RIPv2. First of all, RIPng is IPv6 avare routing protocol and before RIPng configuration, IPv6 must be configured in your system.

In this article, we will configure RIPng according to the below topology.

RIP IPv6 RIPng topology

Here, for RIPng configuration there are two steps. These steps are:

1) Enabling CEF, IPv6 and RIPng globally,
2) Enabling RIPng for the specific interface.

Enabling CEF, IPv6 and RIPnG on Routers

Firstly we will enable CEF with “ip cef” command and again we will enable IPv6 routing with “ipv6 unicast-routing” command. After this we need to create RIPng with a name by “ipv6 router rip ripname” command.

Router1# configure terminal
Router1(config)# ip cef
Router1(config)# ipv6 unicast-routing
Router1(config)# ipv6 router rip CompanyNetworkRIP
Router2# configure terminal
Router2(config)# ip cef
Router2(config)# ipv6 unicast-routing
Router2(config)# ipv6 router rip CompanyNetworkRIP
Router3# configure terminal
Router3(config)# ip cef
Router3(config)# ipv6 unicast-routing
Router3(config)# ipv6 router rip CompanyNetworkRIP

Enabling Interfaces for RIPnG on Routers

After these, the second step is enabling the interfaces for RIPng. In RIPv2, networks are become RIP available via network command. But in RIPng, the configuretion is done via interfaces not networks.

Router 1 RIPng Configuration

Router1(config)# interface Loopback0
Router1(config-if)# no ip address
Router1(config-if)# ipv6 address 1111:A:A:A::1/128
Router1(config-if)# ipv6 rip CompanyNetworkRIP enable
Router1(config-if)# exit
Router1(config)# interface FastEthernet0/0
Router1(config-if)# no ip address
Router1(config-if)# duplex auto
Router1(config-if)# speed auto
Router1(config-if)# ipv6 address 1111:1:1:1::1/64
Router1(config-if)#  ipv6 rip CompanyNetworkRIP enable
Router1(config)# interface FastEthernet0/1
Router1(config-if)# no ip address
Router1(config-if)# duplex auto
Router1(config-if)# speed auto
Router1(config-if)# ipv6 address 1111:2:2:2::1/64
Router1(config-if)#  ipv6 rip CompanyNetworkRIP enable

Router 2 RIPng Configuration

Router2(config)# interface Loopback0
Router2(config-if)# no ip address
Router2(config-if)# ipv6 address 2222:B:B:B::1/128
Router2(config-if)# ipv6 rip CompanyNetworkRIP enable
Router2(config-if)# exit
Router2(config)# interface FastEthernet0/0
Router2(config-if)# no ip address
Router2(config-if)# duplex auto
Router2(config-if)# speed auto
Router2(config-if)# ipv6 address 1111:1:1:1::2/64
Router2(config-if)#  ipv6 rip CompanyNetworkRIP enable
Router2(config)# interface FastEthernet0/1
Router2(config-if)# no ip address
Router2(config-if)# duplex auto
Router2(config-if)# speed auto
Router2(config-if)# ipv6 address 1111:3:3:3::1/64
Router2(config-if)#  ipv6 rip CompanyNetworkRIP enable

Router 3 RIPng Configuration

Router3(config)# interface Loopback0
Router3(config-if)# no ip address
Router3(config-if)# ipv6 address 2222:C:C:C::1/128
Router3(config-if)# ipv6 rip CompanyNetworkRIP enable
Router3(config-if)# exit
Router3(config)# interface FastEthernet0/0
Router3(config-if)# no ip address
Router3(config-if)# duplex auto
Router3(config-if)# speed auto
Router3(config-if)# ipv6 address 1111:1:1:1::2/64
Router3(config-if)#  ipv6 rip CompanyNetworkRIP enable
Router3(config)# interface FastEthernet0/0
Router3(config-if)# no ip address
Router3(config-if)# duplex auto
Router3(config-if)# speed auto
Router3(config-if)# ipv6 address 1111:3:3:3::2/64
Router3(config-if)#  ipv6 rip CompanyNetworkRIP enable

Verifying The RIPng Configuration

You can use the below commands for RIPng verification. Each of these commands are very important and beneficial during RIPng configuration and RIPng troubleshooting after a problem.

Router1# show ipv6 protocols
Router1# show ipv6 interface
Router1# show ipv6 route
Router1# show ipv6 route rip
Router1# show ipv6 rip
Router1# show ipv6 rip CompanyNetworkRIP database
Router1# show ipv6 rip CompanyNetworkRIP next-hops
Router1# debug ipv6 rip

You can also use these commands on Router 2 and Router 3.

And we can ping the network between Router 2 and Router 3. We have no direct access there, we need to learn this network via RIPng. To test this ping the interfaces between Router 2 and Router 3.

Router1# ping 2222:3:3:3::1
Router1# ping 2222:3:3:3::2

IPv6 Routing Protocols…

IPv6 Routing Protocols – Part 1
IPv6 Routing Protocols – Part 2 (OSPFv3)
IPv6 Routing Protocols – Part 4 (RIPng)

You can find the other IPv6 articles below…

IPv6

IPv6 – Part 1 (IPv6 and IPv6 Addresses)
IPv6 – Part 2 (What does IPv6 bring?)
IPv6 – Part 3 (Address Types in IPv6)
IPv6 – Part 4 (Subnetting IPv6)

IPv6 Static Route Configuration Examples…

IPv6 Static Route Configuration on Cisco
IPv6 Static Route Configuration on Juniper

IPv4 and IPv6 Headers…

IPv4 and IPv6 Headers

Youn can join OUR Facebook Group with the below links!!!




About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

Leave a Reply


Copy Protected by Chetan's WP-Copyprotect.