Home  >  Article  >  What are the three types of commonly used IP addresses?

What are the three types of commonly used IP addresses?

青灯夜游
青灯夜游Original
2020-12-15 17:31:57126842browse

Commonly used IP addresses are divided into three categories: A, B, and C. The range of Class A is "1.0.0.1-127.255.255.254"; the range of Class B is "128.0.0.1-191.255.255.254"; the range of Class C is "192.0.0.1-223.255.255.254".

What are the three types of commonly used IP addresses?

#The operating environment of this article: windows10 system, thinkpad t480 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.

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, routers, 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 are uniformly allocated by InternetNIC on a global scale and are commonly used three categories of IP addresses; while categories D and E are special addresses.

Commonly used three types of IP addresses

1. Class A IP address: A 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", and the address range is from 1.0.0.0 to 126.0.0.0. There are 126 Class A networks available, each of which can accommodate more than 100 million hosts.

2. Class B IP address: A 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", and the address range is from 128.0.0.0 to 191.255.255.255. There are 16,382 Class B networks available, and each network can accommodate more than 60,000 hosts.

3. Class C IP address: A 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 range is from 192.0.0.0 to 223.255.255.255. There are more than 2.09 million Class C networks, and each network can accommodate 254 hosts.

If you want to read more related articles, please visit PHP Chinese website! !

The above is the detailed content of What are the three types of commonly used IP addresses?. 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