The first column in the output of the three commands indicates the target network. You can view your current main routing table with either of the following 3 commands: # ip route show Example 2: Displaying the main routing table Which will return all the information for eth1. Instead of displaying all the network interfaces, we can specify one of them: # ip link show eth1 If you want to re-enable eth1, # ip link set eth1 up In this example, we will disable and enable eth1: # ip link show The above image shows, for example, that you can change the status of a network interface with the following command: # ip link set interface įor such more examples of ‘ ip‘ command, read 10 Useful ‘ip’ Commands to Configure IP Address Example 1: Disabling and enabling a network interface You can run the following command to display the complete list of commands that can be applied to a particular object: # ip object help Whereas command represents a specific action that can be performed on object.
Static routing requires a manually-configured set of rules defined in a routing table.Routing is the process of “ guiding” the data from source to destination inside a network.Networks that use TCP/IP as network protocol follow the same rules for transmission of data: the actual information is split into packets that are made of both data and the address where it should be sent to.