Soru

Zorluk: KolayTroubleshooting Routing, Default Gateways, and ACLs

A user's workstation is assigned the static IP address 192.168.10.45192.168.10.45 with a subnet mask of 255.255.255.0255.255.255.0 (/24). The user can successfully communicate with other devices on the local subnet, but cannot access any remote subnets or external websites. Running diagnostic checks shows that the workstation's default gateway is configured as 192.168.20.1192.168.20.1. Which of the following is the root cause of the gateway connectivity failure?

  1. The configured default gateway address resides on a different IP subnet than the workstation.Cevap
  2. B
    The workstation has been assigned a broadcast address rather than a valid usable host address.
  3. C
    The default gateway router port is rejecting traffic due to a port and protocol mismatch.
  4. D
    The workstation traffic is being blocked by an implicit deny rule on the local switch port.

Cevap

The configured default gateway address resides on a different IP subnet than the workstation.
For a host to communicate with remote networks, its default gateway IP address must be an IP address located on the same local subnet. Because 192.168.10.45/24192.168.10.45/24 and 192.168.20.1/24192.168.20.1/24 are on separate subnets, local ARP requests for the gateway fail and traffic destined outside the subnet cannot be routed.

Adım Adım Çözüm

1
Determine the host's subnet boundary.
For IP 192.168.10.45192.168.10.45 with mask 255.255.255.0255.255.255.0 (/24), the network segment is 192.168.10.0/24192.168.10.0/24, covering usable host IPs from 192.168.10.1192.168.10.1 to 192.168.10.254192.168.10.254.
Host IP configuration dictates which addresses are considered local vs remote.
2
Evaluate the configured default gateway address.
The gateway address 192.168.20.1192.168.20.1 belongs to the 192.168.20.0/24192.168.20.0/24 network segment.
A host must be on the same Layer 3 subnet as its default gateway to send frames directly to the gateway's MAC address.
3
Identify the underlying connectivity problem.
The host cannot communicate with the gateway because it expects its default gateway to be reachable within its local broadcast domain.
A misconfigured gateway IP on a foreign subnet prevents all off-subnet forwarding.

Anahtar Kavram

Default Gateway Subnet Alignment
Bu soruyu puanla