Sunteți pe pagina 1din 4

CLASS A SUBNETS

# bits Subnet Mask

CIDR # Subnets # Hosts Binary Equivalent of CIDR

255.192.0.0

/10

4194302 192=11000000

255.224.0.0

/11

2097150 224=11100000

255.240.0.0

/12

14

1048574 240=11110000

255.248.0.0

/13

30

524286

248=11111000

255.252.0.0

/14

62

262142

252=11111100

255.254.0.0

/15

126

131070

254=11111110

255.255.0.0

/16

254

65534

255=11111111

255.255.128.0

/17

510

32766

128=10000000

10

255.255.192.0

/18

1022

16382

192=11000000

11

255.255.224.0

/19

2046

8190

224=11100000

12

255.255.240.0

/20

4094

4094

240=11110000

13

255.255.248.0

/21

8190

2046

248=11111000

14

255.255.252.0

/22

16382

1022

252=11111100

15

255.255.254.0

/23

32766

510

254=11111110

16

255.255.255.0

/24

65534

254

255=11111111

17

255.255.255.128 /25

131070

126

128=10000000

18

255.255.255.192 /26

262142

62

192=11000000

19

255.255.255.224 /27

524286

30

224=11100000

20

255.255.255.240 /28

1048574

14

240=11110000

21

255.255.255.248 /29

2097150

248=11111000

22

255.255.255.252 /30

4194302

252=11111100

NOTE
Number of Hosts = 2number of zeros 2 (all zeroes + all ones) in the CIDR
Number of Networks (subnets) =2number ones -2 (all zeroes + all ones) in the CIDR

Valid Class A subnet masks


255.0.0.0

(/8)

1 network

with 16,777,214 hosts

255.128.0.0

(/9)

2 subnets

with 8,388,606 hosts each

255.192.0.0

(/10)

4 subnets

with 4,194,302 hosts each

255.224.0.0

(/11)

8 subnets

with 2,097,150 hosts each

255.240.0.0

(/12)

16 subnets

with 1,048,574 hosts each

255.248.0.0

(/13)

32 subnets

with 524,286 hosts each

255.252.0.0

(/14)

64 subnets

with 262,142 hosts each

255.254.0.0

(/15)

128 subnets

with 131,070 hosts each

255.255.0.0

(/16)

256 subnets

with 65,534 hosts each

255.255.128.0 (/17)

512 subnets

with 32,766 hosts each

255.255.192.0 (/18)

1,024 subnets

with 16,384 hosts each

255.255.224.0 (/19)

2,048 subnets

with 8,190 hosts each

255.255.240.0 (/20) 4,096 subnets

with 4,094 hosts each

255.255.248.0 (/21)

8,192 subnets

with 2,046 hosts each

255.255.252.0 (/22) 16,384 subnets

with 1,022 hosts each

255.255.254.0 (/23) 32,768 subnets

with 510 hosts each

255.255.255.0 (/24) 65,536 subnets

with 254 hosts each

255.255.255.128 (/25) 131,072 subnets

with 126 hosts each

255.255.255.192 (/26) 262,144 subnets

with 62 hosts each

255.255.255.224 (/27) 524,288 subnets

with 30 hosts each

255.255.255.240 (/28) 1,048,576 subnets

with 14 hosts each

255.255.255.248 (/29) 2,097,152 subnets

with 6 hosts each

255.255.255.252 (/30) 4,194,304 subnets

with 2 hosts each

Subnet zero
This chart assumes you can use subnet zero. If youre not using subnet zero, subtract two from each
number in the Subnets column above.

Valid subnet address: To figure out the valid subnet address, simply subtract the subnet
mask from 256. For example, if you had a Class A mask of 255.240.0.0, the equation would be 256240=16. The number 16 is the first subnet and also your block size. Keep adding the block size (in
this case 16) to itself until you reach the subnet mask value. The valid subnets in this example are
16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224. As another example, if you had a Class
A subnet mask of 255.255.240.0, youd use the mask on the second and third octets minus 256. The
second octet would be 256-255=1, 2, 3, etc., all the way to 254; the third octet would be 256240=16, 32, 48, etc.

Broadcast address: To determine the broadcast address of each subnet, just subtract 1
from the next subnet value. For example, within the 16 subnet, the next subnet is 32, so the
broadcast address of the 16 subnet is 31. The broadcast address for the 32 subnet is 47, because the
next subnet is 48. The broadcast address for the 48 subnet is 63, because the next subnet is 64.

Valid host range: The valid hosts are the numbers between the subnet address and the
broadcast address. For the 16 subnet, the valid host range you can assign on a network is 17-30
because the subnet number is 16 and the broadcast address is 31. For the 32 subnet, the valid host
range is 33 to 46 because the subnet number is 32 and the broadcast address is 47. You cant use
the subnet number and broadcast addresses as valid host addresses.

CLASS B SUBNETS
# bits Subnet Mask

CIDR # Subnets # Hosts Binary Equivalent of CIDR

255.255.192.0

/18

16382

192=11000000

255.255.224.0

/19

8190

224=11100000

255.255.240.0

/20

14

4094

240=11110000

255.255.248.0

/21

30

2046

248=11111000

255.255.252.0

/22

62

1022

252=11111100

255.255.254.0

/23

126

510

254=11111110

255.255.255.0

/24

254

254

255=11111111

255.255.255.128 /25

510

126

128=10000000

10

255.255.255.192 /26

1022

62

192=11000000

11

255.255.255.224 /27

2046

30

224=11100000

12

255.255.255.240 /28

4094

14

240=11110000

13

255.255.255.248 /29

8190

248=11111000

14

255.255.255.252 /30

16382

252=11111100

CLASS C SUBNETS
bits Subnet Mask

CIDR # Subnets # Hosts Binary Equivalent of CIDR

255.255.255.192 /26

62

192=11000000

255.255.255.224 /27

30

224=11100000

255.255.255.240 /28

14

14

240=11110000

255.255.255.248 /29

30

248=11111000

255.255.255.252 /30

62

252=11111100

NOTE
Number of Hosts = 2number of zeros 2 (all zeroes + all ones) in the CIDR
Number of Networks (subnets) =2number ones -2 (all zeroes + all ones) in the CIDR

S-ar putea să vă placă și