The difference between ip4 and ip6: 1. IPv6 has a much larger address space than IPv4; 2. IPv4 uses 32-bit binary addresses; 3. The advantage of IPv6 is that it greatly expands the address space Free space, IPv6 addresses are 128 bits long.
The difference between ipv4 and ipv6:
IPv6 has a much larger address space than IPv4. This is because IPv6 uses a 128-bit address, while IPv4 only uses 32 bits.
The IPv6 binary system is 128 bits long, divided into groups of 16 bits, and each group is separated by a colon ":". It can be divided into 8 groups, each group is expressed in 4-digit hexadecimal format. . For example: 2001:0db8:85a3:08d3:1319:8a2e:0370:7344.
Extended information:
Communication with other network elements on the Internet. There are currently two categories of IP addresses: IPv4 and IPv6. The vast majority of IP addresses in use today are IPv4 addresses.
IPv4 is the abbreviation of Internet Protocol version 4, which represents the fourth version of the IP protocol. The vast majority of communication traffic on the Internet today is encapsulated in the format of IPv4 data packets. IPv4 is described in detail in IETF publication RFC 791.
IPv4 uses a 32-bit binary address, so the IPv4 address space is 2 = 4294967296. Initially, every user connected to the Internet must be assigned an IPv4 address, so there are fewer and fewer unallocated IPv4 addresses, resulting in the problem of IPv4 address exhaustion. In order to fundamentally solve the problem of IPv4 address exhaustion, IPv6 came into being.
The advantage of IPv6 is that it greatly expands the available space of addresses. IPv6 addresses are 128 bits long. If the earth's surface (including land and water) is covered with computers, then IPv6 allows 7*10^23 IP addresses per square meter; if the address allocation rate is 1 million per microsecond, it will take 10^19 years to All addresses have been allocated. Let’s take a look at the related content of IPv6 addresses.
The above is the detailed content of What is the difference between ipv4 and ipv6. For more information, please follow other related articles on the PHP Chinese website!