269 views
0 votes
0 votes

Q - 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.
 

DOUBT:

Is it not our own choice how to give codes for the three organizations?

I mean like for org D, we need to fix 13 bits for host id so in third 8 bit segment of the IP address we get to have 3 bits to code. I gave it 198.16.00000000.00000000 to 198.16.00011111.11111111

Likewise,

org C- 198.16.10000000.00000000 to 198.16.10001111.11111111

org A - 198.16.11000000.00000000 to 198.16.11001111.11111111

org B - 198.16.11100000.00000000 to 198.16.11100111.11111111

The Bold represents the fixed bits.

The question is- Is there a standard way for giving code to the bits we need to fix by ourself? If not, there could be many ways for that, example : I can also give 198.16.01100000.00000000 as first IP address to organization D. I only need to fix first 3 bits of 3rd 8 bit segment of this IP address and I can do it any way possible.(unless the IP address clashes with any IP address given to other organisations.)

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
3