Class B Subnetting
Introduction

The principles for subnetting class B addresses are exactly the same as for class C.  You just need to remember that the default subnet mask for class B addresses is 255.255.0.0, so the subnetting will take place from the third octet onwards.

Here are all the possible class B subnets:

# Bits Subnet Mask CIDR # Subnets # Hosts
0 255.255.0.0 /16 1 (network) 65534
1 255.255.128.0 /17 2 32766
2 255.255.192.0 /18 4 16382
3 255.255.224.0 /19 8 8190
4 255.255.240.0 /20 16 4094
5 255.255.248.0 /21 32 2046
6 255.255.252.0 /22 64 1022
7 255.255.254.0 /23 128 510
8 255.255.255.0 /24 256 254
9 255.255.255.128 /25 512 126
10 255.255.255.192 /26 1024 62
11 255.255.255.224 /27 2048 30
12 255.255.255.240 /28 4096 14
13 255.255.255.248 /29 8192 6
14 255.255.255.252 /30 16384 2