IP addresses are divided into 5 categories: 1. Class A address refers to the four-segment number of the IP address, the first segment of the number is the network number, and the remaining three segments of the number are the local computer number; 2. Class B address means that among the four numbers in the IP address, the first two numbers are the network number; 3. Class C address means that among the four numbers in the IP address, the first three numbers are the network number. The remaining number is the number of the local computer; 4. Class D address, whose first byte starts with "1110", is a specially reserved address; 5. Class E address, starts with "1111".
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.
IP addresses are divided into 5 categories: Class A, Class B, Class C, Class D, and Class E.
When the Internet was originally designed, in order to facilitate addressing and hierarchical network construction, each IP address included two identification codes (ID), namely the network ID and the host ID. All hosts on the same physical network use the same network ID. A host on the network (including workstations, servers, etc.) on the network has a host ID corresponding to it. The Internet Committee has defined 5 IP address types to suit networks of different capacities, namely Class A ~ Class E.
Among them, categories A, B, and C3 (table below) are uniformly allocated globally by InternetNIC, and categories D and E are special addresses.
Category |
Maximum number of networks |
IP address range |
Maximum number of hosts in a single network segment |
Private IP address range |
A |
126(2^7-2) |
1.0.0.1-127.255.255.254 |
16777214 |
##10.0.0.0-10.255.255.255 |
16384(2^14) | 128.0.0.1-191.255.255.254 | 65534 | 172.16.0.0-172.31.255.255 | |
2097152(2^21) | 192.0.0.1-223.255.255.254 | 254 | ##192.168.0.0-192.168.255.255 |
The above is the detailed content of What are the categories of IP addresses?. 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

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.

Dreamweaver Mac version
Visual web development tools

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

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools