In IP routing, the routing table is always searched for the most specific matching entry (longest prefix match) for a given destination. The default route, typically represented as 0.0.0.0/0 (or ::/0 for IPv6), acts as a catch-all and is only used when no other, more specific route matches the destination host or network. Configuring a default route does not disable other routes, and directly connected networks have their own host/network-specific routes installed automatically, so they remain reachable even without a default route.
Community Discussion