IPv6, the successor to IPv4, was developed to overcome IPv4’s limitations, such as the limited address space. With its 128-bit addressing, IPv6 provides an almost inexhaustible supply of unique IP addresses. Additionally, IPv6 introduces features like improved efficiency, better multicast support, and integrated security.
IPv6 uses 128-bit addresses, represented in hexadecimal and separated by colons (:). The larger address space enables billions of unique IPs, essential for the growing number of connected devices.
2001:0db8:85a3:0000:0000:8a2e:0370:73340000 can be replaced with :: (only once per address).2001:0db8:0000:0000:0000:ff00:0042:8329 becomes 2001:db8::ff00:42:8329.Global Unicast Addresses:
2000::/3.Link-Local Addresses:
FE80::/10.FE80::1 could be the link-local address of a router interface.Unique Local Addresses (ULA):
192.168.x.x).FC00::/7.NDP is a crucial protocol in IPv6 that replaces ARP (Address Resolution Protocol) used in IPv4. It enables address resolution, router discovery, and other functions.
Router Discovery:
Address Autoconfiguration:
Address Resolution:
Duplicate Address Detection (DAD):
Redirect Function:
IPv6 tunneling is used during the transition from IPv4 to IPv6. It enables IPv6 packets to be encapsulated within IPv4 packets for transportation across IPv4-only networks.
6to4:
2002::/16.192.0.2.12002:c000:0201::/48.ISATAP (Intra-Site Automatic Tunnel Addressing Protocol):
Teredo:
Manual Tunnels:
To enable IPv6 on an interface in a Junos device:
set interfaces ge-0/0/1 unit 0 family inet6 address 2001:db8::1/64
ge-0/0/1: Interface where IPv6 is enabled.2001:db8::1/64: IPv6 address with a 64-bit prefix length.set protocols router-advertisement interface ge-0/0/1
show ipv6 neighbors
show route table inet6.0
set interfaces ge-0/0/1 unit 0 family inet address 192.168.1.1/24
set interfaces ge-0/0/1 unit 0 family inet6 address 2001:db8::1/64
family inet: Enables IPv4 on the interface.family inet6: Enables IPv6 on the same interface.Transitioning from IPv4 to IPv6 involves several techniques to ensure seamless communication during the migration process.
When IPv6 connectivity issues arise, use the following steps and tools to diagnose and resolve them.
Check the IPv6 address and subnet mask:
show interfaces terse | match inet6
Test connectivity to a local or remote IPv6 address:
ping 2001:db8::1
ping fe80::1%ge-0/0/1
% symbol to specify the interface for link-local addresses.Check the NDP table (similar to the ARP table for IPv4):
show ipv6 neighbors
Use traceroute to identify routing issues:
traceroute ipv6 2001:db8::1
Ensure correct IPv6 routes are installed:
show route table inet6.0
No IPv6 Connectivity:
NDP Issues:
Router Advertisement Not Received:
Cause: RA messages disabled on the router.
Solution: Enable router advertisement on the router interface:
set protocols router-advertisement interface ge-0/0/1
2001:db8::/322001:db8:1::/482001:db8:1:1::/64Use IPv6 Access Control Lists (ACLs) to filter traffic.
set firewall family inet6 filter IPV6-FILTER term ALLOW-ICMP6 then accept
set firewall family inet6 filter IPV6-FILTER term DENY-ALL then discard
ping, traceroute, and Wireshark.IPv6 relies heavily on multicast instead of broadcast, which is completely removed in IPv6.
Multicast Address Range: IPv6 multicast addresses begin with the prefix FF00::/8.
Common Multicast Addresses:
FF02::1 — All-nodes multicast group.
FF02::2 — All-routers multicast group.
Use in NDP:
Neighbor Solicitation (NS) messages are sent to a solicited-node multicast address.
Router Advertisements (RA) are sent to FF02::1 (all-nodes) or FF02::2 (all-routers), depending on context.
IPv6 uses multicast for many control-plane functions, such as router and neighbor discovery.
IPv6 introduces a simplified and fixed-length header compared to IPv4.
Fixed Header Size: 40 bytes.
Key Differences from IPv4:
No Header Checksum: Improves efficiency; relies on link-layer and transport-layer checks.
No Fragmentation Fields: Fragmentation is handled by the source node using Path MTU Discovery.
Extension headers are used for optional features (e.g., Routing, Fragmentation, Authentication).
The simplified header design helps IPv6 perform better on high-speed networks.
IPv6 is supported by several dynamic routing protocols, each adapted or designed for IPv6 environments:
OSPFv3:
The version of OSPF designed for IPv6.
Operates per-link, not per-subnet.
Supports IPv6 addressing and uses link-local addresses for adjacency.
MP-BGP (Multiprotocol BGP):
An extension of BGP that supports IPv6 (AFI/SAFI).
Widely used by service providers for IPv6 Internet routing and MPLS-based VPNs.
Other protocols like IS-IS and RIPng also support IPv6, but are less common in modern deployments.
ICMPv6 is an integral part of IPv6, expanding beyond error reporting to handle essential control functions.
Error Reporting:
Neighbor Discovery:
Packet Too Big:
Without ICMPv6, critical IPv6 functions such as SLAAC, NDP, and even basic connectivity would not work.
| Topic | Key Enhancement |
|---|---|
| IPv6 Multicast | Uses FF00::/8 prefix. Replaces broadcast. Essential for NDP and RA/RS operations. |
| IPv6 Header | Simplified 40-byte fixed header. No checksum or fragmentation. Uses extension headers. |
| Routing Protocols | IPv6 uses OSPFv3 and MP-BGP for dynamic routing. Supports scalable and secure deployments. |
| ICMPv6 | Not just error messaging—powers neighbor discovery, SLAAC, and RA/RS. |
What is the difference between a link-local IPv6 address and a global unicast IPv6 address?
A link-local address is used only within the local network segment, while a global unicast address is routable across IPv6 networks.
Every IPv6-enabled interface automatically generates a link-local address, typically beginning with the prefix FE80::/10. These addresses are used for local communication such as neighbor discovery and routing protocol exchanges. They are not routable beyond the local Layer-2 segment. Global unicast addresses, on the other hand, are publicly routable IPv6 addresses that allow communication across different networks or the Internet. Routers typically learn and advertise these global prefixes through routing protocols. A common mistake is assuming that link-local addresses are optional. In reality, they are fundamental to IPv6 operation and many protocols depend on them.
Demand Score: 74
Exam Relevance Score: 82
What is the purpose of Neighbor Discovery Protocol (NDP) in IPv6?
NDP replaces ARP and performs address resolution, neighbor discovery, and router discovery in IPv6 networks.
IPv6 does not use the Address Resolution Protocol (ARP) used in IPv4. Instead, it relies on Neighbor Discovery Protocol, which operates using ICMPv6 messages. NDP performs several functions including discovering neighboring devices, determining link-layer addresses, detecting duplicate addresses, and locating routers on the network. These functions are achieved through message types such as Neighbor Solicitation and Neighbor Advertisement. Because NDP operates at the IPv6 level, it integrates multiple network functions into one protocol. Misconfiguration or filtering of ICMPv6 can disrupt these processes, leading to connectivity issues.
Demand Score: 70
Exam Relevance Score: 84
What is the difference between SLAAC and DHCPv6?
SLAAC allows hosts to automatically configure their IPv6 addresses using router advertisements, while DHCPv6 provides address assignment through a server.
Stateless Address Autoconfiguration (SLAAC) allows devices to generate their own IPv6 addresses using the network prefix advertised by routers. This approach requires minimal configuration and does not rely on a dedicated address management server. DHCPv6, by contrast, uses a centralized server to assign IPv6 addresses and additional configuration parameters. Networks may use SLAAC, DHCPv6, or a combination depending on operational needs. A common exam trap is assuming DHCPv6 replaces SLAAC completely; in practice, many IPv6 networks rely on SLAAC for address assignment while using DHCPv6 only for additional configuration options such as DNS servers.
Demand Score: 72
Exam Relevance Score: 83
Why might IPv6 connectivity fail even when addresses are configured correctly?
Because ICMPv6 or Neighbor Discovery messages may be blocked or misconfigured.
IPv6 depends heavily on ICMPv6 for essential operations such as neighbor discovery, path MTU discovery, and router advertisements. If firewalls or filtering policies block these messages, devices may have valid IPv6 addresses but still fail to communicate. For example, blocking Neighbor Solicitation messages prevents address resolution, while blocking Router Advertisements prevents hosts from learning default gateways. Engineers troubleshooting IPv6 networks should always verify that ICMPv6 traffic is allowed and that router advertisements are being received correctly.
Demand Score: 69
Exam Relevance Score: 81