CIS-3210 Lab #7: OSPFv3 (IPv6)

Reading: Finish me!

In this lab, you will configure one of the routers in the experimental network to use OSPFv3.

Part 1: Pick a Router

For this lab will be using the experimental network. You will configure one of the student routers for OSPFv3 (i.e., IPv6 routing). There are six student routers that will be shared amongst the class. Please be sure to reboot the router when you are done to erase any changes that you made. As usual, you will want to record the commands you used to configure the device, not only to submit but also to reconstruct your configuration more easily should you need to redo it for some reason.

The easiest way to find a router to use is to just pick one of the six at random and then verify that it is not currently being used. If it is, pick a different router, etc. To verify if the router is currently being used, execute the command:

  StudentRx# show users

This command shows a list of users who are currently logged into the router. Recall that there are several virtual terminal lines configured for remote access, so multiple people can be logged into the router at once. If anyone else is shown in the list other than yourself, you can assume the router is in use by another student. In that case, use the exit command to log out and try a different router.

Whenever you are done using a router, don't forget to reload it to restore its configuration to the original configuration. This will also log you out.

Part 2: Configure IPv6

Follow the procedure below:

  1. SSH to alpha.cis.vermontstate.edu, the gateway machine to the experimental network. Log in as the user student with the usual password.

  2. SSH, using IPv4, from alpha to the student router you'll be using. The IP addresses (both v4 and v6) for the devices in the experimental network are all shown on the Packet Tracer model of the network. Log in as the user admin.

  3. Reboot the router using the reload command. This will restore the router's startup configuration and erase any changes left by a previous student.

    When you reboot the router, your SSH connection will disconnect. Give the router some time to reboot (a couple of minutes) before trying to connect again.

    For this lab do not, under any circumstances, save the running configuration to the startup configuration! You want to be able to restore the router to its initial state by simply rebooting it.

  4. Enable IPv6 unicast routing by issuing the command:

      StudentRx(config)# ipv6 unicast-routing
    
  5. Assign IPv6 addresses to both of the router's active interfaces using the addresses shown in the Packet Tracer model. Verify your work using the show ipv6 interface brief command. Also try pinging the appropriate interface on Shangri-La using IPv6 to verify that it works.

Part 3: Configure OSPFv3

The router is already running an OSPF v2 process to route IPv4. The idea is to start a separate OSPF v3 process for handling IPv6. In this way, the router can execute multiple routing protocols, possibly for multiple network protocols, all at the same time. The OSPF process ID for the v2 process is 10. We will use a process ID of 60 for OSPF v3. All that matters is that the process IDs be different.

OSPF v3 also requires that each router have a router ID. Currently, the routers in the experimental network take their OSPF v2 router IDs from the IP addresses of the network interfaces using the algorithm Cisco defined for that purpose. For OSPF v3 we will manually assign router IDs. Specifically, the StudentR1 router will have an ID of 1.0.0.1, the StudentR2 router will have an ID of 1.0.0.2, and so forth. Note that Shangri-La has an ID of 0.0.0.3. You will see this turn up as a "neighboring" router.

Follow the procedure below:

  1. Turn on OSPFv3 and set the router ID:

      StudentRx(config)# ipv6 router ospf 60
      StudentRx(config-rtr)# router-id 1.0.0.x
    

    Router IDs are 32-bit values, so they look the same for both OSPFv2 (IPv4) and OSPFv3 (IPv6).

  2. To specify which interfaces are to be managed by OSPF, we configure those interfaces. For example:

      StudentRx(config)# interface FastEthernet0/0
      StudentRx(config-if)# ipv6 ospf 60 area 0
      StudentRx(config-if)# interface FastEthernet0/1
      StudentRx(config-if)# ipv6 ospf 60 area 0
    

    OSPFv3 does not use the network command as defined for OSPFv2. Note that this approach of associating interfaces with OSPF also works for OSPFv2. It is the only option for OSPFv3.

You can use obvious variations of OSPFv2 commands to check the status of OSPFv3.

  StudentRx# show ipv6 protocols
  StudentRx# show ipv6 ospf neighbor
  StudentRx# show ipv6 route

You should be able to ping the IPv6 address of Shangri-La from your router. You should also be able to ping the IPv6 address of alpha (FD25:F376:7B60:1000::62) from your router. This works because OSPFv3 is already configured on Shangri-La and router R1.

Important!

When you are done with your router, please reboot it again using the reload command so that it is left in a pristine state for the next student. Thank you!

Submission

For this lab, submit the commands you used to configure your router and the results of verifying your work (i.e., the output of the verification commands and the ping commands that you used). The preferred document format is PDF, but Word, ODT, or plain text is also acceptable.


Last Revised: 2023-10-10
© Copyright 2023 by Peter Chapin <peter.chapin@vermontstate.edu>