A network systems engineer is troubleshooting an issue where a newly provisioned Linux database server cannot communicate with remote clients or download updates from an off-site repository at . The server interface configuration and routing table display the following CLI output:
$ ip addr show dev eth0
inet 192.168.45.200/27 brd 192.168.45.223 scope global eth0
$ ip route show
default via 192.168.45.225 dev eth0
192.168.45.192/27 dev eth0 proto kernel scope link src 192.168.45.200
$ ping -c 2 172.16.50.10
connect: Network is unreachable
Based on the diagnostic output, which of the following identifies the root cause of the connectivity failure?
- The configured default gateway address resides outside the host's IPv4 subnet boundaries.Cevap
- BThe server's IP address is set to the network broadcast address of the local subnet.
- CThe default gateway router interface is assigned to an incorrect VLAN broadcast domain on the switch.
- DAn outbound Access Control List on the router is dropping packets due to an implicit deny rule.
Cevap
The configured default gateway address resides outside the host's IPv4 subnet boundaries.
The CIDR prefix /27 establishes subnets in increments of 32 host addresses. For the network starting at , the usable host addresses span from to , and the broadcast address is . The default gateway address of belongs to the next network segment (). Because the default gateway is not on the same local subnet as the server interface, the operating system cannot ARP for the gateway or route packets out of the interface, generating the 'Network is unreachable' error.
Adım Adım Çözüm
Anahtar Kavram
Default Gateway Subnet Alignment
Tahmini Süre:2m 0s