IPv6 Addressing Explained for Beginners

IPv6 Addressing Explained for Beginners
Networking ATN Campus September 25, 2026 40 views

IPv6 Addressing Explained for Beginners

```

IPv6 (Internet Protocol version 6) is the newer version of the Internet Protocol designed to provide a vastly larger address space than IPv4.

IPv6 addresses are written using hexadecimal notation and use a 128-bit address format. IPv6 also introduces important addressing concepts such as global unicast, link-local, multicast, and SLAAC.

In this guide, we will learn how IPv6 addresses are written, how IPv6 prefixes work, the difference between global unicast and link-local addresses, how multicast works, and how devices can automatically configure IPv6 addresses using SLAAC.

```

What Is IPv6?

```

IPv6 stands for Internet Protocol version 6. It uses 128-bit addresses instead of IPv4's 32-bit addresses.

    IPv4
    32-bit address

    Example:
    192.168.1.10


    IPv6
    128-bit address

    Example:
    2001:db8:1234:1::10

The much larger IPv6 address space provides a very large number of possible addresses for modern networks and devices.

```

What Does an IPv6 Address Look Like?

```

IPv6 addresses are normally written as eight groups of four hexadecimal digits separated by colons.

    2001:0db8:0000:0000:0000:0000:0000:0010

Each group is called a hextet and represents 16 bits.

    8 hextets × 16 bits = 128 bits

    2001 : 0db8 : 0000 : 0000 : 0000 : 0000 : 0000 : 0010
      1      2      3      4      5      6      7      8
```

IPv6 Uses Hexadecimal

```

IPv6 uses hexadecimal digits:

    0 1 2 3 4 5 6 7 8 9 A B C D E F

Letters may be written in either uppercase or lowercase.

    2001:DB8::1

    and

    2001:db8::1

    represent the same address.
```

How Can IPv6 Addresses Be Shortened?

```

IPv6 provides rules that make long addresses easier to write.

Rule 1: Remove Leading Zeros

    0db8 → db8
    0001 → 1
    0010 → 10

For example:

    2001:0db8:0000:0000:0000:0000:0000:0010

    becomes:

    2001:db8:0:0:0:0:0:10

Rule 2: Use Double Colon for Consecutive Zero Groups

    2001:db8:0:0:0:0:0:10

    becomes:

    2001:db8::10

The :: notation can represent one or more consecutive groups of zeros and can be used only once in a single IPv6 address.

```

What Is an IPv6 Prefix?

```

IPv6 networks use prefix lengths to identify the network portion of an address.

    2001:db8:1234:1::10/64

    Address:
    2001:db8:1234:1::10

    Prefix:
    /64

A /64 prefix is very common for IPv6 LAN subnets. It means the first 64 bits identify the prefix and the remaining 64 bits identify the interface portion within that subnet.

```

Major IPv6 Address Types

```

IPv6 includes several important address categories.

Type Purpose Example
Global Unicast Globally routable IPv6 addressing 2001:db8:1::10
Link-Local Communication on the local link fe80::1
Multicast One-to-many communication ff02::1
Unique Local Private/internal IPv6 addressing fd00::/8
```

What Is a Global Unicast Address?

```

A Global Unicast Address is an IPv6 address that is designed to be globally routable.

    Example:

    2001:db8:1234:1::10/64

    Global Unicast
          |
          v
    Can be used for
    routed communication

The 2000::/3 range is commonly associated with global unicast addressing in IPv6.

In documentation and examples, 2001:db8::/32 is reserved for documentation and should not be treated as a real public Internet prefix.

```

What Is a Link-Local Address?

```

IPv6 devices automatically use link-local addresses for communication on the local network segment.

Link-local IPv6 addresses use the fe80::/10 range.

    fe80::1

    fe80::abcd:1234:5678:9abc

Link-local addresses are not intended to be routed between different links. They are important for local IPv6 operations, including neighbor discovery and routing-protocol communication.

```

IPv6 Link-Local Example

```
    PC-A                         PC-B
    fe80::10                     fe80::20
         |                           |
         +--------- Switch ----------+

Devices can communicate locally using link-local addresses. Because a link-local address can exist on multiple interfaces, a zone or interface identifier may be required by some operating systems when referring to one.

```

What Is Multicast in IPv6?

```

IPv6 uses multicast for one-to-many communication.

IPv6 multicast addresses begin with:

    ff00::/8
         Multicast Group
                |
      +---------+---------+
      |         |         |
      v         v         v
     PC-A      PC-B      PC-C

Unlike IPv4 broadcast, IPv6 does not use a broadcast address. IPv6 uses multicast for functions that need one-to-many delivery.

```

Important IPv6 Multicast Addresses

```
Address Meaning
ff02::1 All IPv6 nodes on the local link
ff02::2 All IPv6 routers on the local link
```

What Is SLAAC?

```

SLAAC stands for Stateless Address Autoconfiguration. It allows an IPv6 host to automatically configure an IPv6 address using information advertised by a router.

    IPv6 Router
         |
         | Router Advertisement
         v
    IPv6 Host
         |
         v
    Creates IPv6 Address

SLAAC can allow a host to learn an IPv6 prefix and configure an address without requiring a traditional DHCPv4-style address assignment process.

```

How Does SLAAC Work?

```
  1. A host joins an IPv6 network.
  2. The host uses IPv6 Neighbor Discovery mechanisms.
  3. A router sends a Router Advertisement (RA).
  4. The RA provides network configuration information, including a prefix.
  5. The host configures an IPv6 address using the advertised prefix and local interface information.
  6. The host performs address checks according to IPv6 mechanisms before using the address.
    Host
     |
     | Neighbor Discovery
     v
    Router
     |
     | Router Advertisement
     |
     v
    Prefix: 2001:db8:10:1::/64
     |
     v
    Host configures:

    2001:db8:10:1::xxxx/64
```

IPv6 Neighbor Discovery

```

IPv6 does not use ARP. Instead, IPv6 uses the Neighbor Discovery Protocol (NDP), which is based on ICMPv6.

NDP supports functions such as:

  • Neighbor discovery
  • Router discovery
  • Router Advertisements
  • Address resolution
  • Neighbor reachability detection
  • Redirect functionality
    IPv4
    IPv4 Address
         |
        ARP
         |
    MAC Address


    IPv6
    IPv6 Address
         |
        NDP
      ICMPv6
         |
    Link-Layer Address
```

IPv6 Addressing Example

```
    Network:

    2001:db8:100:1::/64

    Router:

    2001:db8:100:1::1/64

    PC-A:

    2001:db8:100:1::10/64

    PC-B:

    2001:db8:100:1::20/64

All three addresses belong to the same /64 IPv6 subnet.

```

IPv6 Addressing Compared with IPv4

```
Feature IPv4 IPv6
Address Size 32 bits 128 bits
Notation Decimal Hexadecimal
Example 192.168.1.10 2001:db8::10
Broadcast Supported No broadcast address
Address Resolution ARP NDP / ICMPv6
Automatic Configuration DHCP and other methods SLAAC and/or DHCPv6
```

IPv6 Address Scope

```

IPv6 addresses can have different scopes depending on how and where they are intended to be used.

    IPv6 Addressing

    +---------------------+
    |     Global          |
    |  Internet Routing   |
    +---------------------+

    +---------------------+
    |    Link-Local       |
    |   Local Link Only   |
    +---------------------+

    +---------------------+
    |     Multicast       |
    |   Group Delivery    |
    +---------------------+
```

Basic Cisco IPv6 Configuration

```

A basic Cisco IPv6 interface configuration can look like this:

```

Router(config)# ipv6 unicast-routing

Router(config)# interface GigabitEthernet0/0
Router(config-if)# ipv6 address 2001:db8:10:1::1/64
Router(config-if)# no shutdown 
```

The ipv6 unicast-routing command enables IPv6 routing on Cisco IOS platforms where that command is required.

```

Configuring a Link-Local Address

```
```

Router(config)# interface GigabitEthernet0/0
Router(config-if)# ipv6 address fe80::1 link-local 
```

IPv6 interfaces can have both global unicast and link-local addresses.

```

Useful IPv6 Commands

```

Display IPv6 Interfaces

```

Router# show ipv6 interface brief 
```

Display IPv6 Routing Table

```

Router# show ipv6 route 
```

Display IPv6 Neighbors

```

Router# show ipv6 neighbors 
```

Test IPv6 Connectivity

```

Router# ping ipv6 2001:db8:10:1::10 

Common IPv6 Problems

```

1. IPv6 Address Is Not Working

  • Check the interface status.
  • Check the IPv6 address and prefix length.
  • Check whether the correct subnet is configured.
  • Check link-local addresses.

2. SLAAC Is Not Working

  • Check whether the router interface is active.
  • Check Router Advertisement behavior.
  • Check the advertised prefix.
  • Check host IPv6 configuration.

3. IPv6 Neighbor Communication Fails

  • Check NDP neighbor information.
  • Check ICMPv6 filtering.
  • Check Layer 2 connectivity.
  • Check the interface and subnet configuration.
```

Practical IPv6 Lab

```
          Router
             |
      2001:db8:10:1::/64
             |
    +--------+--------+
    |                 |
   PC-A              PC-B

PC-A:
2001:db8:10:1::10/64

PC-B:
2001:db8:10:1::20/64

Router:
2001:db8:10:1::1/64

Lab Objectives

  1. Enable IPv6 routing.
  2. Configure an IPv6 /64 subnet.
  3. Configure a router IPv6 address.
  4. Configure IPv6 addresses on hosts.
  5. Observe link-local addresses.
  6. Verify IPv6 neighbors.
  7. Test IPv6 connectivity.
  8. Experiment with SLAAC.
  9. Inspect the IPv6 routing table.
```

Quick IPv6 Quiz

```

1. How many bits does an IPv6 address contain?

Show Answer

128 bits.

2. What is the IPv6 link-local range?

Show Answer

fe80::/10.

3. What does SLAAC stand for?

Show Answer

Stateless Address Autoconfiguration.

4. Does IPv6 use ARP?

Show Answer

No. IPv6 uses Neighbor Discovery Protocol (NDP), based on ICMPv6, for functions such as address resolution and neighbor discovery.

5. What does ff00::/8 represent?

Show Answer

IPv6 multicast addresses.

```

Key Takeaways

```
  • IPv6 uses 128-bit addresses.
  • IPv6 addresses are written using hexadecimal notation.
  • IPv6 commonly uses /64 prefixes for LAN subnets.
  • Global unicast addresses are designed for routed communication.
  • Link-local addresses use the fe80::/10 range.
  • IPv6 uses multicast instead of broadcast.
  • SLAAC allows hosts to configure IPv6 addresses using router advertisements.
  • IPv6 uses NDP instead of ARP.
  • Understanding IPv6 addressing is essential for modern networking.
```
```

Want to Learn IPv6 and Modern Networking? Visit ATN Campus

Want to learn IPv6, IPv4, subnetting, routing, switching, VLANs, network security, and network troubleshooting through practical training?

Visit ATN Campus and build your networking skills through clear theory, practical hands-on labs, Cisco configurations, and real-world networking scenarios.

Learn More Than Just IPv6

  • CCNA – Cisco Certified Network Associate
  • CCNP – Cisco Certified Network Professional
  • IPv4 & IPv6 Networking
  • Routing & Switching
  • OSPF & Dynamic Routing
  • BGP & Advanced Routing
  • Subnetting & IP Addressing
  • Network Security
  • CEH – Certified Ethical Hacker
  • Cisco CyberOps
  • Cloud Networking
  • Python for Network Automation
  • Practical Cisco Networking Labs

Whether you are learning networking from the beginning, preparing for CCNA or CCNP, or developing practical IPv6 and troubleshooting skills, ATN Campus helps you move from theory to hands-on networking.

???? Want to learn networking? Visit ATN Campus.

???? Learn Networking. ???? Master IPv4 & IPv6. ???? Master Routing & Switching. ???? Practice with Real Labs. ???? Prepare for Certifications. ???? Build Your IT Career with ATN Campus.
```
Document ATN CAMPUS