What is the maximum number of hosts that can be addressed in a subnet with a sub

Practice Questions

Q1
What is the maximum number of hosts that can be addressed in a subnet with a subnet mask of 255.255.255.128?
  1. 126
  2. 128
  3. 254
  4. 256

Questions & Step-by-Step Solutions

What is the maximum number of hosts that can be addressed in a subnet with a subnet mask of 255.255.255.128?
  • Step 1: Understand what a subnet mask is. A subnet mask helps to divide an IP address into a network part and a host part.
  • Step 2: Convert the subnet mask 255.255.255.128 into binary. It looks like this: 11111111.11111111.11111111.10000000.
  • Step 3: Count the number of '0's in the binary representation of the subnet mask. There are 7 '0's.
  • Step 4: Use the formula 2^n - 2, where n is the number of '0's. Here, n = 7.
  • Step 5: Calculate 2^7, which equals 128.
  • Step 6: Subtract 2 from 128 to account for the network and broadcast addresses. So, 128 - 2 = 126.
  • Step 7: Conclude that the maximum number of usable host addresses in this subnet is 126.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely