Soru

Zorluk: KolayTroubleshooting IP Addressing and DHCP Services

A user's workstation is assigned a static IPv4 address of 192.168.1.50192.168.1.50 with a subnet mask of 255.255.255.0255.255.255.0. The default gateway is configured as 192.168.2.1192.168.2.1. The user cannot access any external resources or communicate outside the local network segment. Which of the following best explains why the workstation cannot reach the default gateway?

  1. The host IP address and the default gateway reside on different IP subnets.Cevap
  2. B
    The workstation automatically generated an Automatic Private IP Addressing (APIPA) address due to a failed DHCP request.
  3. C
    The local network router is missing a DHCP relay agent configuration.
  4. D
    The default gateway address exceeds the maximum number of usable host IP addresses on a /24/24 network.

Cevap

The host IP address and the default gateway reside on different IP subnets.
For a workstation to forward traffic off its local network segment, its default gateway must share the same IP subnet. With a subnet mask of 255.255.255.0255.255.255.0, the workstation at 192.168.1.50192.168.1.50 belongs to the 192.168.1.0/24192.168.1.0/24 network, while the configured gateway 192.168.2.1192.168.2.1 belongs to the 192.168.2.0/24192.168.2.0/24 network. Because they reside on separate subnets, local ARP requests to locate the gateway will fail.

Adım Adım Çözüm

1
Determine the host's IP network ID based on its assigned IP address and subnet mask.
An IP address of 192.168.1.50192.168.1.50 with subnet mask 255.255.255.0255.255.255.0 places the host on network 192.168.1.0/24192.168.1.0/24.
The subnet mask 255.255.255.0255.255.255.0 defines the first 24 bits (three octets) as the network prefix.
2
Determine the network ID of the configured default gateway address.
A gateway address of 192.168.2.1192.168.2.1 with subnet mask 255.255.255.0255.255.255.0 places the gateway on network 192.168.2.0/24192.168.2.0/24.
For host-to-gateway Layer 2 frame resolution, the gateway must reside on the same IP subnet as the host.
3
Compare the host network ID with the gateway network ID to establish the root cause.
Network 192.168.1.0/24192.168.1.0/24 does not match 192.168.2.0/24192.168.2.0/24.
A host cannot resolve ARP requests or forward frames to a default gateway configured on a different subnet.

Anahtar Kavram

Default Gateway Subnet Misconfiguration
Bu soruyu puanla