What is Internet Protocol Version 6 (Pv6) (original) (raw)

Last Updated : 4 Oct, 2025

IPv6 is the upgraded Internet Protocol, designed to meet the growing demand for IP addresses that IPv4 cannot handle due to its limited address space.

**Key Features of IPv6:

Components in IPv6 Address Format

abcd_ef01_2345_6789_abcd_b201_5482_d023

Example of IPV6 Address

Need For IPv6

IPv6 was mainly introduced to solve IPv4 address depletion caused by the rapid growth of devices (especially IoT) and to improve efficiency, support multimedia, and enhance security. Key features include:

  1. **Large Address Space: 128-bit addresses (vs 32-bit in IPv4) vastly increase available addresses.
  2. **Better Header Format: Base header separated from optional fields, speeding up routing.
  3. **New Options & Extensibility: Allows additional functionalities and future protocol extensions.
  4. **Resource Allocation: New fields Traffic Class and Flow Label enable special handling for real-time audio/video.
  5. **Enhanced Security: Built-in encryption and authentication ensure confidentiality and integrity.
  6. **Addressing Methods: Supports Unicast, Multicast, and Anycast.

Addressing Methods

**Note: Broadcast is not defined in IPv6.

**Types of IPv6 Address

We have 128 bits in IPv6 address but by looking at the first few bits we can identify what type of address it is.

Prefix Allocation Fraction of Address Space
0000 0000 Reserved 1/256
0000 0001 Unassigned (UA) 1/256
0000 001 Reserved for NSAP 1/128
0000 01 UA 1/64
0000 1 UA 1/32
0001 UA 1/16
001 Global Unicast 1/8
010 UA 1/8
011 UA 1/8
100 UA 1/8
101 UA 1/8
110 UA 1/8
1110 UA 1/16
1111 0 UA 1/32
1111 10 UA 1/64
1111 110 UA 1/128
1111 1110 0 UA 1/512
1111 1110 10 Link-Local Unicast Addresses 1/1024
1111 1110 11 Site-Local Unicast Addresses 1/1024
1111 1111 Multicast Address 1/256

**Note: In IPv6, all 0’s and all 1’s can be assigned to any host, there is not any restriction like IPv4.

**Provider-Based Unicast Address

Used for global communication in IPv6.

Provider-based Unicast address

Registry ID

Geography-Based Unicast Address

These are designed for **location-based routing.

IP_v6_5

Geography-Based Unicast Address

Some Special Addresses

**1. **Unspecified

 Unspecified address**2. Loopback

Loopback Address**3. IPv4 Compatible

IPv4 Compatible **4. IPv4 mapped

IPv4 mapped**Local Unicast Addresses

These are of two types:

Link-Local Address

A link-local address is used for addressing a single link. It can also be used to communicate with nodes on the same link. The link-local address always begins with 1111111010 (i.e. FE80). The router will not forward any packet with Link-local address.

**2. Site Local Address

Site Local Address

Site local addresses are equivalent to a private IP address in IPv4. Likely, some address space is reserved, which can only be routed within an organization. The first 10-bits are set to 1111111011, which is why Site local addresses always begin with FEC0. The following 32 bits are Subnet IDs, which can be used to create a subnet within the organization. The node address is used to uniquely identify the link; therefore, we use a 48-bits MAC address here.

Advantages of IPv6

Disadvantages of IPV6