How to Display the Routing Table in Ubuntu?

How to Display the Routing Table in Ubuntu?

In this article you will learn How to Display the Routing Table in Ubuntu??

How to Display the Routing Table in Ubuntu?


1. Open Terminal Window.
2. Run the following Command.

netstat -rn

3. You will see output as following.

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

Get Notifications Via Email