Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to correctly fill in the subnet prefix length

Shulou Source: shulou.com Published: 2022-06-02 15:21:14 10月01日 Update

Today, I will talk to you about how to correctly fill in the subnet prefix length, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

The setting method of subnet prefix length: 1, network prefix length 24, corresponding subnet mask [255.255.255.0]; 2, network prefix length 18, corresponding subnet mask [255.255.240.0]; 3, network prefix length 16, corresponding subnet mask [255.255.0.0].

This article operating environment: Windows7 system, Dell G3 computer.

The setting method of subnet prefix length:

1. Subnet prefix length

This is another way to write the subnet mask that you often see. The most common example is ip address: 192.168.1.1 Subnet Mask: 255.255.255.0. If you use the subnet prefix length, it can be written as 192.168.1.1Compact 24, or the subnet mask contains "1" 255.255.255.0. In binary, it is 11111111.111111111111111111111111.00000000.

Common prefix length:

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

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

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

5. Static IP

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

After reading the above, do you have any further understanding of how to correctly fill in the subnet prefix length? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Subnet prefix length network address binary content method static binary example writing also known as commonly used common more environment computer knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple macOS MySQL Shulou Tech Info Microsoft