How to Display and List All Network Interfaces and Devices in Linux Come visualizzare e Lista tutte le interfacce di rete e dei dispositivi in 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. In Linux, le interfacce di rete è basato su un software di configurazione che possono essere attivati o disattivati, mentre i dispositivi di rete sono fisici o adattatore scheda di rete collegata al sistema. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Tutte le comunicazioni di rete tra le interfacce di rete e configurati i dispositivi di rete fisica prima i pacchetti di dati vengano inviati o trasmessi.

System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Gli amministratori di sistema possono occasionalmente desidera visualizzare o ottenere una lista di tutte le interfacce di rete e / o dispositivi di rete nel 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”. Ci sono molti modi per recuperare le interfacce di rete e dispositivi di rete le informazioni in un sistema Unix o Linux, il più comune è "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. ifconfig comando è utile solo per l'amministratore, che vuole sapere che le interfacce di rete, come ad esempio eth0, eth1, lo, wlan0, venet0, venet1 o rausb0, che sono attualmente configurato. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Per utilizzare il comando ifconfig per visualizzare le interfacce di rete, basta digitare il comando ifconfig nella console o da linea di comando della shell.

An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Una produzione che simile al modello che segue, con dettagli di configurazione, l'indirizzo IP, indirizzo MAC e altre informazioni, compreso l'ip-aliasing.

 eth0      Link encap:Ethernet  HWaddr 00:1E:FF:FF:FF:FF eth0 Link encap: Ethernet HWaddr 0:01 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 addr: fe80:: 21e: 2aff: 8888:8888 / 64 Ambito di applicazione: Link 
           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 KiB) TX bytes: 234216 (228,7 KiB) 
           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 0:01 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 addr: fe80:: 21c: c0ff: 8888:8888 / 64 Ambito di applicazione: Link 
           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 GiB) TX bytes: 2684871507 (2.5 GiB) 
           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 è in grado di supportare più dispositivi di rete fisica, aggravando più interfacce di rete che possono essere configurate per ogni schede di rete. For user who wants to view information about physical network devices, a tool named “lshw” can be used. Per l'utente che vuole visualizzare le informazioni sui dispositivi di rete fisica, uno strumento chiamato "lshw" può essere usato. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Lister hardware) è un piccolo strumento per fornire informazioni dettagliate sulla configurazione hardware della macchina. 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”. Su alcuni sapori o distribuzioni di Linux, lshw è installato di default, o può essere scaricato o installato facilmente con un comando come "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 volta lshw è attivato il sistema, è sufficiente inserire il seguente comando nella console per avere una lista di tutti i dispositivi di rete fisica in allegato, relativa al sistema.

lshw -class network

Example of output are: Esempio di output sono:

 *-network *- rete 
        description: Ethernet interface descrizione: interfaccia Ethernet 
        product: VT6105 [Rhine-III] prodotto: VT6105 [Rhine-III] 
        vendor: VIA Technologies, Inc. vendor: VIA Technologies, Inc. 
        physical id: 7 id fisica: 7 
        bus info: pci@03:07.0 bus info: pci @ 03:07.0 
        logical name: eth0 nome logico: eth0 
        version: 9a versione: 9a 
        serial: 00:88:88 seriale: 00:88:88 
        width: 32 bits larghezza: 32 bit 
        clock: 33MHz clock: 33MHz 
        capabilities: bus_master cap_list ethernet physical capacità: bus_master cap_list ethernet fisico 
        configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes configurazione: broadcast = yes driver = via-Reno driverversion = 2.6.22-14-generica latenza maxlatency = 32 = 8 mingnt = 3 multicast = yes 
        resources: ioport=d300-d3ff iomemory:d8883888-d88838ff risorse: ioport = D300-d3ff iomemory: d8883888-d88838ff 

IMPORTANT : The page is machine translated and provided "as is" without warranty. IMPORTANTE: La pagina è tradotta macchina e forniti "come è" senza garanzia. Machine translation may be difficult to understand. La traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. ogniqualvolta ciò sia possibile.


Leave a Reply Lasci una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Iscriviti ai commenti funzione è stata disattivata. To receive notification of latest comments posted, subscribe to Per ricevere la notifica degli ultimi commenti inviati, iscriviti alla My Digital Life Comments RSS feed My Digital Life Commenti feed RSS or o register to receive Registrati per ricevere new comments in daily email digest. nuovi commenti in email giornaliera digerire.
Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo