100-150 Question 58
Select 3A network administrator is tasked with assigning IP addresses to devices in a subnet with the CIDR block 192.168.1.0/26. Which of the following IP addresses can be assigned to a host device in this subnet?
- A
192.168.1.1
- B
192.168.1.63
- C
192.168.1.64
- D
192.168.1.62
- E
192.168.1.0
Show answer and explanation
Correct answers: A, B, D
Explanation
The CIDR block 192.168.1.0/26 has a subnet mask of 255.255.255.192, giving it 64 total addresses (0-63). The subnet ID (192.168.1.0) and broadcast address (192.168.1.63) cannot be assigned to hosts, leaving the range of valid host addresses as 192.168.1.1 to 192.168.1.62. Any address outside this range is not valid in this subnet.
- A. Correct.
192.168.1.1 is within the range of valid host addresses for the subnet 192.168.1.0/26, so it can be assigned to a host.
- B. Correct.
192.168.1.63 is the broadcast address for the subnet 192.168.1.0/26, so it cannot be assigned to a host.
- C. Incorrect.
192.168.1.64 is outside the range of the subnet 192.168.1.0/26, falling into the next subnet, so it cannot be assigned.
- D. Correct.
192.168.1.62 is the last valid host address in the subnet 192.168.1.0/26, so it can be assigned to a host.
- E. Incorrect.
192.168.1.0 is the subnet ID for 192.168.1.0/26, so it cannot be assigned to a host.