我必须将一个网络拆分为 11 个子网,然后必须进一步拆分这些网络。
With the address 136.192.0.0\16:
I found that I have 2^(32-16) = 65,536 available addresses.
I can make 11 groups of 4,096 addresses.
I then get 20 as the subnet mask prefix.
我最终得到以下 11 个 IP 地址,每个网络一个。
Network ID Subnet Mask
138.192.16.0 255.255.240.0 or \20
138.192.32.0 255.255.240.0 or \20
138.192.48.0 255.255.240.0 or \20
138.192.64.0 255.255.240.0 or \20
138.192.80.0 255.255.240.0 or \20
138.192.96.0 255.255.240.0 or \20
138.192.112.0 255.255.240.0 or \20
138.192.128.0 255.255.240.0 or \20
138.192.144.0 255.255.240.0 or \20
138.192.160.0 255.255.240.0 or \20
138.192.176.0 255.255.240.0 or \20
第一个网络地址是 138.192.16.0\20 我需要将此地址拆分为 5 个进一步的子网。
I have 2^(32-20) = 4096 addresses available with the \20 subnet mask
If I split it up into 5 groups thats 4096/5 = 819.2 but we have to round
that to a multiple of 2, so we get 5 groups of 512
Because 9 bits are for the host, that means 23 are for the network
That gives me 255.255.254.0 for the subnet mask.
这是据我所知,因为我不确定如何生成这 5 个网络 ID。我也不确定我是否做得对。
我确实找到了这个资源你如何计算前缀、网络、子网和主机号? 但是我不确定子网划分时它在做什么。