What is default router?

In Linux, the default router (or default gateway) is a network device, typically a router, that acts as an access point for sending traffic from your local network to other networks, particularly to devices on the internet.

When a system does not know how to route packets to a particular destination (because the destination isn’t on the local network), it forwards those packets to the default router. The default router is responsible for determining the best path to the destination.

  • to identify the default router in linux
ip route
rounte -n