|Lesson 5||Determining the status of the routing table|
|Objective||Use netstat command to read the routing table.|
netstatcommand can read the routing table using the
-roption. As always, the
-noption means to use numeric IP addresses:
routecommand. Each row shows a network address and the appropriate gateway to be used to reach that network. The address 0.0.0.0 means the default gateway (in the first column) or the local network (in the Gateway column). For example, the first row of the above output says information destined for the 220.127.116.11 network should be sent to the local network; the last row says the default route for other information is to be directed to machine 18.104.22.168.
netstat -nrvaries from machine to machine; consult your manual for details.