Home>Article> IP address classification and address range

IP address classification and address range

藏色散人
藏色散人 Original
2020-11-04 15:32:45 121622browse

The classification and address range of IP addresses are: 1. Class A IP addresses, ranging from 1.0.0.1 to 127.255.255.254; 2. Class B IP addresses, ranging from 128.0.0.1 to 191.255.255.254; 3 , Class C IP address; 4. Class D IP address; 5. Class E IP address.

IP address classification and address range

Classification and respective ranges of IP addresses

1. Class A IP address

One A Class A IP 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. 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 relatively small, with 126 networks, and each network can accommodate more than 16 million hosts.

Class A IP address The address range is 1.0.0.1 to 127.255.255.254.

2. Class B IP address

A Class B IP address means that among the four numbers in the IP address, the first two numbers are the network number. 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. There are 16,384 networks, and each network can accommodate more than 60,000 computers. tower.

Class B IP address range 128.0.0.1-191.255.255.254.

3. Class C IP address

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 local number. Computer number. 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. There are more Class C network addresses, with more than 2.09 million networks. Suitable for small-scale local area networks, each network can only contain up to 254 computers.

Class C IP address range 192.0.0.1-223.255.255.254.

4. Class D IP address

Class D IP address was historically called a multicast address, that is, a multicast address. In Ethernet, a multicast address names a set of stations on the network that should receive a packet. The highest bit of the multicast address must be "1110", ranging from 224.0.0.0 to 239.255.255.255.

5. Class E IP address

The Class E IP address starts with "11110". Class E IP addresses are reserved for future and experimental use.

The above is the detailed content of IP address classification and address range. 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