Configuring IPv6 Address on Cisco Router


Device Interface IPv6 Address Prefix Length Default Gateway
Router0 G0/0 2001:0DB8:C21A:1:: 64 N/A
G0/0 FE80::1   Link-Local
S0/0/0 2001:0DB8:C21A:2:: 64 N/A
S0/0/0 Dynamic Link-Local   Link-Local
Router1 G0/0 2001:0DB8:C21A:3:: 64 N/A
G0/0 FE80::1   Link-Local
S0/0/0 2001:0DB8:C21A:2::1 64 N/A
S/0/0/0 Dynamic Link-Local   Link-Local 
Laptop0 NIC 2001:0DB8:C21A:1::2 64 FE80::1
Laptop1 NIC 2001:0DB8:C21A:1::3 64 FE80::1
Laptop3 NIC 2001:0DB8:C21A:3::2 64 FE80::1
Laptop4 NIC 2001:0DB8:C21A:3::3 64 FE80::1


  • Set Up topology or download Topology and Configure Basic setting for Router 
  • Configure IPv6 Addresses for Router and Computers
  • Verify IPv6 Configuration and End-to-End Connectivity by Ping command and data transferring

 Background of the Lab

This is the practice lab for the students to configure hosts and device interfaces with IPv6 addresses and look at how the all-router multicast group is assigned to a router. You will use show commands to view IPv6 unicast and multicast addresses. You will also verify end-to-end connectivity using the ping command. This lab is consist of following steps.

           Assign IPv6 address to Router0 Interfaces

           Assign IPv6 address to Router1 Interfaces

3            Enable IPv6 Routing on both Routers

5            Assign IPv6 address to PCs

6            Configure Static IPv6 routing on both Routers

7            Verify router configuration and end-to-end connectivity

If you have a real router then setup the topology according to the topology diagram given above. If you have no router, then you can do this with Cisco packet tracer. You can download Cisco Packet tracer from here. You can also download the above topology from here. Here we will discuss the Cisco packet tracer topology.

Assign IPv6 address to Router0 Interfaces

Assign IPv6 link-local and global unicast addresses to G0/0 and Serial 0/0/0 Interfaces of Router0 listed in the Addressing Table.

Note:- Packets with a link-local address never leave the local network and each interface of the router is a separate network. So, you can assign the same link-local address on both interfaces of the router.

Assign IPv6 address to Router1 Interfaces

Enable IPv6 Routing on both Routers

To Enable IPv6 routing on Both Routers, apply the following command.

Assign IPv6

Assign IPv6 address to PCs

Now Open the IP address setting of laptop0 and laptop1 and change the IPv6 configuration to Auto Config, you will get the Global unicast IPv6 address for an interface and link-local address of the Router0 interface as a default gateway. Also,  see the link-local address of the computer which is by default derived from MAC address of the PC. You can also configure link-local and global unicast address manually. Do the same for laptop2 and laptop3.

Configuring IPv6 Static routing on both Routers

Configure IPv6 static route on Router0 with following commands.

Assign IPv6

2001:DB8:C21A:3::/64 is the IP address of destination network and Serial 0/0/0 is the local interface towards the destination network. Now do the same for another router.

Assign IPv6

Verify router configuration and end-to-end connectivity

Use the show ipv6 interface brief command to verify that the correct IPv6 unicast and link-local addresses just assigned to G0/0 interface.

Assign IPv6 

You can see that IP addresses against Gigabit Ethernet 0/0 and Serial 0/0/0. The both interfaces are up and its link is up. The other interfaces are administratively down and its link down.

The link-local address displayed with serial interface S0/0/0 is based on EU I-64 addressing, which automatically uses the interface Media Access Control (MAC) address to create a 128-bit IPv6 link-local address. We have not assigned any ipv6 link-local address to the serial interface of the router. If you see FFFE in the center of this address, that means it is derived from MAC address of the interface using EUI-64 process.

You can also use the show ipv6 interface g0/0 command to show and verify the detail parameter for an individual interface.

You can do the same for Router1. Observe that the IP address of serial interfaces of the both routers is in the same subnet.

You can also use show runing-config command to verify the configuration. 

To check end-to-end configuration open the command prompt of all PCs in the topology and ping all PCs one by one for example 

PC0>ping  IPv6 address of PC1, PC2 or PC3