IP Connectivity

A router's show ip route output reads 'Gateway of last resort is not set' and holds no route matching 198.51.100.7. What happens to a packet for that address?

Show the answer

Correct answerD. It is dropped and an ICMP destination unreachable is sent to the source

AWhy not this: Lowest AD ranks competing routes to the same prefix; it is not a fallback for unmatched destinations.

BWhy not this: Flooding is switch behaviour for unknown unicast frames; routers never flood unrouted packets.

CWhy not this: Unmatched packets are not redirected to a loopback; without a default route there is no fallback.

DWhy this is right: No specific route and no default route means no forwarding path, so the router discards the packet and signals unreachable.

With no matching route and no gateway of last resort, the router has nowhere to send the packet, so it discards it and returns an ICMP unreachable. Routers do not flood unknown destinations the way switches flood unknown unicast frames.