You have a network ID of 134.57.0.0 and you need to divide it into multiple subnets in which at least 600 host IDs for each subnet are available. You desire to have the largest amount of subnets available. Which subnet mask should you assign?

24 views
  • 255.255.224.0
  • 255.255.240.0
  • 255.255.248.0
  • 255.255.255.0 (Correct Answer)

Explanation

To accommodate at least 600 host IDs for each subnet, we need to use a subnet mask with at least 10 bits for the host IDs (2^10 = 1024, which is greater than 600). Since we desire to have the largest amount of subnets available, we need to use the smallest possible subnet mask.

To determine the smallest possible subnet mask, we can use the formula:

n = 2^(h - b)

where n is the number of subnets, h is the number of bits in the host ID, and b is the number of bits in the subnet ID. We can rearrange this formula to solve for b:

b = h - log2(n)

In this case, h is 16 (since the IP address has a class B network ID), n is the number of subnets we need to accommodate, and we want to solve for the smallest possible value of b.

For n = 2, we have:

b = 16 - log2(2) = 15

This means we can use a subnet mask of 255.254.0.0 (which has 15 bits for the subnet ID) to create 2 subnets with at least 600 host IDs each.

For n = 4, we have:

b = 16 - log2(4) = 14

This means we can use a subnet mask of 255.255.252.0 (which has 14 bits for the subnet ID) to create 4 subnets with at least 600 host IDs each.

For n = 8, we have:

b = 16 - log2(8) = 13

This means we can use a subnet mask of 255.255.254.0 (which has 13 bits for the subnet ID) to create 8 subnets with at least 600 host IDs each.

Therefore, the subnet mask we should assign is 255.255.254.0.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs