IPv6: Internet Protocol version 6
Protocol Description
Internet Protocol version 6 (IPv6) is the new version of Internet Protocol (IP) based on IPv4. It is a network-layer (Layer 3) protocol that contains addressing information and some control information enabling packets to be routed in the network. IPv6 is also called the next generation IP or IPng.
The most significant change in IPv6 is increasing the IP address size from 32 bits in IPv4 to 128 bits, to support more levels of addressing hierarchy, a much greater number of addressable nodes, and simpler auto-configuration of addresses. There are three types of IP addresses in IPv6: Unicast, Multicast and Anycast. Broadcast no longer exists in IPv6, which becomes a special form of multicast. IPv6 addresses are expressed in hexadecimal format (base 16), which allows not only numerals (0-9) but a few characters as well (a-f).
IPv6 fixes many shortages in IPv4 in addition to the limited number of available IPv4 addresses. IPv6 has enhanced network layer routing in two main areas: 1) Improved support for extensions and
options; 2) Flow labeling capability to differenciate the packets at network layer. The key benefits of introducing IPv6 are:
-
340 undecillion IP addresses for the whole world network devices
-
Plug and Play configuration with or without DHCP
-
Better network bandwidth efficiency using multicast and anycast without broadcast
-
Better QOS support for all types of applications
-
Improved support for extensions and options with better routing efficiency
-
Native information security framework for both data and control packets
-
Enhanced mobility with fast handover, better route optimization and hierarchical mobility
The following table compares the key characters of IPv6 vs. IPv4:
| Subjects | IPv4 | IPv6 | IPv6 Advantages |
| Address Space | 4 Billion Addresses | 3.4 x 1038 addresses | 79 Octillion times the IPv4 address space |
| Configuration | Manual or use DHCP | Universal Plug and Play (UPnP) with or without DHCP |
Lower Operation Expenses and less error |
| Broadcast / Multicast | Both | Broadcast is a form of multicast | Better bandwidth efficiency |
| Anycast | Not part of the original protocol | Explicit support of anycast | Allows for newer applications in mobility, data center, etc. |
| Routing efficiency | Need to process Option and Checksum by every router |
No checksum; Extended header for options. | Flexible extensions and options; better routing efficiency. |
| Network Reconfiguration | Mostly manual & Labor intensive | By design; Facilitate the re-numbering of hosts and routers |
Lower operation expenses and facilitate migration |
| QoS support | ToS using DIFFServ | Flow classes and flow labels | More Granular control of QoS |
| Security | IPsec for data packet protection | IPsec is the native technology to protect data and control packets |
Unified framework for security and more secure computing environment |
| Mobility | Mobile IPv4 | Mobile IPv6 | Better efficiency and scalability; Work with the latest 3G mobile technologies and beyond. |
Few in the industry would argue with the principle that IPv6 represents a major leap forward for the Internet and the users. However, given the magnitude of a migration that affects so many millions of network devices, it is clear that IPv4 and IPv6 will coexist for a long period of time.
Protocol Structure
| 4 | 12 | 16 | 24 | 32bit |
|---|---|---|---|---|
| Version | Traffic Class | Flow label | ||
| Payload length | Next header type | Hop limit | ||
| Source address (128 bits) |
||||
| Destination address (128 bits) |
||||
| Next header | Extension Header Information (optional and variable length) |
|||
| Data (Variable Length) |
||||
-
Version — Internet Protocol Version number (For IPv6 it is 6).
-
Traffic Class — enables a source to identify the desired delivery priority of the packets. Priority values are divided into ranges: traffic where the source provides congestion control and non-congestion control traffic.
-
Flow label — used by a source to label those packets for special handling by the IPv6 router. The flow is uniquely identified by the combination of a source address and a non-zero flow label.
-
Payload length — the length of the data portion of the packet.
-
Next headertype — identifies the type of header immediately following the IPv6 header. Hop limit specifies the maximum number of routers (hops) through which a packet can traverse before discarded. It is decremented by one by each node that forwards the packet. Source address – 128-bit address of the originator of the packet.Destination address – 128-bit
address of the intended recipient of the packet (possibly not the ultimate recipient, if a Routing header is present). Extension Header Information – an optional field with variable length. The following IPv6 extension headers are currently defined. -
Routing — Extended routing, like IPv4 loose source route
-
Fragmentation — Fragmentation and reassembly
-
Authentication — Integrity and authentication, security
-
Encapsulation — Confidentiality
-
Hop-by-Hop Option — Special options that require hop-by-hop processing
-
Destination Options — Optional information to be examined by the destination node
The format of IPv6 address is:
| 16 bits | 16 bits | 16 bits | 16 bits | 16 bits | 16 bits | 16 bits | 16 bits |
| aaaa | aaaa | aaaa | aaaa | aaaa | aaaa | aaaa | aaaa |
IPv6 address is classified in three types: Unicast, Multicast and Anycast. Unicast Address is applied to one network interface. The common global unicast address divisions:
| Global Routing Prefix (N bits) | Subnet ID (64-N bits) | Interface ID (64 bits) |
Link-local unicast address divisions:
| 1111111010 (10 bits) | 0×00…0 (54bits) | Interface ID (64 bits) |
Site-local unicast address divisions:
| 1111111011 (10 bits) | 0×00…0 | SLA | Interface ID (64 bits) |
(Interface ID is based on hardware MAC address.)
Multicast Address: applied for multiple network interfaces, and communication is conducted with all hosts with the same address.
| 0xFF (8 bits) | Flag (4bits) | Scope(4bits) | Group ID (64 bits) |
Anycast Address: applied for multiple network interfaces, but actual communication is conducted with one of them. It has the same format as the Unicast.
IPv4 mapped to IPv6 address:
| 0×00…0 (80 bits) | 0×00…0 (16 bits) | IPv4 Address (32 bits) |
IPv4-compatible IPv6 address:
| 0×00…0 (80 bits) | 0×00…0 (16 bits) | IPv4 Address (32 bits) |
Related Protocols IPv4, TCP, UDP, ICMPv6, Mobile IPv6, OSPFv3, BGP-MP, IPsec, RIPng
Sponsor Source IPv6 is defined by IETF (http://www.ietf.org) RFC 1883 (original) and RFC 2460 (latest).
Reference
http://www.javvin.com/protocol/rfc1883.pdf IPv6 Specifications (original) http://www.javvin.com/protocol/rfc2460.pdf IPv6 specifications (the latest) http://www.ipv6forum.com A good informational site
Incoming search terms:
- ipv6 efficiency
- working principle of IPv6
- principle of ipv6
- ipv6 extended header
- extended headers in ipv6
- Extended Header in IPv6
- ipv6 routing efficency
- ipv6 internet protocol version 6 book
- ipv6 Improved Support for Extensions and Options
- ipv6 extended headers
