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!

  • 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 800 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)
541 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. awesome lesson. just a question rene, when we activate the RIP under the interface it does 2 things

    Activate the prefix on the interface in RIPNG.
    Send RIPNG updates out of this interface.

    do we have a passive interface on this? is this the same as RIP or any routing protocol in IPv4 that if the interface is going to your LAN network, it is much better not to Send Routing updates to that interface. We suppressed it by using Passive Interface so that we will only advertise the network on that interface. This is for security purposes right?

    Thank you!

  2. Hi John,

    Good question, the behavior of RIPng is the same as RIP for IPv4. The funny part though is that there is no “passive interface” command for RIPng.

    To simulate the same behavior of the passive interface command you can use one of the following two methods:

    1. Don’t enable RIPng on the interface that should be made passive but use “redistribute connect” instead.

    2. Use a prefix-list to filter RIPng advertisements on the interface that should be passive.

    It’s a bit lame and I don’t know why passive interface isn’t supported, but this gets you the same result :slight_smile:

    Rene

  3. Hi Rene

    Just a question, more of a general IPV6 question, why does a loopback interface generate the same link-local address as the physical interface. Yes I understand that the loopback don’t have it’s own mac address and will use the physical interface, but why doesn’t it cause a conflict on the local device, I was under the impression the link-local address must be unique on the llocal device:

    R8#sh ipv6 int brief
    Em0/0                  [administratively down/down]
        unassigned
    GigabitEthernet0/0     [up/up]
        FE80::6273:5CFF:FEF8:D8E0
    GigabitEthernet0
    ... Continue reading in our forum

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

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

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