IPv6 Header (RFC 2460)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Byte Offset 0
Byte Offset 1
Byte Offset 2
Byte Offset 3
40 Bytes
Version
(4-bit)
Traffic Class (8-bit)
Flow Label (20-bit)
Byte Offset 4
Byte Offset 5
Byte Offset 6
Byte Offset 7
Payload Length (16-bit)
Next Header (8-bit)
Hop Limit (8-bit)
Byte Offset 8
Byte Offset 9
Byte Offset 10
Byte Offset 11
Source IP Address (128-bit)
Byte Offset 12
Byte Offset 13
Byte Offset 14
Byte Offset 15
Source IP Address (cont.)
Byte Offset 16
Byte Offset 17
Byte Offset 18
Byte Offset 19
Source IP Address (cont.)
Byte Offset 20
Byte Offset 21
Byte Offset 22
Byte Offset 23
Source IP Address (cont.)
Byte Offset 24
Byte Offset 25
Byte Offset 26
Byte Offset 27
Destination IP Address (128-bit)
Byte Offset 28
Byte Offset 29
Byte Offset 30
Byte Offset 31
Destination IP Address (cont.)
Byte Offset 32
Byte Offset 33
Byte Offset 34
Byte Offset 35
Destination IP Address (cont.)
Byte Offset 36
Byte Offset 37
Byte Offset 38
Byte Offset 39
Destination IP Address (cont.)
Byte Offset 40
Byte Offset 41
Byte Offset 42
Byte Offset 43
Variable Length
Next Header (8-bit)
Extension Header Information (variable length…)
data (variable length…)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
IP Version Number
6 for IP version 6
4 for IP version 4
Traffic Class
8-bit field similar to IPv4 type of service field
Flow Label
Payload Length
The total length of the data portion of the packet
Next Header
Similar to the protocol field of IPv4 packet header
Hop Limit:
Similar to Time to Live field in IPv4 packet header
Source Address
128-bit source address field
Destination Address
128-bit destination address field
IPv6 (cont.)
A IPv6 Address is 16 bytes (128 bits) this give us 3.4 X 10^38
Samble IPv6 Address:
2001:
0db8:
abdc:
1234:
0000:
0000:
9865:
4321
Global Prefix
Subnet
Interface ID
Special IPv6 Addresses
Address
Description
0:0:0:0:0:0:0:0
Equal ::. This is the equivalent to IPv4's 0.0.0.0.
0:0:0:0:0:0:0:1
Equals ::1. This is equivalent to IPv4's local host of 127.0.0.1.
0:0:0:0:0:0:0:192.168.100.1
IPv4 address written in a mixed IPv6 / IPv4 network environment.
2000::/3
The global unicast address range.
FC00::/7
The unique local unicast range. Same Idea as the IPv4 RFC 1918 private addresses.
FE80::/10
The link-local unicast range. Same Idea as the IPv4 RFC 1918 private addresses.
But for on a single LAN. Non routeable.
FF00::/8
The multicast range.
3FFF:FFF::/32
Reserved for examples and documentation.
2001:0DB8::/32
Reserved for examples and documentation.
2002::/16
Used with 6to4, which is the strucuture that allows IPv6 packets to be transmitted
over an IPv4 network without the need to configure explicit tunnels.