MCSA Windows Server 2016 Certification Guide:Exam 70-741
上QQ阅读APP看书,第一时间看更新

Converting from binary to hexadecimal notation

IPv4 addressing uses decimal notation and IPv6 uses hexadecimal notation, where the 128-bit address is divided into 16-bit chunks.

For example, the following number is a binary form of an IPv6 address:

00111101101011110010000000001011000000000000010000111100111100100100000011111110000000000000000001010000111111101111111110101011

The 128-bit-long binary address number is divided into 16-bit-long chunks, as follows:

0011110110101111 0010000000001011 0000000000000100 0011110011110010 0100000011111110 0000000000000000 0101000011111110 1111111110101011

Each binary chunk is then converted to a hexadecimal format and the blocks are separated by colons:

3DAF:200B:0004:3CF2:40FE:0000:50FE:FFAB

The following table shows the decimal values and their corresponding hexadecimal and binary values: