CCNA IPv6 Addressing — Everything You Need to Know
Why Does IPv6 Exist?
IPv4 uses 32-bit addresses, which gives
approximately 4.3 billion unique addresses. With billions of internet-connected
devices globally, IPv4 address space is exhausted. IPv6 solves this with
128-bit addresses, producing approximately 340 undecillion unique addresses —
enough for every device on Earth for the foreseeable future.
Beyond address space, IPv6 also eliminates
the need for NAT (Network Address Translation), simplifies header structure for
faster routing, and includes built-in support for IPsec.
IPv6 Address Structure
An IPv6 address is 128 bits long, written
as eight groups of four hexadecimal digits, separated by colons:
2001:0db8:0000:0000:0000:ff00:0042:8329
Two shortening rules reduce this to a more
readable format:
•
Rule 1 — Leading zeros in any group can be dropped.
0db8 becomes db8. 0000 becomes 0.
•
Rule 2 — One consecutive sequence of all-zero groups
can be replaced with ::. The above address shortens to: 2001:db8::ff00:42:8329
Important: :: can only be used once in an
address. Using it twice makes the address ambiguous and invalid.
IPv6 Prefix Notation
IPv6 uses CIDR-style prefix notation
identical in concept to IPv4. The prefix length indicates how many bits
represent the network portion:
|
2001:db8::/32 (network prefix — first 32 bits) 2001:db8::1/128 (host address — all 128 bits specific) |
The most common prefix lengths you will see
in CCNA are /64 (standard LAN subnet), /48 (typical site allocation), /128
(single host or loopback), and /32 (ISP block).
IPv6 Address Types (Exam Objective 1.9)
The official exam blueprint lists four
address type categories you must know:
1.9.a — Unicast: Global, Unique
Local, and Link Local
Unicast addresses identify a single
interface. There are three types the exam tests:
•
Global Unicast — starts with 2000::/3 (currently
2001::/16 in practice). These are publicly routable addresses, equivalent to
public IPv4 addresses. The first 48 bits are the global routing prefix, the
next 16 bits are the subnet ID, and the last 64 bits are the interface ID.
•
Unique Local — starts with FC00::/7 (in practice FC00::
or FD00::). These are private, non-routable addresses, equivalent to RFC1918
private IPv4 ranges (10.0.0.0/8, 192.168.0.0/16). Used inside organisations and
not forwarded by internet routers.
•
Link Local — starts with FE80::/10. Automatically
generated on every IPv6-enabled interface. Used for communication on the local
network segment only — not routed beyond the local link. Required for neighbour
discovery and routing protocol communication.
1.9.b — Anycast
An anycast address is assigned to multiple
interfaces on different devices. When a packet is sent to an anycast address,
it is delivered to the nearest interface holding that address (measured by
routing metric). Anycast addresses look identical to unicast addresses — the
distinction is administrative. Common use case: DNS root servers and content
delivery networks use anycast for load distribution and redundancy.
1.9.c — Multicast
Multicast addresses start with FF00::/8 and
deliver packets to all members of a multicast group simultaneously. IPv6 uses
multicast to replace IPv4 broadcast — there is no broadcast address in IPv6.
Key multicast addresses to recognise:
•
FF02::1 — all nodes on the local link
•
FF02::2 — all routers on the local link
•
FF02::5 and FF02::6 — OSPFv3 router groups
1.9.d — Modified EUI-64
EUI-64 is a method for automatically
generating the 64-bit interface ID portion of an IPv6 address from a device's
48-bit MAC address. The process has three steps:
•
Step 1 — Split the MAC address in half (first 24 bits
and last 24 bits)
•
Step 2 — Insert FF:FE in the middle between the two
halves
•
Step 3 — Flip the 7th bit (Universal/Local bit) of the
first byte
Example: MAC address 00:1A:2B:3C:4D:5E
becomes EUI-64 interface ID: 021A:2BFF:FE3C:4D5E. The 7th bit of 00 (binary
00000000) flips to 00000010 = 02 in hex.
Basic IPv6 Configuration Commands (Objective 1.8)
The exam requires you to configure and
verify IPv6 addressing on Cisco devices. The essential commands are:
Router(config)# ipv6
unicast-routing ! Enable IPv6
routing globally
Router(config)# interface
GigabitEthernet0/0
Router(config-if)# ipv6
address 2001:db8::1/64 ! Assign global
unicast address
Router(config-if)# ipv6
enable ! Generates
link-local automatically
Router(config-if)# no
shutdown
Router# show ipv6
interface brief ! Verify
IPv6 addresses
Router# show ipv6 route ! Verify IPv6 routing table
Quick Reference — IPv6 Address Types
|
Type |
Prefix |
Purpose |
|
Global Unicast |
2000::/3 |
Publicly routable (internet) |
|
Unique Local |
FC00::/7 |
Private, non-routable |
|
Link Local |
FE80::/10 |
Local segment only, auto-generated |
|
Anycast |
(same as unicast) |
Nearest-node delivery |
|
Multicast |
FF00::/8 |
One-to-many delivery, replaces broadcast |
|
Loopback |
::1/128 |
Self-referencing, like 127.0.0.1 in IPv4 |

Comments
Post a Comment