The ip tool is used to see and change the current network configuration. To see the current configuration, the command ip address show is used. The display generated will resemble that shown in Figure 4.32. Figure 4.32. The output of the ip address show command.The output of this command is identical to that of ifconfig. Substituting add for show, you can add to the settings, and using del allows you to delete existing settings. The command ip link show will show the hardware address of every Ethernet device. To work with the routing table, use the following commands:
|