View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Default gateway

From LQWiki

Jump to: navigation, search

When sending a data packet over the network, the computer takes a look at its routing table to see where to send it. If it can't find a route to the destination by looking in its own routing table, it forward the packet to the address given as default gateway, sometimes called the default route.

The command

route -n

can be used to show what default gateway is currently set.


Personal tools