converted to binary 0010-0000-0000-0001:0010-1110-1011-1000:1010-1101-110
0-0001:0101-0100-1110-1101:0001-0001-0000-0000:0110-10 01-0111-1010:0011-0010-0001-0000:0011-0011-0011-0001 IPv6 ● 128 bit address colon separated hexadecimal notation (8 hextets) ● Link-local address on each interface (locally significant only) ● Multiple routable addresses allowed on each interface ○ Global unicast (GUA) - unicast, routable on the Internet ○ Unique local - unicast, similar to IPv4 private address ○ Anycast - the same unicast address on multiple devices ● Multicast addresses (no broadcast addresses) ● /Network prefix - in slash decimal notation /64 (no subnet masks)
Global unicast address 2001:2EB8:ADC1:54ED:1100:697A:3210:3331 /64
Link-local address FE80::1100:697A:3210:3331 /10
IPv6 Network Prefix ● The network prefix separates the network portion from the interface ID ● The network prefix refers to the number of bits in the network portion
Network (64 bits) Interface ID
Global unicast address 2001:2EB8:ADC1:54ED:1100:697A:3210:3331 /64
Network (96 bits) Interface ID
Global unicast address 2001:2EB8:ADC1:54ED:0000:0000:0000:0F31 /96
Network (128 bits - single host/network of one)
Global unicast address 2001:2EB8:ADC1:54ED:0000:0000:0000:0F31 /128
IPv6 Global Unicast Address ● The network portion of the global unicast address is hierarchically structured
Global Routing Prefix Subnet Interface ID prefix
2001 00A1 2233 0001 0800:27FF:FE00:0008 /64
/64 subnet prefix
/48 site prefix /32 provider prefix /23 regional registry /3 IANA global prefix IPv6 Address Compression ● Leading zeros can be omitted (trailing zeros cannot) ● A single instance of continuous zeros can be replaced with a double colon :: ● When decompressing remember there are supposed to be 8 hextets of 4 hexadecimal characters each
global address 2001:0EB8:00C1:2200:0001:0000:0000:0331 /64
leading zeros 2001:0EB8:00C1:2200:0001:0000:0000:0331 /64
(RA) FE80::x FF02::1 ● sent periodically, ● sent in response to a IPv6 prefixes (one or more) 2000:1234:ABCD:EF22:: /64 router solicitation (RS) Router lifetime information 0 (not default), 1 - 9000 seconds
(NA) FE80::x or all-nodes multicast ● response to (NS), FF02::1 ● used to announce a link-layer address R=router flag-neighbor unreach change S=solicited flag-response to NS O=override flag-update address IPv6 Address Types Type Purpose Prefix
Global Unicast routable on the Internet 2000:: /3
Link Local local link/network (only) FE80:: /10
Multicast sending to groups (no broadcast) FF00:: /8
Unique Local routable on a LAN (private address) FC00::/8 FD00::/8
Modified EUI-64 converts 48 bit MAC to 64 bit host ID 7th bit flipped + FF:FE inserted
Autoconfiguration stateless address autoconfiguration (SLAAC) RS RA NS NA (ICMPv6 - NDP)
Anycast shared address, used to send to nearest syntactically identical to
available device interface unicast (identified as anycast) 2001:DB8:1::/64 (all zeros ID) IPv6 Addresses IPv6 Address Purpose
::/0 all unknown networks - used for default route