The main job of a router is to find an optimal transmission path for each data frame passing through the router, and to efficiently transmit the data to the destination site. It can be seen that the strategy of selecting the best path, that is, the routing algorithm, is the key to the router. In order to complete this work, the relevant data of various transmission paths - Routing Table (Routing Table) is saved in the router for use in routing. The path table stores the information of the subnet flag, the number of routers on the network, and the name of the next router. The path table can be fixed by the system administrator, or dynamically modified by the system, automatically adjusted by the router, or controlled by the host.
1. static path table
A fixed path table set in advance by the system administrator is called a static path table, which is generally preset according to the network configuration during system installation, and will not change with future network structure changes.
2. dynamic path table
Dynamic (Dynamic) routing table is the routing table automatically adjusted by the router according to the operation of the network system. The router automatically learns and memorizes the network operation according to the functions provided by the Routing Protocol, and automatically calculates the best path for data transmission when needed.
