What is a legal IP address
Recommended tutorial: linux tutorial
Among the legal IP addresses, Each three-digit number is between 0 and 254. It cannot be greater than 254, not even 255. This is a legal IP address, and IP addresses include Class A\B\C IP.
The IP addresses of iPv4 are all in the format of (1~255).(0~255).(0~255).(0~255).
The IP address range of Class A is 0.0.0.0-127.255.255.255
The IP address range of Class B is 128.0.0.0-191.255 .255.255
The IP address range of Class C is 192.0.0.0-223.255.255.255.
In a Class A IP address, the network identification length is 8 bits, the host identification length is 24 bits, and the subnet mask is 255.0.0.0. Class B is suitable for medium-sized networks.
The network identification length is 16 bits, the host identification length is 16 bits, and the subnet mask is 255.255.0.0. Class C is suitable for small-scale local area networks, in which the network identification length is 24 bits, the host identification length is 8 bits, and the subnet mask is 255.255.255.0.
Furthermore, in each legal IP address, there are four three-digit numbers separated by ".", and each three-digit number is between 0 and 255, and contains the number 255. .
Extension information:
Extension of IP address:
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.
Based on a conservative estimate of the actual addresses that can be allocated to IPv6, more than 1,000 addresses can still 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.
Compared with IPv4, IPv6 mainly has the following advantages.
First, the address space is significantly expanded. IPv6 uses a 128-bit address length to provide an almost unlimited number of IP addresses, ensuring the possibility of end-to-end connectivity.
Second, it improves the overall throughput of the network. Since IPv6 data packets can far exceed 64k bytes, applications can take advantage of the maximum transmission unit (MTU) to obtain faster and more reliable data transmission. At the same time, the routing structure is improved in design and simplified header length is adopted. Structure and a more reasonable segmentation method enable routers to speed up data packet processing and improve forwarding efficiency, thus improving the overall throughput of the network.
Third, the overall service quality has been greatly improved. The service level and flow tag in the header can realize priority control and QoS guarantee through router configuration, thus greatly improving the quality of IPv6 service. Fourth, security is better guaranteed. The use of IPSec can provide effective end-to-end security guarantees for upper-layer protocols and applications, and can improve security at the router level.
Fifth, support plug-and-play and mobility. When the device is connected to the network, it can automatically obtain the IP address and necessary parameters through automatic configuration, achieving plug-and-play, simplifying network management and easily supporting mobile nodes. And IPv6 not only borrows many concepts and terminology from IPv4, it also defines many new features required to move IPv6.
Sixth, the multicast function is better realized. The "scope" and "flag" are added to the multicast function of IPv6, which limits the routing range and can distinguish between permanent and temporary addresses, which is more conducive to the implementation of the multicast function.
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.
The above is the detailed content of What is a legal IP address. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



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 view all IP addresses on the LAN using cmd: 1. Press the "Win+R" shortcut key to open the "Run" window; 2. After entering "CMD" in the "Run" window, press the Enter key; 3. In the open "Command" In the "Prompt" interface, enter the command "arp -a" and press the Enter key; 4. From the returned results, you can see the IP addresses of all computers in the local LAN that communicate with the machine.

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? 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.

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;

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.

An IP address is composed of 32 or 128-bit binary numbers. IP address is a unified address format provided by the IP protocol. There are two types of IP addresses: 1. IPv4 address, consisting of 32-bit binary numbers, expressed in dotted decimal notation, divided into eight bits, that is, four 0~255 Decimal number; 2. IPv6 address consists of 128-bit binary numbers, expressed in dotted hexadecimal, divided into eight bits, that is, sixteen hexadecimal numbers from 0x00 to 0xff.

Each host has a unique address identifier called an "IP address." The IP address is a unified address format provided by the IP protocol. It assigns a unique logical address to each network and each host on the Internet to shield the differences in physical addresses. Because of this unique address, it is ensured that users can efficiently and conveniently select the objects they need from thousands of computers when operating on connected computers.