skip to content
Alvin Lucillo

Display IP address of default route

/ 1 min read

To determine where catch-all routes are going to, use the command below. This IP address is also the gateway IP address that packets will be sent to if there aren’t a match on other routes.

ip route show default default via 169.254.1.1 dev eth0