Question: How does 178.69.35.10/17 calculate its subnet range?
Method 1:
- Starting from the third section "35" because 16 <17 <24.
- Convert "35" to binary "00100011 ".
- 24-17 = 7 ("00100011")
- Fill in all seven digits as "0" and "1", and then add the decimal values to get the range value.
- "00000000"=0
- "01111111"=0 + 64 + 32 + 16 + 8 + 4 + 2 + 1=127
- Therefore, the subnet range is 178.69.0.0-178.69.127.255.
Method 2:
- 16 <17 <24
- Compared with the standard class B "16" subnet, this subnet occupies more than the host space "1"
- From left to right, the binary valid value of this "1" bit is"10000000 "= 128(This example occupies exactly one digit. If it occupies two digits, the valid value of the binary value on the two digits is"01000000 "= 64, And so on)
- The value ranges from left to right and starts from 0,
- Obtain the subnet range of this question:178.69.0.0-178.69.127.255
If the title is:178.69.125.10/22The subnet range is:
- 22-16 = 6
- 6. The valid value of the binary from left to right is "4"
- Use 125/4 =124+ 1,
- The obtained range is:178.69.124.0-178.69.127.255(4 in this example)