Use a conventional IPv4 subnet 192.168.50.0/26.
Exclude the network and broadcast addresses from the assignable count.
How many host addresses are usable?
A /26 has six host bits and 64 total addresses. A conventional subnet reserves two endpoints, leaving 62 usable addresses.
Detailed explanation
Incorrect. 64 includes the network and broadcast addresses.
Incorrect. 64 includes the network and broadcast addresses.
Correct. 64 minus the two reserved endpoints is 62.
Correct. 64 minus the two reserved endpoints is 62.
Incorrect. 32 is the total size of a /27.
Incorrect. 32 is the total size of a /27.
Incorrect. 30 is the usual usable count for a /27.
Incorrect. 30 is the usual usable count for a /27.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import ipaddress; n=ipaddress.ip_network('192.168.50.0/26'); print(n.num_addresses-2)"Expected result
62Key points
- Six host bits
- 64 total addresses
- Subtract network and broadcast
Notes
- Environment: Python 3 ipaddress / ローカル計算のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.