Home  >  Article  >  What is the range of Class B IP addresses?

What is the range of Class B IP addresses?

青灯夜游
青灯夜游Original
2023-02-27 16:05:3833317browse

The range of class b IP addresses is "128.1.0.1~191.255.255.254". Class B IP address refers to the four-segment number of the IP address, the first two segments of which are network numbers. 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.

What is the range of Class B IP addresses?

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.

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. Let’s talk about Class B IP addresses.

Class B IP address

A Class B IP address means that among the four numbers in the IP address, the first two numbers are Network number. 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. 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 (binary representation: 10000000 00000000 00000000 00000001----10111111 11111111 11111111 11111110). The last one is the broadcast address.

Private addresses and reserved addresses of Class B addresses

  • ##172.16.0.0 to 172.31.255.255 are private addresses

  • 169.254.0.0 to 169.254.255.255 are reserved addresses. If your IP address is automatically obtained and you do not find an available DHCP server on the network, you will temporarily obtain an IP address from 169.254.0.0 to 169.254.255.255.

Default subnet mask

The default subnet mask for Class B addresses is 255.255.0.0, and the maximum number of hosts supported by each network It is 256 to the power of 2-2=65534 units.

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", that is, the first number ranges from 128 to 191 . Each Class B address can connect to 65534 (2^16-2, because each host number cannot be 0,1) hosts at the same time. There are 16384 (2^14) Class B addresses on the Internet.

For more related knowledge, please visit the

FAQ column!

The above is the detailed content of What is the range of Class B 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