-
Here are two ways to calculate the subnet mask:
Method 1: Use the number of subnets to calculate:
1.First, convert the number of subnets from a decimal number to a binary number;
2.Then, the number of digits of the obtained binary number is set to n;
3.Finally, find the subnet mask of the address category corresponding to this IP address. Then set the first n digits of the host address part of the subnet mask (that is, the host number) to 1, so that the subnet mask of the IP address dividing the subnet can be obtained.
2) The number of bits in this binary is 5, then n=5;
3) This IP address is a Class B address, and the subnet mask of the Class B address is, and the host address of the Class B address is the last 2 bits (ie. Therefore, the first 5 digits of the host address in the subnet mask can be set to 1, and this set of values is the subnet mask of the Class B IP address divided into 28 subnets.
Method 2: Use the number of hosts to calculate.
1 First, convert the number of hosts from a decimal number to a binary number;
2 Then, if the number of hosts is less than or equal to 254 (note: the reserved two IP addresses should be removed), count the number of digits of the binary number obtained from "1" and set it to n; If the number of hosts is greater than 254, n>8, that is, the host address will exceed 8 bits;
3 Finally, by setting all the host bits of such IP addresses to 1 and then setting all the n-bits to 0 in the order of "back to front", the resulting value is the value of the subnet mask that is sought.
2) If the number of binary digits is 9, then n=9;
11111111.Namely. This set of values is the subnet mask divided into Class B IP addresses with 500 hosts.
-
Hello, 27 indicates that the first 27 bits of the IP address are the network part, which is usually called the network prefix, and the corresponding subnet mask is.
-
Subnet masks are all automatically generated.
-
The IP address is a Class C IP address. The default subnet mask for a Class C IP address is.
The subnet mask cannot exist on its own, it must be used in conjunction with an IP address. The subnet mask has only one function, which is to divide an IP address into two parts: the network address and the host address. A subnet mask is a 32-bit binary number with all bits corresponding to the network address set to 1 and all bits corresponding to the host address set to 0.
The subnet mask tells the router which part of the address is the network address and which part is the host address, so that the router can correctly determine whether any IP address is the same network segment, so as to route correctly. On the network, data travels from one place to another, relying on IP addressing.
-
The subnet mask is or 24.
The IP range of the subnet is to.
Number of available IPs: 254
Network type: Class C network.
-
This is a Class C IP address, and the subnet mask is generally yes. However, if a variable-length subnet mask is used for subnetting, the subnet mask may not necessarily be anything.
-
The IP address is a Class C IP address.
The default subnet mask for a Class C IP address is.
-
The correct mask and gateway are provided to you, the network user, after being specified by the network provider. You should know about it, or you ask your network provider to tell us.
Others can only guess, according to the convention.
For example, if a person's surname is Zhang, we can guess that his father's surname is Zhang. If he takes his mother's surname, we guess wrong.
If it's not right, you try again.
Gateway try or.
If he deliberately makes it impossible for you to guess, it's easy. It's like that person doesn't have a surname, his father's surname is not his mother's surname, it's hard for you to guess. There's no need to guess.
Thank you for your question.
-
The subnet mask that the gateway does not need to fill in is actually not filled in with a single click, and it will be automatically filled in.
-
Oh, do you want to set up the cat's routing function?
What model. Why do you need to set this IP address?
It doesn't seem that there is any need to set up any IP and mask in the process of cracking this cat?
Are you sure you're not ADSL dial-up? Is it a fixed IP to surf the Internet?
1.The role of subnetting: reduce the broadcast domain.
3.Easy to manage. >>>More
IP address and subnet mask division knowledge.
Can a mask be?
It seems that it can only be a few values. >>>More
Apples are the best, but expensive.
Samsung Note is more prone to breakage. >>>More
A computer network can be divided into two subnets.
That is, resource subnets and communication subnets. >>>More