posted by rocky on .
A firm is assigned the network part 128.171. It selects an 10-bit subnet part. a) Draw the bits for the four octets of the IP address of the first host on the first subnet.
Is Programming your School Subject?
I am not an expert on networking, but I will try to give an answer to the best of my knowledge.
Since the network part is 128.171, it is a class B subnet. Using 10 bits for the subnet means that it will use a 10 bit subnet-mask, namely 255.255.255.192, or in bits,
Since subnets with all zeroes (address of network) and all ones (broadcast address) are not allowed, the first subnet begins with
Thus there can be 210 = 1022 possible subnets, and each subnet can have 26-2 = 62 hosts.
The first host on the first subnet is therefore:
"Thus there can be 210-2 = 1022 possible subnets...."
a) Draw the bits for the four octets of the IP address of the first host on the first subnet.
b) Convert this answer into dotted decimal notation.
c) Draw the bits for the second host on the third subnet.
d) Convert this into dotted decimal notation.
e) Draw the bits for the last host on the third subnet.
f) Convert this answer into dotted decimal notation.