Home >Common Problem >How to fill in the subnet prefix length

How to fill in the subnet prefix length

coldplay.xixi
coldplay.xixiOriginal
2021-01-11 14:19:55328987browse

Set the subnet prefix length: 1. The network prefix length is 24, corresponding to the subnet mask [255.255.255.0]; 2. The network prefix length is 18, corresponding to the subnet mask [255.255.240.0]; 3. The network prefix length is 16, corresponding to the subnet mask [255.255.0.0].

How to fill in the subnet prefix length

#The operating environment of this article: Windows 7 system, Dell G3 computer.

How to set the subnet prefix length:

1. The subnet prefix length

is another subnet mask you often see. One way of writing is the most common example: IP address: 192.168.1.1 Subnet mask: 255.255.255.0 If the subnet prefix length is used, it can be written as 192.168.1.1/24, which can also be said to be the "1" contained in the subnet mask. 255.255.255.0 in binary is 11111111.11111111.11111111.00000000 = a total of 24 "1"

How to fill in the subnet prefix length

##Common prefix length:

2. Network prefix length: 24, corresponding subnet mask: 255.255.255.0 (binary: 11111111.11111111.1111111 1.0).

How to fill in the subnet prefix length

3. Network prefix length: 18, corresponding subnet mask: 255.255.240.0 (binary: 11111111.11111111.111100 00.0).

How to fill in the subnet prefix length

4. Network prefix length: 16, corresponding subnet mask: 255.255.0.0 (binary: 11111111.11111111.0.0).

How to fill in the subnet prefix length

5. Static IP

A static IP address (also known as a fixed IP address) is an IP address assigned to a computer or network device for a long period of time.

How to fill in the subnet prefix length

Related video recommendations:

PHP programming from entry to proficiency

The above is the detailed content of How to fill in the subnet prefix length. 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

Related articles

See more