3,430 views
4 votes
4 votes
A large number of consecutive IP address are available at 198.16.0.0. Suppose that four organizations A, B, C and D request for 4000, 2000, 4000 and 8000 addresses respectively. For each of these, give the first IP address assigned, the last IP address assigned, and the mask in dotted decimal notation.

My answer is

A 198.16.0.0/20 to 198.16.15.255

B 198.16.16.0/21 to 198.16.23.255

C 198.16.24.0/20 to 198.16.39.255

D 198.16.40.0/19 to 198.16.71.255

Right or wrong??

1 Answer

0 votes
0 votes

For organization A, which requested 4000 IP addresses, the number of bits for host portion would be at least 12, i.e., 2^12=4096. Therefore,

  • its network mask should be 198.16.00000000/20, or 198.16.0.0/20
  • its first IP address assigned is 198.16.0.1
  • its last IP address assigned is 198.16.00001111.11111111 or 198.16.15.255

Related questions

4 votes
4 votes
1 answer
2
0 votes
0 votes
1 answer
3