IPv6 in packet tracer - Dleifnesor/NET-215 GitHub Wiki

IPv6 Addressing in Cisco Packet Tracer

IPv6 is the successor to IPv4, providing a larger address space, better security, and improved network efficiency. This guide covers basic IPv6 configuration in Cisco Packet Tracer.

Enable IPv6 on a Router

By default, IPv6 is not enabled on Cisco routers. It must be manually activated.

  • Enter Global Configuration Mode: Router>
enable Router# configure terminal

diff Copy Edit

  • Enable IPv6 routing: Router(config)#
ipv6 unicast-routing

vbnet Copy Edit

Assign an IPv6 Address to an Interface

  • Select an interface: Router(config)#
interface GigabitEthernet0/0

css Copy Edit

  • Assign a global unicast IPv6 address: Router(config-if)#
ipv6 address 2001:db8:1::1/64

css Copy Edit

  • Assign a link-local address: Router(config-if)#
ipv6 address FE80::1 link-local

csharp Copy Edit

  • Enable the interface: Router(config-if)#
no shutdown

markdown Copy Edit

Configure IPv6 on a PC (End Device)

  1. Click on the PC in Packet Tracer.
  2. Navigate to Desktop > IP Configuration.
  3. Under IPv6 Configuration, enter:
  • IPv6 Address: 2001:db8:1::2/64
  • Default Gateway: 2001:db8:1::1

Verify IPv6 Configuration

  • Check IPv6 interfaces on the router: Router# show ipv6 interface brief

sql Copy Edit

  • Check the IPv6 routing table: Router# show ipv6 route

sql Copy Edit

  • Ping between devices from the PC:
ping 2001:db8:1::1

markdown Copy Edit

Configure IPv6 DHCP (SLAAC)

Instead of manually assigning IPs, you can enable SLAAC to allow devices to auto-configure addresses.

  • Configure Router to Send Router Advertisements: Router(config)#
interface GigabitEthernet0/0 

Router(config-if)#

ipv6 address 2001:db8:1::/64 eui-64 

Router(config-if)#

ipv6 nd other-config-flag 

Router(config-if)#

ipv6 nd ra lifetime 1800 

Router(config-if)#

no shutdown

markdown Copy Edit

  • Configure PC for SLAAC:
  1. Go to Desktop > IP Configuration
  2. Set IPv6 Address to Auto Config

Enable IPv6 Routing Between Networks

If multiple routers exist, configure OSPFv3 for dynamic routing.

  • Enable OSPFv3 on Router: Router(config)#
ipv6 router ospf 1 

Router(config-router)#

router-id 1.1.1.1 

Router(config-router)#

exit
  • Assign OSPFv3 to an Interface: Router(config)#
interface GigabitEthernet0/1 Router

(config-if)#

ipv6 ospf 1 area 0

Additional Troubleshooting Commands

  • Check router advertisement messages: Router#
debug ipv6 icmp
  • Check IPv6 neighbors:

Router#

show ipv6 neighbors
  • Check OSPFv3 status: Router#
show ipv6 ospf neighbor