1925: ifconfig (Acronis Linux Command)

use Google Translate

Configures a network interface

Syntax

  • ifconfig [interface]
  • ifconfig [interface] [aftype] [options] | [address]...

Description

The ifconfig command is used to configure kernel-resident network interfaces. It is used at boot time to set up the interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is necessary.

If no arguments are given, ifconfig displays the status of the currently active interfaces. If a single interface argument is given, it displays the status of the given interface only; if a single -a argument is given, it displays the status of all the interfaces, even those that are down. Otherwise, it configures the specified interface.

Options

  • interface: The name of the interface. This is usually a driver name followed by a unit number (e.g. eth0 for the first Ethernet interface).
  • up: This flag activates the interface. It is implicitly specified if an address is assigned to the interface.
  • down: This flag shuts down the interface driver.
  • address: The IP address to be assigned to the interface.

See also Acronis Linux Commands.

Tags: