Learning IPv6 in Cisco Packet Tracer: From Direct Connections to Routed Networks
As part of my CCNA preparation, I decided to learn IPv6 by building progressively larger networks in Cisco Packet Tracer. Rather than memorizing commands, I focused on understanding how packets move between devices and how routers handle traffic between different IPv6 networks.
Why IPv6?
IPv4 addresses are limited, while IPv6 provides a vastly larger address space and several improvements in routing and address assignment. Since IPv6 is an important CCNA topic, I started with simple topologies and gradually moved toward routed networks.
Lab 1: Two PCs Connected Directly
My first exercise involved connecting two PCs directly and assigning IPv6 addresses from the same subnet.
Goal
Verify that two hosts can communicate when they belong to the same IPv6 network.
Key Concepts Learned
IPv6 address structure
Prefix length (/64)
Basic connectivity testing using ping
Neighbor discovery
After assigning addresses, I verified connectivity using the ping command.
Lab 2: Two PCs Connected Through a Switch
Next, I introduced a switch between the two PCs.
Goal
Understand the role of a Layer 2 switch in IPv6 communication.
Observation
Even though a switch was added, the IPv6 configuration on the end devices remained almost identical. The switch simply forwarded frames between devices on the same network.
Key Concepts Learned
Layer 2 forwarding
Same-subnet communication
Switches do not perform routing
Lab 3: Router Between Two Networks
The next step was introducing a router.
Topology
PC1 → Router → PC2
Each PC was placed in a different IPv6 network.
IPv6 Addressing
Network A:
2001:DB8:5000:1::/64
Network B:
2001:DB8:5000:2::/64
Router Interfaces:
2001:DB8:5000:1::1/64
2001:DB8:5000:2::1/64
Hosts:
PC1: 2001:DB8:5000:1::2/64
PC2: 2001:DB8:5000:2::2/64
Router Configuration
Before assigning interface addresses, IPv6 routing was enabled:
enable
configure terminal
ipv6 unicast-routing
Then each interface received its IPv6 address and was brought online using the no shutdown command.
Key Concepts Learned
Routers separate networks.
Different subnets require routing.
Every host needs a default gateway.
ipv6 unicast-routingenables IPv6 packet forwarding.
Successful pings between PC1 and PC2 confirmed that routing was functioning correctly.
Lab 4: Two Switches, One Router, Four End Devices
After successfully routing between two PCs, I expanded the network.
Topology
Two PCs and two laptops were divided into two separate LANs connected through a router.
This topology more closely resembles a small office environment.
Network Structure
Left LAN:
Switch0
PC3
PC4
Right LAN:
Switch1
Laptop0
Laptop1
The router connected both LANs and served as the gateway for each network.
Goal
Verify communication between devices located on different LAN segments.
What This Demonstrated
A router can connect multiple IPv6 networks.
Switches provide local connectivity.
End devices communicate across networks through their configured gateway.
IPv6 routing scales naturally as additional hosts are added.
Testing
Connectivity was verified using ping tests:
PC3 ↔ PC4
Laptop0 ↔ Laptop1
PC3 ↔ Laptop0
PC4 ↔ Laptop1
Successful replies confirmed that IPv6 routing and addressing were configured correctly.
Common Issues Encountered
During these labs, I ran into several configuration mistakes:
Forgetting ipv6 unicast-routing
Without this command, the router receives packets but does not route them between networks.
Incorrect/Missing Default Gateway
Hosts require the IPv6 address of the router interface connected to their subnet.
Interface Shutdown State
Cisco interfaces may be administratively down until the no shutdown command is entered.
Addressing Errors
Useful Verification Commands
show ipv6 interface brief
Displays configured IPv6 addresses and interface status.
show ipv6 route
Displays the IPv6 routing table.
ping <ipv6-address>
Tests connectivity between devices.
Conclusion
These Packet Tracer labs helped me understand IPv6 far better than simply reading commands from a textbook. Starting with direct host communication and gradually introducing switches and routers made it easier to understand how IPv6 networks are built and how traffic moves between them.
My next goal is to explore:
OSPFv3
SLAAC
DHCPv6
VLANs
Inter-VLAN routing
IPv6 troubleshooting scenarios
Comments
Post a Comment