在某项竞赛考试中的问题:
The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addressed could belong to this network?
1: 172.57.88.62 & 172.56.87.23
2: 10.35.28.2 & 10.35.29.4
3: 191.203.31.87 & 192.234.31.88
4: 128.8.129.43 & 128.8.161.55
现在我对这个问题感到困惑,因为我读到了一个子网掩码的模式:
1111 1111. 1111 1111. 1111 1
我的意思是1从左边开始,但在这个子网掩码中:
1111 1111. 1111 1111. 0001 1111. 0000 0000
所以,实际原理是什么?请解释一下。我完全困惑了。
提前感谢 :)