How to Display and List All Network Interfaces and Devices in Linux Cómo mostrar y enumerar todas las interfaces de red y dispositivos en Linux
In Linux, network interfaces are software-based configuration which can be activated or deactivated, while network devices are physical networking card or adapter connected to the system. En Linux, las interfaces de red están basados en software de configuración que puede ser activada o desactivada, mientras que los dispositivos de red son la tarjeta o adaptador de red físicos conectados al sistema. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Todas las comunicaciones de red acontecen entre interfaces de red configurados y dispositivos de red físicos antes de los paquetes de datos se envían o se transmiten.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Los administradores de sistemas en ocasiones puede que desee mostrar o obtener una lista de todas las interfaces de red y / o dispositivos de red en el sistema operativo Linux. There are plenty of ways to retrieve network interfaces and network devices information in Linux or Unix system, the most common of it is “ifconfig”. Hay muchas maneras de recuperar las interfaces de red y dispositivos de red de información en sistema Linux o Unix, la más común de que es "ifconfig".
ifconfig command is useful for administrator who only want to know which network interfaces, eg eth0, eth1, lo, wlan0, venet0, venet1 or rausb0, that are currently configured. comando ifconfig es útil para el administrador que sólo quieren saber qué interfaces de red, por ejemplo, eth0, eth1, lo, wlan0, venet0, venet1 o rausb0, que actualmente están configurados. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Para utilizar el comando ifconfig para mostrar las interfaces de red, simplemente escriba ifconfig en la consola o shell de línea de comandos.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Un resultado similar al formato que a continuación con detalles de configuración, la dirección IP, dirección MAC y otra información, incluyendo IP-aliasing.
eth0 Link encap:Ethernet HWaddr 00:1E:FF:FF:FF:FF eth0 Link encap: Ethernet HWaddr 00:1 E: FF: FF: FF: FF inet addr:10.1.1.1 Bcast:10.1.1.254 Mask:255.255.255.0 inet addr: 10.1.1.1 Bcast: 10.1.1.254 Mask: 255.255.255.0 inet6 addr: fe80::21e:2aff:8888:8888/64 Scope:Link inet6: fe80:: 21e: 2aff: 8888:8888 / 64 Alcance: Vínculo UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 RX packets:105 errors:0 dropped:0 overruns:0 frame:0 RX packets: 105 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets:3817 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 3817 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions:0 txqueuelen:1000 collisions: 0 txqueuelen: 1000 RX bytes:6318 (6.1 KiB) TX bytes:234216 (228.7 KiB) RX bytes: 6318 (6.1 MiB) TX bytes: 234216 (228,7 MiB) Interrupt:177 Base address:0xe000 Interrupt: 177 Base address: 0xe000 eth1 Link encap:Ethernet HWaddr 00:1C:FF:FF:FF:FF eth1 Link encap: Ethernet HWaddr 00:1 C: FF: FF: FF: FF inet addr:188.8.8.1 Bcast:188.8.8.254 Mask:255.255.255.0 inet addr: 188.8.8.1 Bcast: 188.8.8.254 Mask: 255.255.255.0 inet6 addr: fe80::21c:c0ff:8888:8888/64 Scope:Link inet6: fe80:: 21c: c0ff: 8888:8888 / 64 Alcance: Vínculo UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 RX packets:747061040 errors:0 dropped:0 overruns:0 frame:0 RX packets: 747061040 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets:947783149 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 947783149 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions:0 txqueuelen:100 collisions: 0 txqueuelen: 100 RX bytes:3475826459 (3.2 GiB) TX bytes:2684871507 (2.5 GiB) RX bytes: 3475826459 (3.2 MiB) TX bytes: 2684871507 (2.5 MiB) Memory:e0400000-e0420000 Memoria: e0400000-e0420000
Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. Linux puede soportar múltiples dispositivos de red física, agravando múltiples interfaces de red que puede ser configurado para cada tarjeta de red. For user who wants to view information about physical network devices, a tool named “lshw” can be used. Para el usuario que quiere ver la información acerca de los dispositivos de red física, una herramienta llamada "lshw" puede ser utilizado. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Hardware Lister) es una pequeña herramienta para proporcionar información detallada sobre la configuración del hardware de la máquina. On some flavors or distributions of Linux, lshw is installed by default, or can be downloaded or installed easily with command such as “yum install lshw”. En algunos sabores o distribuciones de Linux, lshw se instala por defecto, o se puede descargar o instalar fácilmente con el comando "yum install lshw".
Once lshw is enabled on the system, just enter the following command into the console to get a list of all attached physical network devices on the system. Una vez lshw está habilitado en el sistema, simplemente introduzca el siguiente comando en la consola para obtener una lista de todos los dispositivos conectados de la red física en el sistema.
lshw -class network
Example of output are: Ejemplo de salida son:
*-network red *- description: Ethernet interface Descripción: Interfaz Ethernet product: VT6105 [Rhine-III] producto: VT6105 [Rhine-III] vendor: VIA Technologies, Inc. Distribuidor: VIA Technologies, Inc. physical id: 7 physical id: 7 bus info: pci@03:07.0 bus info: pci @ 03:07.0 logical name: eth0 logical name: eth0 version: 9a Versión: 9a serial: 00:88:88 de serie: 00:88:88 width: 32 bits width: 32 bits clock: 33MHz reloj: 33 MHz capabilities: bus_master cap_list ethernet physical capacidades: Ethernet cap_list bus_master física configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes de configuración: broadcast = sí driver = via-driverversion Rin = 2.6.22-14-latencia genérica = 32 = 8 maxlatency mingnt multicast = 3 = Sí resources: ioport=d300-d3ff iomemory:d8883888-d88838ff recursos: ioport = D300-iomemory d3ff: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. IMPORTANTE: La página es una traducción automática y proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede ser difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Related Articles Artículos relacionados
- Free The Definitive Guide to Linux Network Programming PDF eBook Download The Definitive Guide to Linux Network Programming eBook Descargar PDF
- How to Show and Display IP Routing Table in Windows or Linux Cómo mostrar y mostrar tabla de enrutamiento IP en Windows o Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (DLink) Routers, Switches, módems y los dispositivos de red por defecto de fábrica la contraseña del administrador
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Abrir, extraer y convertir DAA, la ISO y BIN Archivos en Linux con PowerISO gratuito para Linux
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi directo habilitación Wi-Fi dispositivos se conectan a otros en "Red Wi-Fi"
- Display USB Devices Detailed Information with USBDeview Mostrar dispositivos USB con información detallada USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights ScrollLock uso del teclado y Bloq Núm LED como indicadores de tráfico de red con la Red Lights
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Cómo Cambiar o falsos dirección MAC en Windows XP, Vista, Server 2003/2008, Mac OS X, Unix y Linux
- Retrieve, View or Display Wireless (WEP or WPA WiFi) Network Security Key or Password in Windows 7 Recuperar, ver o pantalla inalámbrica (WEP o WPA WiFi) de seguridad de red clave o contraseña en Windows 7
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews Spy y contraseñas Fisgón y de información privada al lado de Análisis de red con Microsoft Eavesdropping herramienta Monitor de red más 3,0 Comentarios









































