RIPNG is the exact same protocol as RIP for IPv4 but it has been upgraded to support IPv6. In this lesson i’ll demonstrate to you how to configure it on Cisco routers. Here’s the topology that we’ll use:
Let’s use this topology to configure RIPNG. I’m going to create a loopback interface on each router to advertise in RIPNG. Note that I don’t have any global unicast IPv6 addresses on the FastEthernet interface because the RIPNG updates will be sent using the link-local addresses.
R1(config)#ipv6 unicast-routing
R1(config)#interface loopback 0
R1(config-if)#ipv6 address 2001::1/128
R2(config)#ipv6 unicast-routing
R2(config)#interface loopback 0
R2(config-if)#ipv6 address 2001::2/128
Don’t forget to enable IPv6 unicast routing otherwise no routing protocol will work for IPv6.
R1#show ipv6 interface brief
FastEthernet0/0 [up/up]
Loopback0 [up/up]
FE80::CE09:18FF:FE0E:0
2001::1
R2#show ipv6 interface brief
FastEthernet0/0 [up/up]
Loopback0 [up/up]
FE80::CE0A:18FF:FE0E:0
2001::2
After configuring the IPv6 addresses on the loopback interface you can see the global unicast and the link-local IPv6 addresses. There is no link-local address on the FastEthernet interfaces however.
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 enable
R2(config)#interface fastEthernet 0/0
R2(config-if)#ipv6 enable
R1#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::CE09:18FF:FE0E:0
Loopback0 [up/up]
FE80::CE09:18FF:FE0E:0
2001::1
R2#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::CE0A:18FF:FE0E:0
Loopback0 [up/up]
FE80::CE0A:18FF:FE0E:0
2001::2
Use the IPv6 enable command to generate a link-local address for the FastEthernet interfaces.
R1(config)#ipv6 router rip RIPNGTEST
R1(config-rtr)#exit
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 rip RIPNGTEST enable
R1(config-if)#exit
R1(config)#interface loopback 0
R1(config-if)#ipv6 rip RIPNGTEST enable
R2(config)#ipv6 router rip RIPNGTEST
R2(config-rtr)#exit
R2(config)#interface fastEthernet 0/0
R2(config-if)#ipv6 rip RIPNGTEST enable
R2(config-if)#exit
R2(config)#interface loopback 0
R2(config-if)#ipv6 rip RIPNGTEST enable
To enable RIPNG you first have to start the process with the IPV6 router rip command. You have to give it a tag name and I called mine “RIPNGTEST”.
It doesn’t matter what tag name you choose and it doesn’t have to be the same on both routers. Second step is to activate RIPNG on the interfaces you want by using the IPv6 rip enable command. That’s not too bad right? No stinky network commands! Just enable it on the interface and you are ready to go. The ipv6 rip enable command does two things:
Hi Casper,
These link-local addresses are only valid on the link and unroutable so that’s why it is no problem to have the same address on multiple interfaces.
Rene
Is it possible to work with summarized routes in the dynamic routing protocol, as well as in static routing?
Hello Hang.
If you manually set up different link-local addresses on the interfaces of a router, even if you have RIPNG set up, there shouldn’t be any error messages. This is especially the case with RIPNG because you don’t have any network commands to indicate the subnet on which RIP will be participating. You specifiy the interface on which RIP will be function and this allows you to change the IPv6 address (link local or otherwise) without any problems on your configuration).
I hope this has been helpful!
Laz
Hello Andrew
The link local address is an IPv6 address that is automatically assigned to all IPv6 interfaces. It is a fundamental part of how IPv6 functions. You can find out more about it at this lesson:
https://networklessons.com/ipv6/ipv6-address-types
The link-local address is assigned using various mechanisms, and those mechanisms depend on the vendor of the equipment or the operating system being used. Specifically, Cisco uses the EUI-64 method to determine the link-local address.
Now you bring up a very good point, because loopbacks don’t actually ha
... Continue reading in our forumHi Laz,
Thank you for the very informative response this is much appreciated! Also some nice facts regarding the IPV6 enable command
Thank you!
Andrew