search


1: What is an IP address? What is the standard ip address format?

IP address refers to the Internet Protocol Address (English: Internet Protocol Address, also translated as Internet Protocol Address), which is the abbreviation of IP 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. [Recommended article: What does IP mean

The IP address consists of four decimal integers separated by decimal points. In fact, an IP address is a 32-bit binary number. Each 8 bits can be represented by a decimal integer number.

2: There are several IP address formats:

1. Class A address.

A Class A IP address means that among the four segments of the IP address, the first segment is the network number, and the remaining three segments are the local computer numbers. If the IP address is represented in binary, the Class A IP address consists of a 1-byte network address and a 3-byte host address. The highest bit of the network address must be "0". The length of the network identifier in a Class A IP address is 8 bits, and the length of the host identifier is 24 bits. The number of Class A network addresses is small and can be used for large networks with more than 16 million hosts. Class A IP address The address range is 1.0.0.0 to 126.255.255.255 (binary representation is: 00000001 00000000 00000000 00000001 - 01111111 11111111 11111111 11111111). The last one is the broadcast address. The subnet mask of a Class A IP address is 255.0.0.0, and the maximum number of hosts supported by each network is 256 to the third power -2 = 16777214.

2. Class B address.

A Class B IP address means that among the four numbers in the IP address, the first two numbers are network numbers. If the IP address is represented in binary, the Class B IP address consists of a 2-byte network address and a 2-byte host address. The highest bit of the network address must be "10". The length of the network identifier in the Class B IP address is 16 bits, and the length of the host identifier is 16 bits. Class B network addresses are suitable for medium-sized networks, and each network can accommodate more than 60,000 computers. Class B IP address range 128.0.0.0-191.255.255.255 (binary representation: 10000000 00000000 00000000 00000001----10111111 11111111 11111111 11111110). The last one is the broadcast address. The subnet mask of Class B IP address is 255.255.0.0, and the maximum number of hosts supported by each network is 256 to the power of 2 - 2 = 65534 units

3. Class C address.

IP address picture A Class C IP address means that among the four numbers in the IP address, the first three numbers are the network number, and the remaining number is the number of the local computer. If the IP address is represented in binary, the Class C IP address consists of a 3-byte network address and a 1-byte host address. The highest bit of the network address must be "110". The length of the network identifier in a Class C IP address is 24 bits, and the length of the host identifier is 8 bits. Class C network addresses have a larger number and are suitable for small-scale local area networks. Each network can only contain a maximum of 254 computers. Class C IP address range 192.0.0.0-223.255.255.255 (binary representation is: 11000000 00000000 00000000 00000001 - 11011111 11111111 11111111 11111110). The subnet mask of Class C IP address is 255.255.255.0, and the maximum number of hosts supported by each network is 256-2=254

4. Special URL.

1. The addresses starting with "lll0" are called multicast addresses. Therefore, any IP address whose first byte is greater than 223 and less than 240 (range 224.0.0.1-239.255.255.254) is a multicast address.

2. The address where each byte is 0 ("0.0.0.0") corresponds to the current host.

3. The IP address in which each byte in the IP address is 1 ("255.255.255.255") is the broadcast address of the current subnet.

4. All Class E IP addresses starting with "llll0" in the IP address are reserved for future and experimental use.

5. The IP address cannot start with decimal "127". The numbers 127.0.0.1 to 127.255.255.255 in this type of address are used for loop testing. For example: 127.0.0.1 can represent the local IP address. Use "http://127.0.0.1" can test the web server configured on this machine.

6. The first 6-bit group of the network ID cannot be set to all "0". All "0" indicates the local network.



The above is the detailed content of What is the standard IP address format?. For more information, please follow other related articles on the PHP Chinese website!

Statement
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
What are the operation and maintenance tools under windowWhat are the operation and maintenance tools under windowMar 05, 2025 am 11:17 AM

This article reviews Windows-based server management tools. It compares free (PowerShell, Windows Admin Center) and commercial options (SCCM, Azure Arc), highlighting their functionality, cost, and complexity. The choice depends on needs, budget, a

How to solve the problem that Tencent Cloud has downloaded?How to solve the problem that Tencent Cloud has downloaded?Mar 05, 2025 am 11:18 AM

This article guides users on opening files downloaded from Tencent Cloud. It addresses common issues like corrupted downloads, incompatible file formats, and software conflicts, offering troubleshooting steps and suggesting contacting Tencent Cloud

How to use Tencent Cloud Lightweight Application Server Tutorial for Using Tencent Cloud Lightweight Application ServerHow to use Tencent Cloud Lightweight Application Server Tutorial for Using Tencent Cloud Lightweight Application ServerMar 05, 2025 am 11:16 AM

This guide details using Tencent Cloud Lightweight Application Servers (LAS). It covers account setup, instance creation (specifying region, configuration, image, security, and storage), and application deployment. Key features include cost-effecti

Tutorial on the mobile version of Tencent Cloud to cancel the account without real nameTutorial on the mobile version of Tencent Cloud to cancel the account without real nameMar 05, 2025 am 11:20 AM

Deleting unregistered Tencent Cloud mobile accounts is impossible without verification. The article explains why account deletion requires verification and details how uninstalling the associated app is the most effective workaround to sever the app

What to do if the windows installation error is not started?What to do if the windows installation error is not started?Mar 05, 2025 am 11:19 AM

This article addresses common Windows installation and boot errors. It details troubleshooting steps for issues like corrupted media, hardware problems, driver conflicts, partitioning errors, BIOS settings, and software conflicts. Solutions include

Recommended Windows Operation and Maintenance Tools What are the Windows Operation and Maintenance Software?Recommended Windows Operation and Maintenance Tools What are the Windows Operation and Maintenance Software?Mar 05, 2025 am 11:15 AM

This article reviews free and paid Windows server administration tools. It compares built-in options like Server Manager & PowerShell with commercial solutions such as SolarWinds and Microsoft System Center, emphasizing the trade-offs between co

What are the main tasks of Windows Operation and Maintenance EngineersWhat are the main tasks of Windows Operation and Maintenance EngineersMar 05, 2025 am 11:14 AM

This article details the key responsibilities and essential skills of a Windows systems administrator. It covers system installation/configuration, monitoring/troubleshooting, security management, backup/recovery, patch management, automation, and u

See all articles

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

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor