Display the routing table in either Windows or Ubuntu

From a command prompt or terminal window, run this command:

netstat -rn

You should see output that looks similar to this:


Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 eth0     U         0 0          0 eth0       U         0 0          0 lo         UG        0 0          0 eth0

Lowell Heddings is the founder and Editor-in-Chief of How-To Geek. He spends all his free time making sure this site can bring you fresh geekery on a daily basis, and has been doing so for over eleven years.