⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

10100110.00000001.[]xxxxxxx.xxxxxxxx

这里填0或1,就能划分两个子网

后面随便填,只要不是全0或1

Router1

some school

某学校申请了一个B类IP地址段:166.1.x.x采用子网划分技术

Switch1

Switch2

Hub3

H1

H2

H3

H4

H5

H6

B2

166.1.0.5

166.1.0.3

166.1.8.3

166.1.128.2

166.1.177.1

166.1.129.2

166.1.150.3

B0

B1

B3

166.1.128.1

H1~H2
默认网关: 166.1.0.5
子网掩码: 255.255.128.0

H3~H6
默认网关:166.1.128.1
子网掩码:255.255.128.0

对于166.1.x.x用1bit划分两个子网
它的子网掩码用二进制就是:1111,1111,1111,1111,1000,0000,0000,0000
对应的10进制:255.255.128.0