netstat command

posted May 5, 2013, 5:22 PM by Sachchida Ojha   [ updated May 5, 2013, 5:22 PM ]
netstat  - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships


[sachi@sachi ~]$ netstat -rn
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
192.168.133.0   0.0.0.0         255.255.255.0   U         0 0          0 vmnet1
172.16.72.0     0.0.0.0         255.255.255.0   U         0 0          0 vmnet8
192.168.122.0   0.0.0.0         255.255.255.0   U         0 0          0 virbr0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
[sachi@sachi ~]$ 

Comments