Skip to content
Related Articles

Related Articles

How to Configure IPv6 on CISCO Router?

View Discussion
Improve Article
Save Article
  • Last Updated : 22 Jun, 2022
View Discussion
Improve Article
Save Article

An IPv6 is the sixth version of any IP address on the IP protocol. It consists of eight groups of four hexadecimal digits. IP v6 is a 128-bits address having an address space of 2^128. 

For more details about IPv6 refer to the articles: What is IPv6? and Internet Protocol version 6 (IPv6).

Steps to Configure IPv6 on Cisco Packets Tracer:

Step 1: First open the Cisco packet tracer desktop and create a network topology something like the image and an IPv6 addressing table given below.

S.NODevice NameModel-NameLink-Local-AddressDefault-Gateway
1.PCPCFE80::207:ECFF:FEA3:EB56FE80::1
2.SwitchPT-switchFE80::207:ECFF:FEB9:862AFE80::1
3.Router2911FE80::250:FFF:FE6C:B21FE80::1
4.cableAutomatic connecting cablenilnil

 

IP Addressing Table:

S.NOInterfaceIPv6 Address
1.Gig0/02001:DB:AAAA:A::1/64
2.Gig0/12001:DB:AAAA:B::1/64

Step 2: Configuring the  GigabitEthernet Interfaces.

  •  First, we will configure the GigabitEthernet0/0 using CLI.
  • Click on router0 and go to CLI and type the commands are given below:
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#int Gig0/0
Router(config-if)#ipv6 address FE80::1 link
Router(config-if)#ipv6 address FE80::1 link-local
Router(config-if)#no shut
  • Now we will configure the GigabitEthernet0/1 Interface.
  • Click on router0 and go to CLI and type the commands are given below:
Router(config-if)#int Gig0/1
Router(config-if)#ipv6 address FE80::1 link-local
Router(config-if)#no shut
  • Then, both the interfaces will be active now:

 

Step 3: Configuring Ipv6 address in both Interfaces using CLI:

  • CLI commands to configure IPv6 address in GigabitEthernet0/0 and GigabitEthernet0/1 ports are given below:
Router#en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int Gig0/0
Router(config-if)#ipv6 address 2001:DB8:AAAA:A::1/64
Router(config-if)#no shut
Router(config-if)#int Gig0/1
Router(config-if)#ipv6 address 2001:DB8:AAAA:B::1/64
Router(config-if)#no shut
Router(config-if)#
Router(config-if)#

 

Step 4: We have configured the router now change the settings of hosts in IPv6 configuration:

  • First, click on PC0 and go to desktop then IP configuration.
  • Now find the IPv6 configuration.
  • Change the settings from static to automatic and then after a few seconds, the IPv6 address and default gateway are displayed.

 

  • Similarly, repeat this procedure with PC1 and PC2

 

 

Step 5: Now we have to verify the connection by pinging the IPv6 address of PC0 in PC1.

  • First, click on PC1 and go to the command prompt, and type ping <ipv6 address>
command: ping 2001:DB8:AAAA:A:20D:BDFF:FE1A:D121 
  • As we can see in the below image, getting replies from PC0 means the connection is established successfully.

 

Simulation Result:

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!