IPv6 Addresses

IPV6 ADDRESS SYNTAX

IPv4 addresses are represented in dotted-decimal format. The 32-bit IPv4 address is divided along 8-bit boundaries. Each set of 8 bits is converted to its decimal equivalent and separated by periods. For IPv6, the 128-bit address is divided along 16-bit boundaries, and each 16-bit block is converted to a 4-digit hexadecimal number and separated by colons. The resulting representation is called colon hexadecimal.

The following is an IPv6 address in binary form: 0010000111011010000000001101001100000000000000000010111100111011
0000001010101010000000001111111111111110001010001001110001011010

The 128-bit address is divided along 16-bit boundaries: 0010000111011010 0000000011010011 0000000000000000 0010111100111011
0000001010101010 0000000011111111 1111111000101000 1001110001011010

Each 16-bit block is converted to hexadecimal and delimited with colons.
The result is: 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A

IPv6 address representation is further simplified by suppressing the leading zeros within each 16-bit block. However, each block must have at least a single digit. With leading zero suppression, the result is: 21DA:D3:0:2F3B:2AA:FF:FE28:9C5A


IPV4 ADDRESSES AND IPV6 EQUIVALENTS

IPv4 ADDRESSES:
Internet address classes
Multicast addresses (224.0.0.0/4)
Broadcast addresses
Unspecified address is 0.0.0.0
Loopback address is 127.0.0.1
Public IP addresses
Private IP addresses (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16)
APIPA addresses (169.254.0.0/16)
Text representation: Dotted decimal notation
Network bits representation: Subnet mask in dotted decimal notation or prefix length

IPv6 ADDRESSES:
Not applicable in IPv6
IPv6 multicast addresses (FF00::/8)
Not applicable in IPv6
Unspecified address is ::
Loopback address is ::1
Aggregatable global unicast addresses
Site-local addresses (FEC0::/48)
Link-local addresses (FE80::/64)
Text representation: Colon hexadecimal format with suppression of leading zeros and zero compression. IPv4-compatible addresses are expressed in dotted decimal notation.
Network bits representation: Prefix length notation only


***Share your comments about the post***