ifconfig
ifconfig is the command used to bring interfaces into service and specify Layers 1 through 3 attributes, such as media type, speed, and network addresses. (Layer 1 covers the physical aspects of the network, such as twisted pair or coaxial cabling, and Layer 2 covers the data layer, including the media dependent network, such as Ethernet frames and media access control in Ethernet networks.) ifconfig is normally located in the /sbin/ directory, but the program can be run by nonroot users. However, only configuration changes can be carried out by root.With most versions of Linux, the ifconfig command is provided by the net-tools distribution, which is available at http://www.tazenda.demon.co.uk/phil/net-tools/.
In addition to interface ...