Computer Science, asked by navi667, 1 year ago

An address in a block is given as 180.8.17.9. find the number of addresses in the block, the first address, and the last address.

Answers

Answered by Manyata653
1
sorry I don't know the answer
Answered by dackpower
2

The number of addresses in the block is 65,536.

The first address is 18.8.0.0/16 and the last address is 18.8.255.255.

The subsequent question is an instance of Two-Level Addressing of Communication.

180 comes within 128 and 191 and hence, the class of the address is B, for which the value of n is 16.

Therefore, the number of addresses is 2 lift to the power of (32-16), i.e., 16.

Hence 2 increased to 16 works out as 65,536.

To obtain the first address, we grasp the leftmost 16 bits and set the rightmost 16 bits to 0s.

Therefore, the first address is 18.8.0.0/16, in which n=16.

For finding the last address, we will keep the leftmost 16 bits and set the rightmost 16 bits to 1s.

Hence, the last address is 18.8.255.255.

Similar questions