
Introduction to IPv6 Address
Let me ask you something.
Have you ever looked at an IPv6 address like 2001:db8::1 and
thought. "What is this? Why does it look so strange. Do I really need to
learn this?
If you answered yes, you are not alone.
Most CCNA students ignore IPv6 because it looks complicated.
They focus only on IPv4 and hope IPv6 questions do not appear on the exam. That
is a mistake.
IPv6 is not optional anymore. It is a required topic on the
CCNA exam. And if you do not prepare for it, it will lower your score.
Here is the good news: IPv6 is actually simpler than IPv4.
Once you understand the logic, it makes complete sense.
In this guide, I will break down IPv6 addressing step by
step. You will learn what it is, why we need it, how it works, and how to
configure it on Cisco routers. By the end, you will feel confident about IPv6.
Why You Are Here
Many CCNA students avoid IPv6 because they think it is too
complex.
Pain Point |
Why It Hurts |
|
IPv6 addresses look confusing |
Hexadecimal numbers and colons look strange compared to
IPv4. |
|
I don't know why I need to learn IPv6 |
IPv4 still works, so why learn something new? |
|
I don't understand IPv6 types |
Link-local, Global Unicast, Unique Local — what do these
mean? |
|
I don't know how to configure IPv6 |
The commands are different from IPv4 and you are not sure
where to start. |
Good news: By the end of this guide all of
these problems will disappear.
📌 New to CCNA? Start
with Why Most Beginners Fail CCNA,
What is IPv6(The Simple Answer)
IPv6 stands for Internet Protocol version 6. It is the
successor to IPv4, which has been running out of addresses for years.
IPv4 uses 32-bit addresses. This gives us about 4.3 billion
addresses. That sounds like a lot, but the internet has grown far beyond that.
We have more devices than addresses available.
IPv6 uses 128-bit addresses. This gives us about 340
undecillion addresses. That is 340 with 36 zeros after it. This number is so
large that we will never run out of addresses.
Think of it like this: IPv4 is like a small apartment
building with only 4.3 billion rooms. IPv6 is like a planet with more rooms
than there are atoms on Earth.
IPv4 vs IPv6: The Key Differences
Before we dive deeper let us compare IPv4 and IPv6
directly.
|
Aspect |
IPv4 |
IPv6 |
|
Address Length |
32-bit |
128-bit |
|
Address Format |
Dotted decimal (192.168.1.1) |
Hexadecimal (2001:db8::1) |
|
Number of Addresses |
4.3 billion |
340 undecillions |
|
Subnet Mask |
255.255.255.0 |
Prefix length (/64) |
|
Configuration |
Manual or DHCP |
Stateless Autoconfiguration (SLAAC) or DHCPv6 |
|
NAT |
Required for private to public |
Not needed enough public addresses |
|
Security |
IPsec optional |
IPsec built-in |
IPv6 Address Format
An IPv6 address is 128 bits long. It is written as 8 groups
of 4 hexadecimal digits. Each group is separated by a colon.
Example: 2001:0db8:0000:0000: 0000:0000:0000:0001
This is the full format. But writing this is not practical.
That is why IPv6 has two rules to shorten addresses.
Rule 1: Leading Zeros Can Be Omitted
Each group can be shortened by removing leading zeros.
Example:
- 0db8 becomes db8
- 0000 becomes 0
- 0001 becomes 1
Shortened: 2001:db8:0:0: 0:0:0:1
Rule 2: Consecutive Zero Groups Can Be Replaced with:
You can replace one or more consecutive groups of zeros with
a double colon (: :). This can only be done once in an address.
Example:
- 2001:db8:0:0: 0:0:0:1 becomes 2001:db8::1
Another Example:
- 2001:0:0: 0:0:0: 0:1 becomes 2001::1
Important: You can only use once. If you use
it twice, the address becomes ambiguous.
IPv6 Address Types
IPv6 addresses are divided into three main types. Each type
has a specific purpose.
1. Global Unicast Address (GUA)
This is the IPv6 equivalent of a public IPv4 address. It is
globally routable on the internet.
Format: Starts with 2000: :/3 (2000 to
3FFF)
Example: 2001:db8:1:2::1
Use: Devices that need to communicate over the
internet.
2. Unique Local Address (ULA)
This is the IPv6 equivalent of a private IPv4 address (like
192.168.x.x). It is not routable on the internet.
Format: Starts with FC00: :/7 (FC00 to
FDFF)
Example: fd00:1:2:3::1
Use: Internal networks that do not need internet
access.
3. Link-Local Address (LLA)
This is an address that is automatically assigned to every
IPv6 interface. It is used only for communication on the same local network
segment.
Format: Starts with FE80: :/10
Example: fe80::1
Use: Communication between devices on the same
link. Routers use link-local addresses for routing protocols.
IPv6 Address Components
Every IPv6 address has two parts: the prefix and the
interface ID.
Prefix (Network Portion)
The prefix is the first part of the address. It identifies
the network. It is written as a prefix length, like /64.
Example: In 2001:db8:1:2::1/64, the prefix
is 2001:db8:1:2: :/64.
Interface ID (Host Portion)
The interface ID is the last part of the address. It
identifies the specific device on the network. It is usually 64 bits long.
Example: In 2001:db8:1:2::1/64, the
interface ID is::1.
IPv6 Configuration on Cisco Routers
Now let us get practical. Here is how you configure IPv6 on
a Cisco router.
Step 1: Enable IPv6 Routing
IPv6 routing is disabled by default. You must enable it.
text
Router(config)# ipv6 unicast routing
Step 2: Configure an IPv6 Address on an Interface
You can assign a static IPv6 address or use EUI-64.
Method 1: Static IPv6 Address
text
Router(config)# interface gig0/0
Router(config-if) # ipv6 address 2001:db8:1:1::1/64
Router(config-if) # no shutdown
Method 2: EUI-64 (Automatically Generates Interface ID
from MAC Address)
text
Router(config)# interface gig0/0
Router(config-if) # ipv6 address 2001:db8:1:1: :/64 eui-64
Router(config-if) # no shutdown
Step 3: Verify Your Configuration
Use the following commands to check your IPv6 settings.
text
Router# show ipv6 interface brief
Router# show ipv6 route
Real-World Example: Configuring IPv6 on Two Routers
Let us say you have two routers connected back-to-back.
R1 Configuration:
text
R1(config)# ipv6 unicast routing
R1(config)# interface gig0/0
R1(config-if) # ipv6 address 2001:db8:1:1::1/64
R1(config-if) # no shutdown
R2 Configuration:
text
R2(config)# ipv6 unicast routing
R2(config)# interface gig0/0
R2(config-if) # ipv6 address 2001:db8:1:1::2/64
R2(config-if) # no shutdown
Test Connectivity:
text
R1# ping 2001:db8:1:1::2
If the ping is successful, IPv6 is working correctly.
Summary: What You Learned Today
|
Concept |
What You Now Know |
|
IPv6 |
The next-generation IP protocol with 128-bit addresses. |
|
IPv4 vs IPv6 |
IPv6 has more addresses, no NAT, and simplified
configuration. |
|
Address Format |
8 groups of 4 hex digits. Leading zeros omitted. for
consecutive zeros. |
|
Types |
Global Unicast (public), Unique Local (private),
Link-Local (local only). |
|
Prefix |
The network portion of the address. |
|
Interface ID |
The host portion of the address. |
|
Configuration |
Enable ipv6 unicast routing and assign addresses
to interfaces. |
📌 Related: Read Subnetting Made Easy and Wildcard Mask Explained for more networking basics.
Your Action Step for Today
- Open
Cisco Packet Tracer.
- Create
two routers connected with a cable.
- Enable
IPv6 routing on both routers.
- Assign
IPv6 addresses to the interfaces.
- Ping
from one router to the other.
- Comment
below with your results.
Final Words
IPv6 is not a monster. It is simply the next version of IP.
Once you understand the format, the types, and the configuration, it becomes
easy.
Do not skip IPv6 in your studies. It is tested on the CCNA
exam, and it is used in real networks. The sooner you learn it, the better.
Remember: 2001:db8::1 is just an address. It is
not something to fear.
➡️ Next: How to Read a Cisco Routing Table Like a Pro
P.S. If this guide helped you, share it with
someone who is struggling with IPv6.

0 Comments