Config Lab: IPv6 Special Addresses 2

Wendell Odom
By Wendell Odom September 28, 2021 21:05

This latest config lab takes a backwards approach to configuration. In this case, it starts with a bunch of show commands, and asks you to derive some of the key configuration items on several routers. The theme: IPv6 addressing. By doing this lab, you will need to think hard about the unicast and multicast addresses listed in the output of the show ipv6 interface command.

All about Config Labs

The blog has a series of lab exercises called “Config Labs.” Each lab presents a topology with the relevant initial configuration for each device. The lab also lists new requirements, after which you should create the additional configuration to meet those requirements. You can do the lab on paper, in a text editor, or use software tools like Cisco Packet Tracer or Cisco Modeling Labs.

Once you have created your answer, you can click various tabs at the bottom of this post to see the lab answers, comments about the lab, and other helpful information.

The Lab Exercise

Requirements

This lab begins with a partially-complete configuration. It has some IPv6 configuration, but it is missing some. Your job is as follows:

  • Predict what the current IPv6 configuration of each router is based on the show command output listed in Examples 1 through 6.

For this lab, you can make these assumptions:

  • All router interfaces shown in the lab are up and working.
  • IPv6 routing (ipv6 unicast-routing) is enabled
  • The figure shows the planned IPv6 subnets, with plans to use OSPF process 10 on all routers and area 0 throughout the design. However, some of those features may not as of yet be configured.

Figure 1 shows the topology. Examples 1 through 6 then list the output of the show ipv6 interface command on the routers for various interfaces. Finally, Examples 7, 8, and 9 show some of the initial configuration on the three routers.

Figure 1: Three Router Topology

 

Example 1: R1 Gi0/1 interface

 

Example 2: R1 Gi0/2 subinterfaces

 

Example 3: R2 Gi0/1 Interfaces

 

Example 4: R2 Gi0/2 Interface

 

Example 5: R3 Gi0/1 Interface

 

Example 6: R3 Gi0/2 Interface

 

Initial Configuration

Examples 7, 8, and 9 show the beginning configuration state of R1, R2, and R3.

Example 7: R1 Config

 

Example 8: R2 Config

 

Example 9: R3 Config

Answer Options - Click Tabs to Reveal

You can learn a lot and strengthen real learning of the topics by creating the configuration – even without a router or switch CLI. In fact, these labs were originally built to be used solely as a paper exercise!

To answer, just think about the lab. Refer to your primary learning material for CCNA, your notes, and create the configuration on paper or in a text editor. Then check your answer versus the answer post, which is linked at the bottom of the lab, just above the comments section.

You can also implement the lab using the Cisco Packet Tracer network simulator. With this option, you use Cisco’s free Packet Tracer simulator. You open a file that begins with the initial configuration already loaded. Then you implement your configuration and test to determine if it met the requirements of the lab.

(Use this link for more information about Cisco Packet Tracer.)

Use this workflow to do the labs in Cisco Packet Tracer:

  1. Download the .pkt file linked below.
  2. Open the .pkt file, creating a working lab with the same topology and interfaces as the lab exercise.
  3. Add your planned configuration to the lab.
  4. Test the configuration using some of the suggestions below.

Download this lab’s Packet Tracer File

You can also implement the lab using Cisco Modeling Labs – Personal (CML-P). CML-P (or simply CML) replaced Cisco Virtual Internet Routing Lab (VIRL) software in 2020, in effect serving as VIRL Version 2.

If you prefer to use CML, use a similar workflow as you would use if using Cisco Packet Tracer, as follows:

  1. Download the CML file (filetype .yaml) linked below.
  2. Import the lab’s CML file into CML and then start the lab.
  3. Compare the lab topology and interface IDs to this lab, as they may differ (more detail below).
  4. Add your planned configuration to the lab.
  5. Test the configuration using some of the suggestions below.

Download this lab’s CML file!

 

Network Device Info:

The CML topology matches the lab topology.

Lab Answers Below: Spoiler Alert

Lab Answers: Configuration (Click Tab to Reveal)

Answers

Figure 1: Three Router Topology

 

Analysis that Lead to the Answers

This lab takes a much different approach than the other Config Lab posts. How did you do?

The show ipv6 interface commands on routers R1, R2, and R3 showed you some addresses. However, it did not list some addresses you may be used to seeing: global unicast addresses. In this case, the initial configurations did not include any ipv6 address interface subcommands to configure any global unicast addresses. Basically, the lab state for this lab post is that IPv6 is enabled, with OSPF enabled as well, but without the global unicast addresses configured.

So, what configuration appears to have already been configured?

First, each router interface (or in the case of router R1, a couple of subinterfaces as well) had an ipv6 enable command configured. How can you determine this? Well, the output on each interface states “no global unicast address is configured”, which means that there is no ipv6 address command configured on the interface. At the same time, IPv6 is clearly enabled on the interface per many parts of the command output.

The ipv6 enable command:

  • Enables IPv6 on the interface
  • Causes the router to calculate its link local (unicast) address on that interface
  • Causes the router to calculate the solicited node multicast address associated with that link local address

Because of an interface’s ipv6 enable command, you should see each interface with a link local address (begins with FE80). You should also see a matching solicited node multicast address, which begins FF02::1:FF, followed by the same last 6 hex digits as the link local address.

That ipv6 enable command also enables the use of two multicast addresses, again found on each interface/subinterface in examples 2 through 7 in the lab post:

  • FF02::1 – All nodes
  • FF02::2 – All routers

Note that if the configuration had happened to have included an ipv6 address command to configure a global unicast address, that command would also have triggered the addition of these two multicast addresses. However, the output states “no global unicast address is configured”, which tells us that the ipv6 address command was not configured.

Finally, each interface also has OSPFv3 enabled, although the output does not tell you enough details about the specifics of the commands used by OSPF. In this case, the interface subcommand happened to be ipv6 ospf 10 area 0.  As a result, each interface also showed the router listening for two additional IPv6 multicast addresses to support OSPF:

  • FF02::5 – All OSPF routers
  • FF02::6 – All OSPF DRs and BDRs

The following section shows the relevant IPv6 configuration that existed at the beginning of this lab.

 

The IPv6 Configuration that Existed at the Beginning of the Lab

Examples 1, 2, and 3 show the additional IPv6 configuration that existed in the configuration at the beginning of this lab.

Example 1: R1 Config

 

Example 2: R2 Config

 

Example 3: R3 Config

Commentary, Issues, and Verification Tips (Click Tabs to Reveal)

Cisco routers and switches allow a simple security method for both the console and for Telnet access. Basically, all you have to do is tell the device to use that method by supplying a prompt for the password (the login subcommand), and then define the password’s value (the password subcommand).

Note that the answer shows the configuration of the VTY password (to support Telnet) with VTYs 0 through 4 as separate from the configuration of VTYs 5 through 15. This quirk of Cisco output has to do with the fact that older IOS versions support only VTYs 0 through 4. You could have used the commands literally shown in the answer example, or you could have used the command line vty 0 15, followed by those same password and login commands.

Known Issues in this Lab

This section of each Config Lab Answers post hopes to help with those issues by listing any known issues with Packet Tracer related to this lab. In this case, the issues are:

# Summary Detail
1 Packet Tracer performs EUI-64 incorrectly when the 7th bit of the MAC is a 1. When performing the 7th-bit bit-flip, PT sets the 7th bit to 1, rather than flipping or inverting the bit. So, if the 7th bit of the MAC address is a 1, PT leaves the bit as a 1. A real Cisco router would flip the bit to 0.

 

Why Would Cisco Packet Tracer Have Issues?

(Note: The below text is the same in every Config Lab.)

Cisco Packet Tracer (CPT) simulates Cisco routers and switches. However, CPT does not run the same software that runs in real Cisco routers and switches. Instead, developers wrote CPT to predict the output a real router or switch would display given the same topology and configuration – but without performing all the same tasks, an actual device has to do. On a positive note, CPT requires far less CPU and RAM than a lab full of devices so that you can run CPT on your computer as an app. In addition, simulators like CPT help you learn about the Cisco router/switch user interface – the Command Line Interface (CLI) – without having to own real devices.

CPT can have issues compared to real devices because CPT does not run the same software as Cisco devices. CPT does not support all commands or parameters of a command. CPT may supply output from a command that differs in some ways from what an actual device would give. Those differences can be a problem for anyone learning networking technology because you may not have experience with that technology on real gear – so you may not notice the differences. So this section lists differences and issues that we have seen when using CPT to do this lab.

Beyond comparing your answers to this lab’s Answers post, you can test in Cisco Packet Tracer (CPT) or Cisco Modeling Labs (CML). In fact, you can and should explore the lab once configured. For this lab, once you have completed the configuration, try these verification steps. 

  1. When configuring, add just one IPv6 interface subcommand and then issue a show ipv6 interface command and look for the notes about unicast and multicast addresses.
  2. Continue to configure one interface at a time, and then repeat the show ipv6 interface command, until you get a sense for which configuration commands cause the various unicast and multicast addresses to appear in the show command output. 

More Labs with Related Content!

Config Lab: IPv6 Special Addresses 1
Config Lab: Standard Numbered ACL 1
Wendell Odom
By Wendell Odom September 28, 2021 21:05
Write a comment

2 Comments

  1. Carlos Maurício Borgonovi Garcia Tejeda January 19, 15:51

    Hi,

    Shouldn’t it be necessary to add the configuration of the OSPFv3 router process with the command
    ipv6 router ospf 10?

    Thank you.

    Reply to this comment
    • certskills January 21, 16:51

      Hey Carlos,
      The router will add the **ipv6 router ospf 10** command in response to the first of those interface subcommands. But you could also configure it for yourself – just not required.
      wendell

      Reply to this comment
View comments

Write a comment

Leave a Reply to Carlos Maurício Borgonovi Garcia Tejeda Cancel reply

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