Ipv6 Cheat Sheet

ADVERTISEMENT

IPv6 Cheat Sheet
IPv6 Extension Headers
IPv6 Header
TCP Header
( NH = Next Header )
NH = TCP
+ Data
IPv6 Header
Version (4)
Traffic Class (8)
Flow Label (20)
IPv6 Header
Routing Header
TCP Header
NH = Routing
NH = TCP
+ Data
Payload Length (16)
Next Header (8)
Hop Limit (8)
Source Address (128 bits) [16 bytes]
IPv6 Header
Routing Header
Fragment Header
TCP Header
NH = Routing
NH = Fragment
NH = TCP
+ Data
Destination Address (128 bits) [16 bytes]
Version : IP version number (6).
IPv6 Addressing
* Deprecated
Traffic class : Used by originating nodes and/or forwarding routers to
Address Type
Binary Prefix
IPv6 Notation
identify
and distinguish between different classes or priorities of IPv6 packets.
Unspecified
00...0 (128 bits)
::/128
Flow label : Used by a source to label sequences of packets for which it
Loopback
00...1 (128 bits)
::1/128
requests special handling by the IPv6 routers.
Payload Length : Length of the IPv6 payload (also the extension headers).
Multicast
11111111
FF00::/8
Next Header : Identifies the type of header following the IPv6 header.
Link-local unicast
1111111010
FE80::/10
Hop Limit : Decremented by 1 by each node that forwards the packet.
Site-local unicast*
1111111011
FEC0::/10
Source Address : Address of the originator of the packet
Destination Address : Address of the intended recipient of the packet
Unique local unicast
1111110000
FC00::/7
(possibly not the ultimate recipient, if a Routing header is present)
Global unicast
(everything else)
General Format for IPv6 Global Unicast Addresses
Anycast
Unicast address assigned to multiple interfaces.
Global routing prefix (n bits)
Subnet ID (m)
Interface ID (128-n-m)
IPv4-Compatible IPv6*
0:0:0:0:0:0:A.B.C.D
IPv6 Global Unicast Addresses (not starting with binary value 000)
IPv4-Mapped IPv6
0:0:0:0:0:FFFF:A.B.C.D
! 000
Global routing prefix (n)
Subnet ID (64-1)
Interface ID (64)
6to4
2002::/16
IPv6 Global Unicast Addresses (2000::/3 prefix, IANA delegated)
Well Known Multicast Addresses
001
Global routing prefix (45)
Subnet ID (16)
Interface ID (64)
FF01:0:0:0:0:0:0:1
All Nodes Addresses
Interface-local
IPv4-compatible IPv6 address
FF02:0:0:0:0:0:0:1
All Nodes Addresses
Link-local
0 (80 bits)
0 (16 bits)
IPv4 address (32 bits)
FF01:0:0:0:0:0:0:2
All Routers Addresses
Interface-local
IPv4-mapped IPv6 Address
FF02:0:0:0:0:0:0:2
All Routers Addresses
Link-local
0 (80 bits)
FFFF (16 bits)
IPv4 address (32 bits)
FF05:0:0:0:0:0:0:2
All Routers Addresses
Site-local
Link-Local IPv6 Unicast Address (FE80::/10 )
FF02:0:0:0:0:1:FFXX:XXXX
Solicited-Node Address
Link-local
1111111010 (10 bits)
0 (54 bits)
Interface ID (64 bits)
FF02:0:0:0:0:0:0:4
DVMRP Routers
Link-local
Site-Local IPv6 Unicast Address (FEC0::/10)
FF02:0:0:0:0:0:0:5
OSPFIGP
Link-local
1111111011 (10 bits)
Subnet ID (54)
Interface ID (64 bits)
FF02:0:0:0:0:0:0:6
OSPFIGP DRs
Link-local
Subnet-Router Anycast Address
FF02:0:0:0:0:0:0:9
RIP Routers
Link-local
Subnet Prefix (n bits)
0 (128-n)
FF02:0:0:0:0:0:0:D
All PIM Routers
Link-local
Ethernet Types
IPv6 Option Types (8 bits, 3 fields)
FF02:0:0:0:0:0:0:16
All MLDv2 Routers
Link-local
act - 2 bits
FF02:0:0:0:0:0:1:2
All DHCP Agents
Link-local
0800 IPv4
00 skip over option
0806 ARP
01 silently discard
FF05:0:0:0:0:0:1:3
All DHCP Servers
Site-local
8035 Reverse ARP
10 discard and send ICMP
FF0X:0:0:0:0:0:0:101
Network Time Protocol
Variable Scope
86DD IPv6
11 discard and send ICMP, if unicast
8847 MPLS Unicast
chg - 1 bit
Multicast Address
Scope
8848 MPLS Multicast
0 = option data does not change en-route
1 Interface-local
8863 PPoE (Discovery stage)
1 = option data may change en-route
FF
Flags
Scope
Group ID
2 Link-local
(8 bits)
(4)
(4)
(112)
8864 PPoE (PPP sess stage)
rest - 5 bits, the rest of the Option Type
4 Admin-local
Flags (000T)
5 Site-local
IPv6 Next Header Fields
ICMPv6 Informational Messages
T = 0 Well-known
8 Organization-local
041
IPv6
T = 1 Transient
E Global
128 Echo Request
000
IPv6 Hop-by-Hop Option
129 Echo Reply
060
Destination Options for IPv6
ICMPv6 Error Messages (Type/Code)
130 Multicast Listener Query
043
Routing Header for IPv6
131 Multicast Listener Report
1
Destination Unreachable
044
Fragment Header for IPv6
132 Multicast Listener Done
0 - no route to destination
051
Authentication Header (AH)
133 Router Solicitation
1 - communication with destination
050
Encap Security Payload (ESP)
134 Router Advertisement
administratively prohibited
059
No Next Header for IPv6
135 Neighbor Solicitation
2 - (not assigned)
136 Neighbor Advertisement
3 - address unreachable
002
Internet Group Management (IGMP)
137 Redirect Message
4 - port unreachable
006
Transmission Control (TCP)
138 Router Renumbering
2
Packet Too Big
017
User Datagram (UDP)
139 ICMP Node Information Query
3
Time Exceeded
046
Reservation Protocol (RSVP)
140 ICMP Node Information Response
0 - hop limit exceeded in transit
047
General Routing Encapsulation (GRE)
143 Version 2 Multicast Listener Report
1 - fragment reassembly time exceeded
055
IP Mobility (MOBILE)
144 Home Agent Address Discovery Request
4
Parameter Problem
058
ICMP for IPv6 (ICMPv6)
145 Home Agent Address Discovery Reply
0 - erroneous header field
089
OSPFIGP
146 Mobile Prefix Solicitation
1 - unrecognized Next Header type
094
IP-within-IP Encapsulation Protocol (IPIP)
147 Mobile Prefix Advertisement
2 - unrecognized IPv6 option
103
Protocol Independent Multicast (PIM)
128 - 255 Informational Messages
0-127 Error Messages
135
Mobility Header

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go