0

假设我有 136.181.0.0 /16 我想把它分成十一个子网

我得到/19?首先是 /16,它只有 1 个子网(实际上当子网尚未应用时,它仍然称为网络地址)。从主机位借 1 位,您将获得 /17 和两个子网。再借一个,您将获得 4 个子网和前缀 18。再借一点,您将获得 8 个以 /19 作为 CIDR 的子网。

不确定这里的第 9、10 和 11 日。

1st 136.181.0.0/19 
2nd 136.181.32.0/19 
3rd 136.181.64.0/19 
4th 136.181.96.0/19 
5th 136.181.128.0/19 
6th 136.181.160.0/19 
7th 136.181.192.0/19 
8th 136.181.224.0/19 
9th 136.181.224.1/19 
10th 136.181.224.33/19 
11th 136.181.224.65/19
4

2 回答 2

4
136.181.0.0/16  (255.255.0.0)

(N = Network, S = Subnet, H = Host)

10001000.10110101.00000000.00000000 
NNNNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH
NNNNNNNN.NNNNNNNN.SSSSHHHH.HHHHHHHH

01: 136.181.00000000.00000000/19 (136.181.0.0)
02: 136.181.00010000.00000000/19 (136.181.16.0)    
03: 136.181.00100000.00000000/19 (136.181.32.0)
04: 136.181.00110000.00000000/19 (136.181.48.0)
05: 136.181.01000000.00000000/19 (136.181.64.0)
06: 136.181.01010000.00000000/19 (136.181.80.0)
07: 136.181.01100000.00000000/19 (136.181.96.0)
08: 136.181.01110000.00000000/19 (136.181.112.0)
09: 136.181.10000000.00000000/19 (136.181.128.0)
10: 136.181.10010000.00000000/19 (136.181.144.0)
11: 136.181.10100000.00000000/19 (136.181.160.0)
12: 136.181.10110000.00000000/19 (136.181.176.0)
13: 136.181.11000000.00000000/19 (136.181.192.0)
14: 136.181.11010000.00000000/19 (136.181.208.0)
15: 136.181.11100000.00000000/19 (136.181.224.0)
16: 136.181.11110000.00000000/19 (136.181.240.0)

您需要 11 个子网,因此需要 4 个子网位来创建具有 4094 (2^12-2) 个可用主机地址的 16 (2^4) 个子网。

于 2013-10-07T09:42:16.923 回答
2
As we require 11 subnets, we require 4 bits from the host side into the network side.

Number of bits on the network side is 20.

01: 136.181.00000000.00000000/20 (136.181.0.0) 
02: 136.181.00010000.00000000/20 (136.181.16.0)    
03: 136.181.00100000.00000000/20 (136.181.32.0)
04: 136.181.00110000.00000000/20 (136.181.48.0)
05: 136.181.01000000.00000000/20 (136.181.64.0)
06: 136.181.01010000.00000000/20 (136.181.80.0)
07: 136.181.01100000.00000000/20 (136.181.96.0)
08: 136.181.01110000.00000000/20 (136.181.112.0)
09: 136.181.10000000.00000000/20 (136.181.128.0)
10: 136.181.10010000.00000000/20 (136.181.144.0)
11: 136.181.10100000.00000000/20 (136.181.160.0)

Wasted IP Address = 5 * 2^12.
于 2015-01-05T18:40:11.650 回答