Question

A large number of consecutive IP addresses are available starting at 198.16.0.0. Suppose that four organizations, A, B, C, an
0 0
Add a comment Improve this question Transcribed image text
Answer #1

First of all we need to assign an IP address to organization A. Organization A require 4000 IP addresses. So the number of host bits can be calculated by applying 2n  = 212 = 4096(nearest value to 4000). Thus the number of host bits are 12. The subnet mask for the organization A will be 198.16.0.0/20. Here we write 20 because we subtract the host bits from the total bits i.e. 32 - 12 = 20. The first IP address is already given 198.16.0.0 . Now to determine the last IP Address, convert the bytes into binary. 198 --> 11000110, 16 --> 00010000, and the modified third and fourth bit will be 00001111 and 11111111 (replacing 12 bits by 1). Now converting these bits into decimal number we get the last IP Address of organization A i.e. 198.16.15.255 .

Now for organization B, it requires 2000 IP Addresses. So the number of host bits can be calculated by 211 = 2048(nearest value to 2000). The number of host bits are 11. So 11 bits will be replaced by 1 in the given IP Address. The modified IP Address will be 11000110 00010000 00010111 11111111 (adding an extra 1 because the IP Address of the next organization will be greater by 1 than the IP Address of the previous organization i.e. 11000110 00010000 00010111 11111111). Now converting this into decimal number, we get our first IP Address --> 198.16.16.0 and the last IP Address --> 198.16.23.255. The subnet mask will be 198.16.16.0/21 (32-11=21).

Organization C requires 4000 IP Addresses so just like before we will calculate the host bits = 12. So replacing 12 bits in the IP Address. The modified IP Address will be 11000110 00010000 00101111 11111111(here we incremented network part only to avoid clash of IP Addresses i.e. 11000110 00010000 0001 + 1 = 11000110 00010000 0010). Converting this into decimal number we get, our first IP Address --> 198.16.32.0 and the last IP Address --> 198.16.47.255 . The subnet mask will be 198.16.32.0/20 .

Organization D requires 8000 IP Addresses so 213 = 8192. Number of host bits = 13. The modified IP Address after replacing 13 bits will be 11000110 00010000 01011111 11111111. Converting this into decimal number we get, our first IP Address --> 198.16.64.0 and the last IP Address --> 198.16.95.255. The subnet mask will be 198.16.64.0/19 (32-13 = 19).

Add a comment
Know the answer?
Add Answer to:
A large number of consecutive IP addresses are available starting at 198.16.0.0. Suppose that four organizations,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT