Home > Common Problem > How many binary digits does an IPv6 address consist of?

How many binary digits does an IPv6 address consist of?

王林
Release: 2023-02-09 18:00:47
Original
128323 people have browsed it

The ipv6 address is composed of 128-bit binary numbers. IPv6 addresses are binary numbers represented in hexadecimal and have a 128-bit address length. An IPv6 IP address consists of 8 address sections, each section contains 16 address bits, and the total length is 16x8=128 bits.

How many binary digits does an IPv6 address consist of?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

The number of binary digits in an IPv6 address is 128 bits.

IP is the abbreviation of Internet Protocol. IP addresses are generated according to the rules of the IP protocol. IP addresses are the addresses of terminals such as mobile phones and computers on the Internet. They are the unique identities of terminals in cyberspace. logo.

IPv6 is the abbreviation of Internet Protocol Version 6. It is the next generation IP protocol designed by the Internet Engineering Task Force (IETF) to replace IPv4. Its number of addresses is said to be the largest in the world. Every grain of sand in the world is encoded with an address.

IPv6 is a globally recognized next-generation Internet commercial application solution. It is a next-generation Internet protocol version developed by the International Organization for Standardization IETF to solve the exhaustion of IPv4 addresses. It can provide massive network address resources and broad space for innovation. .

The biggest problem of IPv4 is the insufficient network address resources, which seriously restricts the application and development of the Internet. The use of IPv6 can not only solve the problem of the number of network address resources, but also solve the obstacles for multiple access devices to connect to the Internet.

The IPv6 address length is 128 bits, which is 4 times the IPv4 address length. An IPv6 IP address consists of 8 address sections, each section contains 16 address bits, and the total length is 16x8=128 bits.

How many binary digits does an IPv6 address consist of?

So the IPv4 dotted decimal format is no longer applicable and is expressed in hexadecimal.

IPv6 has 3 representation methods:

1. Hexadecimal representation

The format is X:X:X:X:X:X:X:X, where each X represents 16b in the address, expressed in hexadecimal, for example:

ABCD:EF01: 2345:6789:ABCD:EF01:2345:6789

In this notation, the leading 0 of each X can be omitted, for example:

2001:0DB8:0000:0023: 0008:0800:200C:417A→ 2001:DB8:0:23:8:800:200C:417A

2. 0-bit compressed representation

in a certain In some cases, an IPv6 address may contain a long period of 0s, and the continuous period of 0s can be compressed into "::". However, to ensure the uniqueness of address resolution, "::" can only appear once in the address, for example:

FF01:0:0:0:0:0:0:1101 → FF01::1101

0:0:0:0:0:0:0:1 → ::1

0:0:0:0:0:0:0:0 → ::

3. Embedded IPv4 address representation

In order to achieve IPv4-IPv6 interoperability, the IPv4 address will be embedded in the IPv6 address. At this time, the address is often expressed as: X:X:X ::X: Typical example, note that in the first 96b, the method of compressing 0 bits is still applicable

(Learning video sharing: Programming video)

The above is the detailed content of How many binary digits does an IPv6 address consist of?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template