What prefix would you use? What is the subnet mask, in binary and decimal format?

Recall that the prefix indicates the number of bits used to identify the network. Given that this is a

Class C address and we use 3 bytes plus 3 additional bits for subnets (8 + 8 + 8 + 3 = 27), our prefix

will be /27. Recall that the subnet mask is a continuous stream of 1s—in our case, 27 of them.

Therefore, the subnet mask in binary is 11111111.11111111.11111111.11100000.

Subnet

Number

Subnet Address (first

address on the subnet)

Range of Host

Addresses

Direct Broadcast Address (last

address on the subnet)

0 192.168.1.0 192.168.1.1–

192.168.1.30

192.168.1.31

1 192.168.1.32 192.168.1.33–

192.168.1.62

192.168.1.63

2 192.168.1.64 192.168.1.65–

192.168.1.94

192.168.1.95

3 192.168.1.96 192.168.1.97–

192.168.1.126

192.168.1.127

4 192.168.1.128 192.168.1.129–

192.168.1.158

192.168.1.159

5 192.168.1.160 192.168.1.161–

192.168.1.190

192.168.1.191

6 192.168.1.192 192.168.1.193–

192.168.1.222

192.168.1.223

7 192.168.1.224 192.168.1.225–

192.168.1.254

192.168.1.255

We need to convert this binary number into a decimal to get the subnet mask. Hands-On Activity 5C

might come in handy here. The subnet mask in decimal is 255.255.255.224.