Linux view routing information

  
        How to view the routing table information in the Linux host, the command is route. For a simple example:

-n parameter: Display the host name as IP.

Destination: In fact, the meaning of Network
Gateway: is the IPGenmask of the interface gateway: Netmask, combined with Destination into a host or network Flags: There are multiple flags indicating the meaning of the network or host representative U: On behalf of the route available G: on behalf of the network needs to help transfer H through Gateway: on behalf of the line routing as a host instead of the entire network Iface: the meaning of the Interface interface

Copyright © Windows knowledge All Rights Reserved