官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 买车| 土默特左旗| 沙河市| 阜宁县| 宜宾市| 丰镇市| 江阴市| 武威市| 永济市| 厦门市| 青岛市| 岗巴县| 通海县| 尼勒克县| 乐清市| 庐江县| 蓝山县| 新宁县| 谷城县| 当阳市| 甘南县| 商南县| 旺苍县| 南华县| 嵊泗县| 响水县| 大埔区| 德州市| 游戏| 永寿县| 都昌县| 南涧| 始兴县| 亳州市| 石嘴山市| 岱山县| 冀州市| 金堂县| 甘南县| 驻马店市| 青铜峡市|