以下假设 IP 为 192.168.0.1
用不同的 IP和子网掩码, 其子网范围会有所变动
在子网掩码为 255.255.254.0/23, 其
IP 范围 为
192.168.0.0 - 192.168.0.255 和 192.168.1.1 - 192.168.1.254, 广播为 192.168.1.255
192.168.2.0 - 192.168.2.255 和 192.168.3.1 - 192.168.3.254, 广播为 192.168.3.255
192.168.4.0 - 192.168.4.255 和 192.168.5.1 - 192.168.5.254, 广播为 192.168.5.255
子网掩码
|
IP 范围 (如 IP 为 192.168.0.1)
|
广播
|
共 (可用 IP)
| |
255.255.0.0 | /16 | 192.168.0.1 - 192.168.255.254 | 192.168.255.255 |
65534
|
255.255.128.0 | /17 | 192.168.0.1 - 192.168.127.254 | 192.168.127.255 |
32766
|
255.255.192.0 | /18 | 192.168.0.1 - 192.168.63.254 | 192.168.63.255 |
16382
|
255.255.224.0 | /19 | 192.168.0.1 - 192.168.31.254 | 192.168.31.255 |
8190
|
255.255.240.0 | /20 | 192.168.0.1 - 192.168.15.254 | 192.168.15.255 |
4094
|
255.255.248.0 | /21 | 192.168.0.1 - 192.168.7.254 | 192.168.7.255 |
2046
|
255.255.252.0 | /22 | 192.168.0.1 - 192.168.3.254 | 192.168.3.255 |
1022
|
255.255.254.0 | /23 | 192.168.0.1 - 192.168.1.254 | 192.168.1.255 |
510
|
255.255.255.0 | /24 | 192.168.0.1 - 192.168.0.254 | 192.168.0.255 |
254
|
255.255.255.128 | /25 | 192.168.0.1 - 192.168.0.126 | 192.168.0.127 |
126
|
255.255.255.192 | /26 | 192.168.0.1 - 192.168.0.62 | 192.168.0.63 |
62
|
255.255.255.224 | /27 | 192.168.0.1 - 192.168.0.30 | 192.168.0.31 |
30
|
255.255.255.240 | /28 | 192.168.0.1 - 192.168.0.14 | 192.168.0.15 |
14
|
255.255.255.248 | /29 | 192.168.0.1 - 192.168.0.6 | 192.168.0.7 |
6
|
255.255.255.252 | /30 | 192.168.0.1 - 192.168.0.2 | 192.168.0.3 |
2
|
没有评论:
发表评论