Display the routing path of the current router’s connection.
The routing table refers to the table stored on the router or other Internet network devices. The table contains the path to the specific network terminal. In some cases, there are some metrics related to these paths. The main work of the router It is to find an optimal transmission path for each datagram passing through the router and effectively transmit the data to the destination site.
Thus, the strategy of selecting the best path, the routing algorithm, is the key to the router. To accomplish this, the router stores various data related to the transmission path, the Routing Table, which is used for routing. The information contained in the table determines the data forwarding strategy.
For example, the routing table is like the map we usually use. It identifies various routes. The routing table stores the subnet, number of online routers, and name of the next router. The system administrator can fix the routing table or dynamically modified by the system. The router can automatically adjust it or controlled by the host.
Indicates the outgoing interface of the route
Target indicates the destination network of the route. If the outbound interface is an external network dialer interface and the object is not 0.0.0.0/0, then the object is the IP address of the central office (or the carrier gateway of the line). If the object is 0.0.0.0/0, it means the default route.
Gateway indicates the next hop address of the route. If the gateway address is 0.0.0.0/0, it usually shows a direct route. If the outbound interface is an external network dialer interface, the next hop address is typically the interface IP address. If the outbound interface is an external network static IP line, the following hop address is usually the central office IP address from the carrier. Gateway, when the outbound interface is a LAN interface, and the gateway is not 0.0.0.0/0, it is usually the user-defined static route next hop address.