This solution shows a shorter technique than the last solution in which every host address of every subnet was written out. A class C address with a 29-bit mask means that there will be 30 subnets and 6 host addresses on each subnet. The subnets are 11111111111111111111111111111000 = 255.255.255.248 (mask) 11000000101010001001001100001000 = 192.168.147.8 11000000101010001001001100010000 = 192.168.147.16 11000000101010001001001100011000 = 192.168.147.24 11000000101010001001001100100000 = 192.168.147.32 11000000101010001001001100101000 = 192.168.147.40 11000000101010001001001100110000 = 192.168.147.48 11000000101010001001001100111000 = 192.168.147.56 11000000101010001001001101000000 = 192.168.147.64 11000000101010001001001101001000 = 192.168.147.72 11000000101010001001001101010000 = 192.168.147.80 11000000101010001001001101011000 = 192.168.147.88 11000000101010001001001101100000 = 192.168.147.96 11000000101010001001001101101000 = 192.168.147.104 11000000101010001001001101100000 = 192.168.147.112 11000000101010001001001101111000 = 192.168.147.120 11000000101010001001001110000000 = 192.168.147.128 11000000101010001001001110001000 = 192.168.147.136 11000000101010001001001110010000 = 192.168.147.144 11000000101010001001001110011000 = 192.168.147.152 11000000101010001001001110100000 = 192.168.147.160 11000000101010001001001110101000 = 192.168.147.168 11000000101010001001001110110000 = 192.168.147.176 11000000101010001001001110111000 = 192.168.147.184 11000000101010001001001111000000 = 192.168.147.192 11000000101010001001001111001000 = 192.168.147.200 11000000101010001001001111010000 = 192.168.147.208 11000000101010001001001111011000 = 192.168.147.216 11000000101010001001001111100000 = 192.168.147.224 11000000101010001001001111101000 = 192.168.147.232 11000000101010001001001111110000 = 192.168.147.240
Next, the broadcast addresses of each subnet are derived by setting the host bits of each subnet to all ones. The subnet broadcast addresses are 11000000101010001001001100001111 = 192.168.147.15 11000000101010001001001100010111 = 192.168.147.23 11000000101010001001001100011111 = 192.168.147.31 11000000101010001001001100100111 = 192.168.147.39 11000000101010001001001100101111 = 192.168.147.47 11000000101010001001001100110111 = 192.168.147.55 11000000101010001001001100111111 = 192.168.147.63 11000000101010001001001101000111 = 192.168.147.71 11000000101010001001001101001111 = 192.168.147.79 11000000101010001001001101010111 = 192.168.147.87 11000000101010001001001101011111 = 192.168.147.95 11000000101010001001001101100111 = 192.168.147.103 11000000101010001001001101101111 = 192.168.147.111 11000000101010001001001101100111 = 192.168.147.119 11000000101010001001001101111111 = 192.168.147.127 11000000101010001001001110000111 = 192.168.147.135 11000000101010001001001110001111 = 192.168.147.143 11000000101010001001001110010111 = 192.168.147.151 11000000101010001001001110011111 = 192.168.147.159 11000000101010001001001110100111 = 192.168.147.167 11000000101010001001001110101111 = 192.168.147.175 11000000101010001001001110110111 = 192.168.147.183 11000000101010001001001110111111 = 192.168.147.191 11000000101010001001001111000111 = 192.168.147.199 11000000101010001001001111001111 = 192.168.147.207 11000000101010001001001111010111 = 192.168.147.215 11000000101010001001001111011111 = 192.168.147.223 11000000101010001001001111100111 = 192.168.147.231 11000000101010001001001111101111 = 192.168.147.239 11000000101010001001001111110111 = 192.168.147.247
Finally, the host addresses for each subnet are derived. They will be all addresses between the subnet addresses and the subnet broadcast addresses. Subnet | Broadcast | Host Addresses |
---|
192.168.147.8 | 192.168.147.15 | 192.168.147.9192.168.147.14 | 192.168.147.16 | 192.168.147.23 | 192.168.147.17192.168.147.22 | 192.168.147.24 | 192.168.147.31 | 192.168.147.25192.168.147.30 | 192.168.147.32 | 192.168.147.39 | 192.168.147.33192.168.147.38 | 192.168.147.40 | 192.168.147.47 | 192.168.147.41192.168.147.46 | 192.168.147.48 | 192.168.147.55 | 192.168.147.49192.168.147.54 | 192.168.147.56 | 192.168.147.63 | 192.168.147.57192.168.147.62 | 192.168.147.64 | 192.168.147.71 | 192.168.147.65192.168.147.70 | 192.168.147.72 | 192.168.147.79 | 192.168.147.73192.168.147.78 | 192.168.147.80 | 192.168.147.87 | 192.168.147.81192.168.147.86 | 192.168.147.88 | 192.168.147.95 | 192.168.147.89192.168.147.94 | 192.168.147.96 | 192.168.147.103 | 192.168.147.97192.168.147.102 | 192.168.147.104 | 192.168.147.111 | 192.168.147.105192.168.147.110 | 192.168.147.112 | 192.168.147.119 | 192.168.147.113192.168.147.118 | 192.168.147.120 | 192.168.147.127 | 192.168.147.121192.168.147.126 | 192.168.147.128 | 192.168.147.135 | 192.168.147.129192.168.147.134 | 192.168.147.136 | 192.168.147.143 | 192.168.147.137192.168.147.142 | 192.168.147.144 | 192.168.147.151 | 192.168.147.145192.168.147.150 | 192.168.147.152 | 192.168.147.159 | 192.168.147.153192.168.147.158 | 192.168.147.160 | 192.168.147.167 | 192.168.147.161192.168.147.166 | 192.168.147.168 | 192.168.147.175 | 192.168.147.169192.168.147.174 |
|