Home Common Problem Is an ipv4 address an ip address?

Is an ipv4 address an ip address?

Sep 21, 2022 pm 02:22 PM
IP address ipv6 ipv4

The ipv4 address is the ip address. IP address is a unified address format provided by the IP protocol and can be divided into two categories: 1. IPv4 address, which is the fourth revised version in the development process of the Internet Protocol and the first widely deployed version of this protocol; 2 , IPv6 address is the next-generation IP protocol designed by the Internet Engineering Task Force (IETF) to replace IPv4. Its number of addresses is claimed to be able to assign an address to every grain of sand in the world.

Is an ipv4 address an ip address?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

IP address (Internet Protocol Address) refers to the Internet Protocol address, also translated as Internet Protocol address.

The IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet to shield the differences in physical addresses.

There are two types of IP addresses now: ipv4 and IPv6.

Development History:

The first IP address that appeared was IPV4, which has only 4 segments of numbers, and the maximum number of each segment does not exceed 255. Due to the booming development of the Internet, the demand for IP addresses is increasing, making the issuance of IP addresses more stringent. Various data show that all global IPv4 addresses may be issued between 2005 and 2010 (the actual situation is that in 2019 The allocation of IPv4 addresses was completed on November 25, 2018). The lack of address space will definitely hinder the further development of the Internet. In order to expand the address space, it is planned to redefine the address space through IPv6. IPv6 uses a 128-bit address length. In the design process of IPv6, in addition to solving the address shortage problem once and for all, other problems that were not solved well in IPv4 were also considered.

The existing Internet runs on the basis of the IPv4 protocol. IPv6 is the next version of the Internet protocol, which can also be said to be the protocol of the next generation of Internet. It was originally proposed because with the rapid development of the Internet, the limited address space defined by IPv4 will be exhausted, and the shortage of address space will inevitably hinder the further development of the Internet. In order to expand the address space, it is planned to redefine the address space through IPv6. IPv4 uses a 32-bit address length, and there are only about 4.3 billion addresses, which are estimated to be allocated between 2005 and 2010, while IPv6 uses a 128-bit address length, which can provide almost unlimited addresses. According to a conservative estimate of the actual addresses that can be allocated to IPv6, more than 1,000 addresses can be allocated per square meter of the entire earth. In the design process of IPv6, in addition to solving the address shortage problem, other problems that were not solved well in IPv4 were also considered, mainly including end-to-end IP connection, quality of service (QoS), security, multicast, and mobility. , plug and play, etc.

With the rapid development of the Internet and the continuous improvement of Internet users' requirements for service levels, IPv6 will receive more and more attention around the world. In fact, there is no rush to promote IPv6. The problem of insufficient IPv4 addresses can be solved by simply extending 32 bits from 8 to 40 bits based on the existing IPv4. In this way, the number of available addresses is expanded by 256 times.

ipv4 address

Internet Protocol version 4 (English: Internet Protocol version 4, IPv4), also known as the fourth version of the Internet Communication Protocol, It is the fourth revision in the development process of the Internet Protocol and the first widely deployed version of this protocol. IPv4 is the core of the Internet and the most widely used version of the Internet Protocol. Its successor version is IPv6. Until 2011, when the IANA IPv4 addresses were completely exhausted, IPv6 was still in the early stages of deployment.

IPv4 is described in RFC 791 published by the IETF in September 1981, which replaced RFC 760 published in January 1980.

IPv4 is a connectionless protocol that operates on the link layer (such as Ethernet) using packet switching. This protocol delivers packets on a best-effort basis, meaning that it does not guarantee that any packet will reach its destination or that all packets will arrive in the correct order without duplication. These aspects are handled by upper-layer transport protocols (such as Transmission Control Protocol).

IPv4 uses 32-bit binary addresses, so there are only approximately 4.3 billion addresses. 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.

IPv4 is usually written in dotted decimal notation, such as 192.168.0.1, where the numbers are all decimal numbers separated by solid dots.

An IPv4 address can be divided into two parts: the network address and the host address. The network address can be described in the following form: 192.168.0.0/16, where the number after the slash indicates that the length of the network address part is 16 bits. , which corresponds to 2 bytes, that is, the network address part is 192.168.0.0.

ipv6 address

IPv6 is the abbreviation of "Internet Protocol Version 6" in English and is the Internet Engineering Task Force The next generation IP protocol designed by (IETF) to replace IPv4, its number of addresses is claimed to be able to code an address for every grain of sand in the world.

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.

IPv6 is designed to replace IPv4. However, IPv4 has still occupied a dominant position in Internet traffic for a long time, and the use of IPv6 has grown slowly. In April 2022, the percentage of users using Google services through IPv6 exceeded 40% for the first time.

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.

Is an ipv4 address an ip address?

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

ipv6 address type

The IPv6 protocol mainly defines three There are three address types: Unicast Address (Unicast Address), Multicast Address (Multicast Address) and Anycast Address (Anycast Address). Compared with the original IPv4 address, a new "anycast address" type is added, and the broadcast address in the original IPv4 address is cancelled, because the broadcast function in IPv6 is completed through multicast.

Unicast address: Used to uniquely identify an interface, similar to the unicast address in IPv4. Datagrams sent to a unicast address will be delivered to an interface identified by this address.

Multicast address: used to identify a group of interfaces (usually this group of interfaces belong to different nodes), similar to the multicast address in IPv4. Datagrams sent to a multicast address are delivered to all interfaces identified by this address.

Anycast address: used to identify a group of interfaces (usually this group of interfaces belong to different nodes). Datagrams sent to an anycast address are delivered to the interface in the set of interfaces identified by this address that is closest to the source node (as measured by the routing protocol in use).

IPv6 address type is determined by the address prefix part. The correspondence between the main address types and address prefixes is as follows:

11111111FF00::/8
Address Type
Address Prefix (Binary)
IPv6 Prefix Identification
Unicast address
Unspecified address
00…0(128 bits)
::/128
Loopback address
00…1(128 bits)
::1/128
Link-local address
1111111010
FE80::/10
Unique local address
1111 110
##FC00::/7
(including FD00::/8 and
Uncommonly used FC00::/8)
Site local address (deprecated, replaced by unique local address)
1111111011
FEC0::/10
##Global Unicast Address
Other forms
-
##Multicast address

Anycast address

##Assigned from the unicast address space, using the unicast address Format
The difference between IPv4 and IPv6 protocols

1. Protocol The difference between addresses

1), address length

The IPv4 protocol has a 32-bit (4 bytes) address length; the IPv6 protocol has a 128-bit (16 bytes) address length

2), Address representation methodIs an ipv4 address an ip address?

The IPv4 address is a binary number expressed as a decimal. IPv6 addresses are binary numbers represented in hexadecimal notation.

3) Address configuration

The IPv4 protocol address can be configured manually or through DHCP. [Recommended related video tutorials:

HTTP video tutorial

]

The IPv4 protocol requires the use of Internet Control Message Protocol version 6 (ICMPv6) or DHCPv6 Stateless Address Autoconfiguration (SLAAC).

2. Differences in data packets

1) Packet size

IPv4 protocol data packets require 576 bytes, fragmentation is optional . The IPv6 protocol data packet requires 1280 bytes and will not be fragmented

2), the header

The length of the IPv4 protocol header is 20 bytes, and does not recognize data for QoS processing Packet stream, including checksum, containing options field of up to 40 bytes.

The IPv6 protocol header is 40 bytes in length and contains the Flow Label field of the packet flow specified for QoS processing, excluding checksum; the IPv6 protocol has no field, but the IPv6 extension header is available.

3) Packet fragmentation

IPv4 protocol packet fragmentation will be completed by the forwarding router and the sending host. Packet fragmentation of the IPv6 protocol is only done by the sending host.

Is an ipv4 address an ip address?3. DNS record

IPv4 protocol address (A) record, mapping host name; pointer (PTR) record, IN-ADDR.ARPA DNS domain.

IPv6 protocol address (AAAA) record, mapped host name; pointer (PTR) record, IP6.ARPA DNS domain

4, IPSec support

IPSec support for the IPv4 protocol is only optional. The IPv4 protocol has built-in IPSec support.

5. Address Resolution Protocol

IPv4 Protocol: Address Resolution Protocol (ARP) can be used to map IPv4 addresses to MAC addresses.

IPv6 protocol: Address Resolution Protocol (ARP) is replaced by the functionality of Neighbor Discovery Protocol (NDP).

6. Authentication and encryption

Pv6 provides authentication and encryption, but IPv4 does not.

For more related knowledge, please visit the

FAQ

column!

The above is the detailed content of Is an ipv4 address an ip address?. For more information, please follow other related articles on the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to set Xiaohongshu not to display IP address? How does it change the id to locate the city? How to set Xiaohongshu not to display IP address? How does it change the id to locate the city? Mar 27, 2024 pm 03:00 PM

Xiaohongshu is a popular social e-commerce platform where users can share their daily life and discover their favorite products. Some users are more sensitive to personal privacy and hope that their IP address will not be displayed on Xiaohongshu to protect their online privacy. So, how to set Xiaohongshu not to display the IP address? This article will answer this question in detail. 1. How to set Xiaohongshu not to display the IP address? 1. Modify Xiaohongshu settings: Open Xiaohongshu APP, click "Me" in the lower right corner to enter the personal center. Then click on the avatar to enter account settings. In the account settings, find "Privacy Settings" and click to enter. Here, you can find the setting options for IP address, just turn it off. 2. Clear cache: Sometimes, Xiaohongshu may display an error

How to solve the problem that Windows 10 IP address cannot be saved after setting it How to solve the problem that Windows 10 IP address cannot be saved after setting it Jul 08, 2023 pm 12:33 PM

Sometimes everyone encounters the need to manually modify the IP address, but some Windows 10 customers report that the IP address cannot be saved after setting it. How to solve this situation? The IP address is stored basically because there is an error in filling in your IP address. You can check whether the subnet prefix has been written with the subnet mask. If so, change it back. After the change, you can save it normally. IP address. How to solve the problem that the Windows 10 IP address cannot be saved after it is set: The error picture is as follows: The prompt "Unable to save the IP setting, please check one or more settings and try" caused by filling in the error. This is the subnet prefix length, not the subnet mask. as the picture shows. As shown in the picture above, many users actually write out the subnet prefix as the subnet mask.

Where is the IP address of Xiaomi mobile phone? Where is the IP address of Xiaomi mobile phone? Feb 29, 2024 pm 06:10 PM

Where is the IP address of Xiaomi mobile phone? You can check the IP address on Xiaomi mobile phone, but most users don’t know where to check the IP address. Next is the graphic tutorial on how to check the IP address of Xiaomi mobile phone brought by the editor. Interested users come and take a look! Where is the IP address of Xiaomi mobile phone? 1. First open the settings function in Xiaomi mobile phone, select [My Device] and click to enter; 2. Then on the My Device function page, click [All Parameters] service; 3. Then on the All Parameters page , slide to the bottom and select [Status Information]; 4. Finally, you can see the IP address in the status information interface.

Where to change the IP address of Xianyu_Share how to change the IP address of Xianyu Where to change the IP address of Xianyu_Share how to change the IP address of Xianyu Mar 20, 2024 pm 05:06 PM

Xianyu is a very practical second-hand trading platform. Here we can buy many different products and sell our own idle items. What if we want to modify our address? Let’s take a look with the editor below! Share how to modify the Xianyu IP address. First, open the Xianyu software. After entering the homepage, you can see seafood market, recommendations, address and other options in the upper left corner. Click "Address". 2. Then on the address page, we click the [Down Arrow] next to the address; 3. After the final click, we click on the city on the city selection page;

Disable IPv6 Windows 11: Why and how to change it Disable IPv6 Windows 11: Why and how to change it Apr 14, 2023 pm 01:07 PM

IPv6 stands for Internet Protocol version 6, the next generation of Internet addressing. It was developed to replace the current Internet Protocol (IPv4). IPv6 is an integral part of networking as it offers many benefits over its predecessors. Considering how long it took for IPv6 to be adopted, not every user has warmed up to IPv11. Even though Windows 6 has new features that make it ideal for the IPV protocol, some people still prefer to disable it. If you are one of them, we will show you how to do it. Should you disable IPv6 in Windows 11? In the internet world, such as gaming and streaming, IPv6 is necessary for the smooth functioning of a website or application. However, some

What to do if win10 computer automatically configures ipv4 address 169_How to turn off automatic configuration of ipv4 address on win10 computer What to do if win10 computer automatically configures ipv4 address 169_How to turn off automatic configuration of ipv4 address on win10 computer Mar 27, 2024 pm 11:50 PM

1. Open Cortana search, enter cmd, then select Command Prompt, right-click and run as administrator. 2. Enter: netshwinsockresetcatalog and press Enter. 3. Then enter: netshintipresetreset.log and press Enter. 4. Restart the computer, then enter the IP, DNS and other information you want to enter in the IP settings, and confirm.

How to change the location of Douyin IP address? Why does the IP address change location? How to change the location of Douyin IP address? Why does the IP address change location? Mar 21, 2024 pm 06:30 PM

Users share their lives, show off their talents, and interact with netizens across the country and even the world through Douyin. Some users wish to change their IP addresses on Douyin due to reasons such as privacy protection or geographical restrictions. So, how does the Douyin IP address change its location? 1. How to change the location of Douyin IP address? A proxy server is an intermediary service used to forward user requests to the Internet and return responses. By configuring a proxy server, users can hide their real IP addresses and change their IP addresses. This approach helps protect user privacy and improves network security. Proxy servers can also be used to access restricted content or bypass geolocation restrictions. Overall, using a proxy server is a practical network tool that can help users browse the Internet more safely and freely.

What are the benefits of turning on ipv6 on the router 'Advantages of using the latest IPv6' What are the benefits of turning on ipv6 on the router 'Advantages of using the latest IPv6' Feb 06, 2024 pm 05:34 PM

Students who know computers all know that if our computer wants to connect to the network, it must have an IP address. This IP address can be manually configured, such as 172.16.19.20; it can also be automatically obtained by the DHCP server of the computer network card, such as 192.168.1.100 etc. These IP addresses are what we often call IPV4 addresses, and the corresponding IPV6 is also a type of IP address. What is IPV6 IPV6 is a new IP address that emerged in response to the exhaustion of IPV4 address resources. Its full name is "Internet Protocol Version 6", and its Chinese name is the sixth generation of Internet Protocol. The number of IPv6 addresses is theoretically 2^128