100-140 Question 202
Select 2You are tasked with configuring a network device. The device is assigned the IP address 192.168.10.15 with a subnet mask of 255.255.255.0 (CIDR 24). Which of the following IP addresses can connect to the device within the same subnet?
- A
192.168.10.50
- B
192.168.11.15
- C
192.168.10.254
- D
192.168.9.200
- E
10.0.0.1
Show answer and explanation
Correct answers: A, C
Explanation
To determine if two IP addresses are in the same subnet, you must compare the network portion of their addresses using the subnet mask. In this case, the subnet mask 255.255.255.0 means that only the first three octets must match for two addresses to be in the same subnet. Therefore, only 192.168.10.50 and 192.168.10.254 are in the same subnet as 192.168.10.15.
- A. Correct.
192.168.10.50 is in the same subnet because the first three octets match the subnet range defined by the 255.255.255.0 mask.
- B. Incorrect.
192.168.11.15 is not in the same subnet because the third octet (11) is different from the device's subnet (10).
- C. Correct.
192.168.10.254 is in the same subnet since it shares the same first three octets as the device's IP address.
- D. Incorrect.
192.168.9.200 is not in the same subnet because the third octet (9) is different from the device's subnet (10).
- E. Incorrect.
10.0.0.1 is not in the same subnet because it is a completely different IP range and does not match the 192.168.X.X private range.