This section describes the way to setup routing table as well as it explains the logic used to prioritize interfaces. The routing table is stored in the kernel which merely acts upon it.
The route add command is used to add a static route to the Linux routing table. It takes several arguments, including the destination network, the gateway (the next hop), and the network interface through which the traffic should be sent.
Open the Terminal application or login to server using ssh command (or use the remote console). Next, type the following route command to display routing table and press the [Enter] key: # route OR # route -n 在「cyberciti.biz」查看更多資訊 I am going to show you
In some specific types of environments, you might find it useful to add a static route to the routing table. Here's how to go about it in Windows 10 and Windows 11.