Suppose the administrator of a class B IP network wishes to divide the network to create subnets with up to 240 hosts on each subnet. Then what would be a suitable net/host address boundary and a subnet mask.
240 host = log2(240) = 8
therefore there are 32 bits in ip address and we need the 8 bits to accommodate 240 hosts.
Therefore 32-8 = 24. Therefore we need the first 24 bits for the network park, which suggest the
host/net boundary of /24 is suitable.
This means that the first 24 bits are all 1s and therefore we get the following:
11111111 11111111 11111111 = 255.255.255.
Therefore our subnet mask becomes 255.255.255.0 with a boundary of /24 on class B IP network.
HI Can anybody check my solution and please let me know whether it is right or wrong.
You can use at least 254 different networks, like so:
In other words, you are on the right track.
arrogance breeds ignorance
Screaming Electron, Full of BSD Goodness