A Linux server configured with the IPv4 address is unable to establish connections with servers on external subnets. Local subnet communication functions normally. The network administrator runs `ip route show` on the server and reviews the following routing table output:
text
default via 192.168.121.1 dev eth0
192.168.120.0/24 dev eth0 proto kernel scope link src 192.168.120.45
Which of the following identifies the root cause of the connectivity failure?
- The default gateway IP address resides on a different IP subnet than the host's configured IP address.Cevap
- BThe subnet mask on the network interface excludes valid host IP addresses in the pool.
- CThe router's Access Control List is implicitly denying outbound traffic from destination port 80.
- DThe network interface eth0 is assigned to an unrouted VLAN broadcast domain.
Cevap
The default gateway IP address (192.168.121.1) is configured on a different IP subnet than the server's interface IP address (192.168.120.45/24).
A default gateway must reside on the same local IP subnet as the host interface so that the host can resolve the gateway's MAC address using ARP. The host address is , making the local subnet range to . Because the default gateway is set to , it lies outside the local subnet and cannot be reached.
Adım Adım Çözüm
Anahtar Kavram
Default Gateway Subnet Alignment
Tahmini Süre:1m 30s