4、 一个C类地址为192.168.156.0网络划分为6个子网,其每个子网掩码是什么?每个网段的IP地址范围是多少?

2024-12-19 01:29:33
推荐回答(2个)
回答1:

划分6个子网,即2^3=8>6个,变成二进制就是1110 0000,化成十进制224,所以子网掩码为255.255.255.224,每个网段的IP地址范围为:
192.168.156.1-192.168.156.30
192.168.156.33-192.168.156.62
192.168.156.65-192.168.156.94
192.168.156.97-192.168.156.126
192.168.156.129-192.168.156.158

回答2:

192.168.156.0 255.255.255.224.0

192.168.156.1-192.168.156.31
192.168.156.33-192.168.156.63
192.168.156.65-192.168.156.95
192.168.156.97-192.168.156.127
192.168.156.129-192.168.156.159