To determine the length of a subnet address, you need to use a specialized name - mask. This number can be used to determine which part is defined in the IP address for the network definition. Therefore, the ability to find it correctly is one of the most important.
Instructions
Step 1
The distribution of addresses to organizations was difficult. The introduction of network categories has made this task much easier. But this has become impractical when using multiple computers in a site. For rational use, subnets were organized, the address of which consists of a part of the class A, B or C and contains the so-called subnet field. This value requires additional bits, which in turn belong to the host part. Thus, one network can be subdivided into two subnets (at least). In this case, it becomes very difficult to determine the address. In programming, they began to use a new term - subnet mask. It implies the length of the address of each subnet. To determine the mask, you need to do the following: first, you need to write down the IP address in binary form. To perform this procedure, you need to replace the bits that refer to the network and subnet parts with ones, and replace all values that refer to the host part with zeros. You will end up with a subnet mask.
Step 2
If you don't know your IP address, you can use the second method. In the properties of network connections, the subnet mask is most often indicated. To view it, follow these steps: open the "Start" menu; then go to the section "Control Panel". In the window that opens, you will see a list of tasks performed by the computer. Go to the "Network Connections" item. Find "Internet Protocol (TCP / IP)" in the displayed list. Open the Properties menu. In the settings, find the item "Subnet mask".
Step 3
Sometimes it happens that the computer receives the settings of all subnets automatically and does not display them in the properties of the "Internet Protocol (TCP / IP)". In this case, you can do this: open a Windows command prompt. To do this, go to the Start menu, then to the All Programs, Accessories, Command Prompt section. A dialog box will open. Write the ipconfig command, after which you will see a list of all network addresses and existing subnets. Find the mask you need among them.