A network technician manually configures network settings on a workstation attached to a corporate local subnet. The workstation is assigned an IP address of 10.0.15.50 with a subnet mask of 255.255.255.0 and a default gateway address of 10.0.16.1. The workstation can successfully ping neighboring hosts within the 10.0.15.0/24 network, but cannot reach any hosts on external subnets or the internet. Which of the following best explains the reason for this connectivity issue?
- The default gateway is configured on a different IP subnet than the host machine.Answer
- BThe workstation failed to contact a DHCP server and automatically assigned itself an APIPA address.
- CThe DNS server is configured to lease IP addresses rather than performing hostname resolution.
- DAn unmanaged Layer 2 switch is being used instead of a router to connect local hosts on the 10.0.15.0/24 subnet.
Answer
The default gateway is configured on a different IP subnet than the host machine.
For a workstation to communicate with networks outside its local subnet, its configured default gateway must reside on the same IP subnet. With a /24 mask (255.255.255.0), the IP 10.0.15.50 is on the 10.0.15.0 network, while 10.0.16.1 is on the 10.0.16.0 network. Consequently, the workstation cannot send outbound traffic to the gateway router.
Step-by-Step Solution
Key Concept
Subnet Masking and Default Gateway Placement