Display routing table using netstat command on Linux Fedora

 

Display routing table using netstat command on Linux Fedora.

 

   There many of Linux command can be use to display routing table on Linux system, one of them is netstat command.  The step by step example of netstat command below display Linux routing table on Linux Fedora operating system and the -n option show numeric IP Address instead of names and -r option display Linux routing table.

 

Display routing table netstat -nr

 

To display Linux routing table execute netstat command with -nr option as show on example below.

Display Linux routing table execute netstat command

[root@fedora10 ~]# netstat -nr

Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

60.49.199.72    0.0.0.0         255.255.255.248 U         0 0          0 eth1

172.16.163.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.162.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.161.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.160.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0

172.16.167.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.166.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.165.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.164.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.170.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.169.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

172.16.168.0    172.16.160.1    255.255.255.0   UG        0 0          0 eth0

169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0

169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1

0.0.0.0         60.49.199.73    0.0.0.0         UG        0 0          0 eth1

[root@fedora10 ~]#

 

Keywords: display linux route, display linux routing table, display routing table, using netstat, display routing table on linux