How to configure RIPNG on Cisco IOS Router

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:

ipv6 ripng two routers

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:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 654 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

538 Sign Ups in the last 30 days

satisfaction-guaranteed
100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags:


Forum Replies

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

  2. Is it possible to work with summarized routes in the dynamic routing protocol, as well as in static routing?

  3. Hi, Rene,

    Just wondering what if I manually set different link-local address on the different interface in a router when setup RIPNG, is there any error message popup?

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

  5. how can I to activate RIPng on subinterfaces? or what is the best way ?

5 more replies! Ask a question or join the discussion by visiting our Community Forum