![](https://img-blog.csdnimg.cn/6564531d4a7b47a8815c6381f7082bba.png)
![](https://img-blog.csdnimg.cn/907792f994b1439db039ca7b0b3d9964.png)
![](https://img-blog.csdnimg.cn/d369409bee84497eb3bf4d132e9b0ac2.png)
![](https://img-blog.csdnimg.cn/e9b4945ade8a42e9a86a474f37149692.png)
![](https://img-blog.csdnimg.cn/a4c493196fd54e0e9b31019d366c96a2.png)
![](https://img-blog.csdnimg.cn/189d1a9f818a4dbdb659609e6a78d8e9.png)
![](https://img-blog.csdnimg.cn/92ed172c5f4c4ca2b19737a91b473ad7.png)
![](https://img-blog.csdnimg.cn/9e11ac8bea9542bfaa9a886efbdb1c28.png)
![](https://img-blog.csdnimg.cn/5585c215ce754e2fbb6500f99e6dd9ce.png)
![](https://img-blog.csdnimg.cn/178a698b6b6c405ea954bff9c7b87e3e.png)
![](https://img-blog.csdnimg.cn/5df235a9a7c6498cb46aa798a0b7eb73.png)
![](https://img-blog.csdnimg.cn/e0d5c13b97da4a63b9281fb92bcf3dcc.png)
练习
1.子网划分:
172.16.0.0/16 一分为四(借两位)
10101100.00010000.00000000.00000000
172.16.00000000.00000000
(1)172.16.00 000000.00000000
网络地址:172.16.0.0 /18
172.16.00 000000.00000001--172.16.00 111111.11111110
可用范围:172.16.0.1--172.16.63.254
(2)172.16.01 000000.00000000
网络地址:172.16.64.0 /18
172.16.01 000000.00000001--172.16.01 111111.11111110
可用范围:172.16.64.1--172.16.127.254
(3)172.16.10 111111.11111110
网络地址:172.16.128.0/ 18
172.16.10 000000.00000001--172.16.10 111111.11111110
可用范围172.16.128.1--172.16.191.254
(4)172.16.11 000000.00000000
网络地址:172.16.192.0 /18
172.16.11 000000.00000001--172.16.11 111111.11111110
可用范围:172.16.192.1--172.16.255.254
2.子网汇总:
192.168.1.0 /24
192.168.2.0 /24
192.168.000000 01.0 /24
192.168.000000 10.0 /24
192.168.000000 00.0
结果:192.168.0.0 /22