.\" -*- coding: UTF-8 -*- .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH IFCONFIG 8 "3 Octubre 2008" net\-tools "Manual del Administrador del Sistema Linux" .SH NOMBRE ifconfig \- configura un interfaz de red .SH SINOPSIS \fBifconfig [\-v] [\-a] [\-s] [interfaz]\fP .br \fBifconfig [\-v] interfaz [aftype] opciones | dirección ...\fP .SH DESCRIPCIÓN \fBIfconfig\fP 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. .LP If no arguments are given, \fBifconfig\fP displays the status of the currently active interfaces. If a single \fBinterface\fP argument is given, it displays the status of the given interface only; if a single \fB\-a\fP argument is given, it displays the status of all interfaces, even those that are down. Otherwise, it configures an interface. .SH "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 \fBinet\fP (TCP/IP, default), \fBinet6\fP (IPv6), \fBax25\fP (AMPR Packet Radio), \fBddp\fP (Appletalk Phase 2), \fBipx\fP (Novell IPX) and \fBnetrom\fP (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. .SH OPCIONES .TP \fB\-a\fP display all interfaces which are currently available, even if down .TP \fB\-s\fP display a short list (like netstat \-i) .TP \fB\-v\fP be more verbose for some error conditions .TP \fBinterfaz\fP The name of the interface. This is usually a driver name followed by a unit number, for example \fBeth0\fP for the first Ethernet interface. If your kernel supports alias interfaces, you can specify them with syntax like \fBeth0:0\fP for the first alias of eth0. You can use them to assign more addresses. To delete an alias interface use \fBifconfig eth0:0 down\fP. Note: for every scope (i.e. same net with address/netmask combination) all aliases are deleted, if you delete the first (primary). .TP \fBup\fP 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 \fB\-\fP to the alias (e.g. \fBeth0:0\-\fP). It is also suppressed when using the IPv4 0.0.0.0 address as the kernel will use this to implicitly delete alias interfaces. .TP \fBdown\fP This flag causes the driver for this interface to be shut down. .TP \fB[\-]arp\fP Activa o desactiva el uso del protocolo ARP para este interfaz. .TP \fB[\-]promisc\fP Activa o desactiva el modo \fBpromiscuo\fP del interfaz. Si se selecciona, el interfaz recibirá todos los paquetes de la red. .TP \fB[\-]allmulti\fP Activa o desactiva el modo \fBall\-multicast\fP. Si se selecciona, el interfaz recibirá todos los paquetes multicast de la red. .TP \fBmtu N\fP Este parámetro establece la Unidad de Transferencia Máxima (MTU) de un interfaz. .TP \fBdstaddr addr\fP 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 \fBpointopoint\fP en su lugar. .TP \fBnetmask addr\fP 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. .TP \fBadd addr/prefixlen\fP Añade una dirección Ipv6 a un interfaz. .TP \fBdel addr/prefixlen\fP Elimina una dirección Ipv6 de un interfaz. .TP \fBtunnel ::aa.bb.cc.dd\fP Crea un nuevo dispositivo SIT (Ipv6\-en\-Ipv4), mediante encapsulamiento al destino especificado. .TP \fBirq addr\fP Establece la línea de interrupción usada por el dispositivo. No todos los dispositivos pueden cambiar su configuración de IRQ dinámicamente. .TP \fBio_addr addr\fP Establece la dirección inicial en el espacio de E/S para este dispositivo. .TP \fBmem_start addr\fP Establece la dirección inicial para la memoria compartida usada por el dispositivo. Muy pocos dispositivos necesitan esta opción. .TP \fBmedia type\fP 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 \fBtype\fP are \fB10base2\fP (thin Ethernet), \fB10baseT\fP (twisted\-pair 10Mbps Ethernet), \fBAUI\fP (external transceiver) and so on. The special medium type of \fBauto\fP can be used to tell the driver to auto\-sense the media. Again, not all drivers can do this. .TP \fB[\-]broadcast [addr]\fP 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 \fBIFF_BROADCAST\fP del interfaz. .TP \fB[\-]pointopoint [addr]\fP Esta opción activa el modo \fBpoint\-to\-point\fP (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. .br 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 \fBdstaddr\fP. Si no, establece o elimina la opción \fBIFF_POINTOPOINT\fP del interfaz. .TP \fBhw class address\fP 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: \fBether\fP (Ethernet), \fBax25\fP (AMPR AX.25), \fBARCnet\fP y \fBnetrom\fP (AMPR NET/ROM). .TP \fBmulticast\fP Establece la opción multicast del interfaz. Normalmente esto no debería ser necesario dado que los drivers establecen esta opción correctamente. .TP \fBaddress\fP La dirección IP que se va a asignar al interfaz. .TP \fBtxqueuelen length\fP 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. .SH 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 \fBipchains\fP(8). .LP 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 :) .LP Interrupt problems with Ethernet device drivers fail with EAGAIN \fI(SIOCSIIFLAGS: Resource temporarily unavailable)\fP it is most likely a interrupt conflict. See \fIhttp://www.scyld.com/expert/irq\-conflict.html\fP for more information. .SH ARCHIVOS \fI/proc/net/dev\fP .br \fI/proc/net/if_inet6\fP .SH 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 \fBip link\fP command from \fBiproute2\fP package to display link layer informations including the hardware address. .LP While appletalk DDP and IPX addresses will be displayed they cannot be altered by this command. .SH "VÉASE TAMBIÉN" route(8), netstat(8), arp(8), rarp(8), iptables(8), ifup(8), interfaces(5). .br http://physics.nist.gov/cuu/Units/binary.html \- Prefixes for binary multiples .SH AUTORES Fred N. van Kempen, .br Alan Cox, .br Phil Blundell, .br Andi Kleen .br Bernd Eckenfels, .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Antonio Aneiros . Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE 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 .MT debian-l10n-spanish@lists.debian.org>. .ME .