Provided by: manpages-es_4.15.0-9_all bug

NOMBRE

       ifconfig - configura un interfaz de red

SINOPSIS

       ifconfig [-v] [-a] [-s] [interfaz]
       ifconfig [-v] interfaz [aftype] opciones | dirección ...

DESCRIPCIÓN

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

       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
       interfaces, even those that are down.  Otherwise, it configures an interface.

Familias de direcciones

       If the first argument after the interface name is recognized as the name  of  a  supported
       address  family,  that  address  family  is  used for decoding and displaying all protocol
       addresses.  Currently supported address families include  inet  (TCP/IP,  default),  inet6
       (IPv6),  ax25  (AMPR  Packet  Radio), ddp (Appletalk Phase 2), ipx (Novell IPX) and netrom
       (AMPR Packet radio).  All numbers supplied as parts in IPv4 dotted decimal notation may be
       decimal,  octal, or hexadecimal, as specified in the ISO C standard (that is, a leading 0x
       or 0X implies hexadecimal; otherwise, a leading '0' implies octal; otherwise,  the  number
       is  interpreted as decimal). Use of hexadecimal and octal numbers is not RFC-compliant and
       therefore its use is discouraged.

OPCIONES

       -a     display all interfaces which are currently available, even if down

       -s     display a short list (like netstat -i)

       -v     be more verbose for some error conditions

       interfaz
              The name of the interface.  This is usually  a  driver  name  followed  by  a  unit
              number,  for example eth0 for the first Ethernet interface. If your kernel supports
              alias interfaces, you can specify them with syntax like eth0:0 for the first  alias
              of  eth0.  You  can use them to assign more addresses. To delete an alias interface
              use  ifconfig  eth0:0  down.   Note:  for  every  scope   (i.e.   same   net   with
              address/netmask  combination)  all  aliases  are  deleted,  if you delete the first
              (primary).

       up     This flag causes the interface to be activated.  It is implicitly specified  if  an
              address  is assigned to the interface; you can suppress this behavior when using an
              alias interface by appending an -  to  the  alias  (e.g.   eth0:0-).   It  is  also
              suppressed  when  using  the  IPv4  0.0.0.0  address as the kernel will use this to
              implicitly delete alias interfaces.

       down   This flag causes the driver for this interface to be shut down.

       [-]arp Activa o desactiva el uso del protocolo ARP para este interfaz.

       [-]promisc
              Activa o desactiva el modo promiscuo del interfaz. Si se  selecciona,  el  interfaz
              recibirá todos los paquetes de la red.

       [-]allmulti
              Activa  o  desactiva  el modo all-multicast. Si se selecciona, el interfaz recibirá
              todos los paquetes multicast de la red.

       mtu N  Este parámetro establece la Unidad de Transferencia Máxima (MTU) de un interfaz.

       dstaddr addr
              Establece la dirección IP remota de una unión punto-a-punto (tal como PPP).  Hoy en
              día esta opción resulta obsoleta; use la opción pointopoint en su lugar.

       netmask addr
              Establece  la máscara de red IP para un iterfaz. Este valor es por defecto el de la
              máscara de red normal de clase A, B o C (tal y como se deriva de  la  dirección  IP
              del iterfaz), pero puede configurarse para cualquier valor.

       add addr/prefixlen
              Añade una dirección Ipv6 a un interfaz.

       del addr/prefixlen
              Elimina una dirección Ipv6 de un interfaz.

       tunnel ::aa.bb.cc.dd
              Crea  un  nuevo dispositivo SIT (Ipv6-en-Ipv4), mediante encapsulamiento al destino
              especificado.

       irq addr
              Establece la  línea  de  interrupción  usada  por  el  dispositivo.  No  todos  los
              dispositivos pueden cambiar su configuración de IRQ dinámicamente.

       io_addr addr
              Establece la dirección inicial en el espacio de E/S para este dispositivo.

       mem_start addr
              Establece la dirección inicial para la memoria compartida usada por el dispositivo.
              Muy pocos dispositivos necesitan esta opción.

       media type
              Set the physical port or medium type to be used by the device.  Not all devices can
              change  this setting, and those that can vary in what values they support.  Typical
              values  for  type  are  10base2  (thin  Ethernet),  10baseT  (twisted-pair   10Mbps
              Ethernet),  AUI  (external transceiver) and so on.  The special medium type of auto
              can be used to tell the driver to auto-sense the media.  Again, not all drivers can
              do this.

       [-]broadcast [addr]
              Si se da un argumento de dirección, establece la dirección de emisión del protocolo
              del interfaz. De otro modo, establece  (o  elimina)  la  opción  IFF_BROADCAST  del
              interfaz.

       [-]pointopoint [addr]
              Esta  opción  activa  el  modo point-to-point (punto a punto) del interfaz, lo cual
              significa que se trata de una unión directa entre dos máquinas, sin nadie más a  la
              escucha.
              Si se da también un argumento de dirección, establece la dirección de protocolo del
              otro lado de la unión, exactamente igual que hace la opción obsoleta  dstaddr.   Si
              no, establece o elimina la opción IFF_POINTOPOINT del interfaz.

       hw class address
              Establece  la  dirección  de  hardware  del  interfaz,  siempre  que  el driver del
              dispositivo lo permita. Esta opción debe ir seguida  del  nombre  de  la  clase  de
              hardware y el código ASCII imprimible equivalente de la dirección del hardware. Las
              clases de hardware soportadas actualmente incluyen: ether  (Ethernet),  ax25  (AMPR
              AX.25), ARCnet y netrom (AMPR NET/ROM).

       multicast
              Establece  la  opción  multicast  del  interfaz.  Normalmente  esto  no debería ser
              necesario dado que los drivers establecen esta opción correctamente.

       address
              La dirección IP que se va a asignar al interfaz.

       txqueuelen length
              Set the length of the transmit queue of the device. It is useful  to  set  this  to
              small  values for slower devices with a high latency (modem links, ISDN) to prevent
              fast bulk transfers from disturbing interactive traffic like telnet too much.

NOTAS

       Desde la aparición del núcleo 2.2 ya no existen estadísticas explícitas de  interfaz  para
       interfaces  alias.  Las estadísticas mostradas para la dirección original se comparten con
       todas las direcciones alias del mismo dispositivo.  Si usted quiere  estadísticas  basadas
       en una dirección debería añadir normas explícitas de contabilidad de direcciones usando la
       orden ipchains(8).

       Since net-tools 1.60-4 ifconfig is printing byte counters and human readable counters with
       IEC  60027-2 units. So 1 KiB are 2^10 byte. Note, the numbers are truncated to one decimal
       (which can by quite a large error if you consider 0.1 PiB is 112.589.990.684.262 bytes :)

       Interrupt problems with Ethernet device drivers fail with EAGAIN  (SIOCSIIFLAGS:  Resource
       temporarily    unavailable)    it    is    most   likely   a   interrupt   conflict.   See
       http://www.scyld.com/expert/irq-conflict.html for more information.

ARCHIVOS

       /proc/net/dev
       /proc/net/if_inet6

ERRORES

       Ifconfig uses the ioctl access method to get the full address  information,  which  limits
       hardware addresses to 8 bytes.  Because Infiniband hardware address has 20 bytes, only the
       first 8 bytes are displayed correctly.  Please use ip link command from  iproute2  package
       to display link layer informations including the hardware address.

       While  appletalk  DDP  and  IPX addresses will be displayed they cannot be altered by this
       command.

VÉASE TAMBIÉN

       route(8), netstat(8), arp(8), rarp(8), iptables(8), ifup(8), interfaces(5).
       http://physics.nist.gov/cuu/Units/binary.html - Prefixes for binary multiples

AUTORES

       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
       Alan Cox, <Alan.Cox@linux.org>
       Phil Blundell, <Philip.Blundell@pobox.com>
       Andi Kleen
       Bernd Eckenfels, <net-tools@lina.inka.de>

TRADUCCIÓN

       La traducción al español de  esta  página  del  manual  fue  creada  por  Antonio  Aneiros
       <aneiros@ctv.es>

       Esta  traducción  es  documentación  libre;  lea  la  GNU General Public License Version 3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ o posterior con respecto a las condiciones  de
       copyright.  No existe NINGUNA RESPONSABILIDAD.

       Si  encuentra  algún  error  en  la  traducción de esta página del manual, envíe un correo
       electrónico a ⟨debian-l10n-spanish@lists.debian.org⟩.