Linux @ Ubuntu ::~ $ Route
Kernel IP routing table
Destination gateway genmask flags metric ref use iface
192.168.8.0*255.255.255.0 u 0 0 0 eth0
Default 192.168.8.1 0.0.0.0 ug 0 0 0 eth0
=-=
The first line indicates that the network address of the host is 192.168.8.0. If the data transmission target is to communicate within the local area network, the data packet can be forwarded directly through eth0;
The second line indicates that the purpose of data transmission is to access the Internet, then the interface eth0 sends the data packet to the gateway 192.168.8.1
Flags indicates the routing label and the status of the current network node.
Flags:
U up indicates that the route is currently in the starting status.
H host, indicating that the gateway is a host
G gateway indicates that this gateway is a router.
R reinstate route: The route reinitialized using dynamic routes
D dynamically, this route is written dynamically
M modified. The route is dynamically modified by the routing daemon or the Guide.
! Indicates that the route is currently disabled.