[Previous] [Contents] [Next]

netstat -r

The netstat -r command is often used to view the routing table for a system. A system uses a routing table to determine routing information for TCP/IP traffic. The following is an example of the netstat -r command from a Windows Me system:

C:\WINDOWS\Desktop>netstat r
Route table

===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      24.67.179.1    24.67.179.22       1
      24.67.179.0    255.255.255.0     24.67.179.22    24.67.179.22       1
     24.67.179.22  255.255.255.255        127.0.0.1       127.0.0.1       1
   24.255.255.255  255.255.255.255     24.67.179.22    24.67.179.22       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
        224.0.0.0        224.0.0.0     24.67.179.22    24.67.179.22       1
  255.255.255.255  255.255.255.255     24.67.179.22               2       1
Default Gateway:       24.67.179.1
===========================================================================
Persistent Routes:
  None


[Previous] [Contents] [Next]