Basic OSPFv3

Chris
By Chris September 1, 2015 09:05

When used for IPv6, OSPF uses a straightforward interface-focused configuration. As a result, you do not even have to know the IPv6 addresses or subnets when configuring OSPF – all you have to know is which interfaces are in which area. For this lab, you will get a chance to add OSPF configuration to a set of routers that already have IPv6 addressing configured. When completing the lab, notice that you do not need to IPv6 addressing info listed in the lab documentation.

Requirements

Configure OSPFv3 parameters on all four routers (R1, R2, R3 and R4.) Note that at the beginning of the lab, no IPv4 configuration exists, but all interfaces shown in the figure have been configured with IPv6 addresses, and those interfaces are working.

The specific rules for this lab are:

  • Use OSPF router IDs that are obvious, for example, 1.1.1.1 for R1, 2.2.2.2 for R2, etc.
  • Limit the maximum number of load-balanced paths to 2 on R1 and R4
  • Configure only the commands required to complete the configuration
  • All interfaces are in area 0

 

Initial Configuration

Example 1, 2, 3 and 4 show the beginning configuration state of R1, R2, R3 and R4.

Example 1: R1 Config

 

Example 2: R2 Config

 

Example 3: R3 Config

 

Example 4: R4 Config

 

Answer on Paper, and Maybe Test in Lab

Time to configure! At least take the time to write out the configurations on paper, or type them in. Or if you have some real gear, or other tools, configure the lab with those tools.

If you do implement the lab on gear or with some other tool, you can easily test the lab. First, all four routers should have a route to each of the six IPv6 prefixes. Each router should have two OSPF neighbors, and each should be listed as neighbors with their easily recognizable RIDs as stated in the requirements for this lab.

 

Do this Lab with Cisco’s VIRL

You can do these labs on paper and still get a lot out of the lab. As an extra help, we have added files for the Virtual Internet Routing Lab (VIRL) software as well. The .VIRL file found here is a file that when used with VIRL will load a lab topology similar to this lab’s topology, with the initial configuration shown in the lab as well. This section lists any differences between the lab exercise and the .VIRL file’s topology and configuration.

Download this lab’s VIRL file!

 

Network Device Info

The .VIRL topology matches this lab topology exactly. The host info does as well.

 

Host Device Info

This lab does not have any specific Host device information.

 

Handy Host Commands:

To see PC IP address: ifconfig eth1

Ping example: ping6 -c 4 2001:DB8:1:1::100

Trace example: tracepath6 2001:DB8:1:1::100

A: LAN Switching Logic
Q: A Port Security Question
Chris
By Chris September 1, 2015 09:05
Write a comment

2 Comments

  1. Mike September 1, 21:28

    Important commands for this lab are:

    (config)# ipv6 router ospf
    (config-rtr)# router-id X.X.X.X
    (config-if)# ipv6 ospf area 0

    Reply to this comment
    • Mike September 1, 21:31

      Rats, the markup engine nabbed some of my suggestion/answer.

      (config)# ipv6 router ospf PID
      (config-rtr)# router-id X.X.X.X
      (config-if)# ipv6 ospf PID area 0

      # where PID is the arbitrary OSPFv3 process ID you choose

      Reply to this comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email

Subscribe

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Search

Categories