Skip to content
Skip to main content

About this free course

Download this course

Share this free course

Discovering computer networks: hands on in the Open Networking Lab
Discovering computer networks: hands on in the Open Networking Lab

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

16.3 Adding a routing protocol

In this part you will learn how to configure the RIP routing protocol on the routers. The protocol has different versions for IPv4 and IPv6, and the IPv4 version itself has two versions. For IPv4, we will use RIPv2, which is the version that is almost always used for IPv4. The IPv6 version is RIPng. The Central router will need to be configured for both as it is using both IPv4 and IPv6. This is called a dual-stack router.

Watch the video below, which is about 5 minutes long. It shows RIP and RIPng being configured.

Adding a routing protocol

Download this video clip.Video player: 87_adding_a_routing_protocol.mp4
Copy this transcript to the clipboard
Print this transcript
Show transcript|Hide transcript
 
Interactive feature not available in single page view (see it in standard view).

Activity 7 Test yourself

2 minutes

  • Is the following statement true or false? ‘By default, a router will route both IPv4 and IPv6 packets.’

  • a. 

    True


    b. 

    False


    The correct answer is b.

  • The statement is false: IPv4 routing is on by default, but IPv6 must be switched on with the ipv6 unicast-routing command.

Activity 8 Try it out

15 minutes

Open PT Anywhere [Tip: hold Ctrl and click a link to open it in a new tab. (Hide tip)] in a new tab or window so you can read these instructions.

You saw in the last video the show ip protocols command on the Branch-A router. The equivalent command for IPv6 is show ipv6 protocols. Use this command on the Branch-B router to work out which interface has not been configured with RIPng. Then configure the interface with RIPng, and use the show ipv6 protocols command again to check that it has been suitably configured.

Answer

This is what the show ipv6 protocols command produces on the incorrectly configured Branch-B router:

Branch-B#show ip protocols

IPv6 Routing Protocol is "connected"

IPv6 Routing Protocol is "ND"

IPv6 Routing Protocol is "rip RIPng1"

Interfaces:

GigabitEthernet0/0

GigabitEthernet0/2

The GigabitEthernet0/1 interface is missing from the list of interfaces above. Its absence shows it has not been configured with the routing protocol rip RIPng1.

To configure the GigabitEthernet0/1 interface with this protocol requires these instructions:

Branch-B(config)#int g0/1

Branch-B(config-if)#ipv6 rip RIPng1 enable

To check this has produced what we want, using the show ipv6 protocols command now gives the following:

Branch-B#show ipv6 protocols

IPv6 Routing Protocol is "connected"

IPv6 Routing Protocol is "ND"

IPv6 Routing Protocol is "rip RIPng1"

Interfaces:

GigabitEthernet0/0

GigabitEthernet0/1

GigabitEthernet0/2

The list of configured interfaces now includes the GigabitEthernet0/1 interface.

The term ‘ND’ refers to a legacy technology used when routing isn’t available between direct connections. Sometimes you will see ‘static’ here instead.