Lecture-14
Lecture-14
VERSION 6 (IPv6)
Introduction
IPv6 is Internet protocol version 6.
Following are its distinctive features as
compared to IPv4.
◦ Header format simplification
◦ Expanded routing and addressing
capabilities
◦ Improved support for extensions and
options
◦ Flow labeling (for QoS) capability
◦ Auto-configuration and Neighbour
discovery
◦ Authentication and privacy capabilities
◦ Simple transition from IPv4
WHY IPv6?
Simplified header
IPv4
32 bits
= 4,294,967,296 possible addressable devices
IPv6
128 bits: 4 times the size in bits
= 3.4 x 1038 possible addressable devices
=
340,282,366,920,938,463,463,374,607,431,768,211,456
∼ 5 x 1028 addresses per person on the planet
Header Changes
between IPv4 & IPv6
Version HLen TOS Length Removed (6)
Id Flags Offset • ID, flags, flag offset
TTL Protocol Checksum • TOS, hlen
Source Addr • header checksum
Destination Addr
Pad Changed (3)
Options (variable) (variable)
• total length => payload
IPv4 • protocol => next header
version
V Traffic Class Flow Label • TTL => hop limit
Payload Length Next Header Hop Limit Added (2)
• traffic class
SourceAddr (4 words)
• flow label
DestinationAddr (4 words) Expanded
• address 32 to 128 bits
IPv6
IPv6 Packet Format
3FFE:85B:1F1F::A9:1234
Site-local address
10 bits 38 bits 16 bits 64 bits
1111111011 0 subnet ID Interface ID
Differences Between IPv4 & IPv6
Feature IPv4 IPv6
Unicast
◦ One address on a single interface
◦ Delivery to single interface
Multicast
◦ Address of a set of interfaces
◦ Delivery to all interfaces in the set
Anycast
◦ Address of a set of interfaces
◦ Delivery to a single interface in the set
No broadcast addresses
IPv6 Extension Headers