Using iproute2

The ifconfig and route commands should now be regarded as deprecated and replaced by the programs included in the package iproute2. This suite of programs gives more control over the setup of the network configuration, but may be slightly more involved in practice than the traditional tools. All the SUSE system scripts use the ip command for network configuration.

We will show you how to configure your network card and routing with the iproute2 suite as well as how to view detailed information about your network.

The iproute2 suite's main command is i p. This command is used to set options for your network card, network configuration, and routing information. For each part of the network you want to configure, i p takes an object to work on. The objects you are concerned with are link (the network interface), addr (network configuration), and route (routing information).

Was this article helpful?

0 0

Post a comment