How to Display and List All Network Interfaces and Devices in Linux Slik Display og List alle nettverksgrensesnitt og enheter i 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. I Linux, nettverksgrensesnitt er software-basert konfigurasjon som kan aktiveres eller deaktiveres, mens nettverksenheter er fysiske nettverk kortet eller adapter koblet til systemet. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Alle nettverk kommunikasjon forekomme mellom konfigurert nettverksgrensesnitt og fysiske nettverksenheter før datapakkene sendes eller overføres.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Systemansvarlige kan av og til vil vise eller få en liste over alle nettverksgrensesnitt og / eller nettverksenheter i Linux operativsystem. 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”. Det er mange måter å hente nettverksgrensesnitt og nettverksenheter informasjon i Linux eller Unix-system, den vanligste av det er "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 kommandoen er nyttig for administratoren som bare ønsker å vite hvilke nettverkskort som f.eks eth0, eth1, lo, wlan0, venet0, venet1 eller rausb0, som for tiden er konfigurert. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Hvis du vil bruke ifconfig kommandoen til å vise nettverksgrensesnitt, skriver ifconfig i konsollen eller kommandolinje-shell.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Et resultat som ligner format med konfigurasjonen detaljer, IP-adresse, MAC-adresse og annen informasjon, inkludert 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 Scope: 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 adresse: 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: 255.255.255.0 inet6 addr: fe80::21c:c0ff:8888:8888/64 Scope:Link inet6 addr: fe80:: 21c: c0ff: 8888:8888 / 64 Scope: 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 Memory: e0400000-e0420000
Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. Linux kan støtte flere fysiske nettverksenheter, compounding flere nettverksgrensesnitt som kan konfigureres for hvert nettverkskort. For user who wants to view information about physical network devices, a tool named “lshw” can be used. For brukeren som ønsker å vise informasjon om fysiske nettverksenheter, et verktøy som heter "lshw" kan brukes. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Hardware Lister) er et lite verktøy for å gi detaljert informasjon om maskinvare konfigurasjon av maskinen. 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”. På enkelte smaker eller distribusjoner av Linux er, lshw installert som standard, eller kan lastes ned eller installeres enkelt med kommandoen som "yum installere 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. Når lshw er aktivert på systemet, bare skriv inn følgende kommando i konsollen for å få en liste over alle tilkoblede fysiske nettverksenheter på systemet.
lshw -class network
Example of output are: Eksempel på produksjon er:
*-network *- network description: Ethernet interface description: Ethernet-grensesnitt product: VT6105 [Rhine-III] produkt: VT6105 [Rhine-III] vendor: VIA Technologies, Inc. leverandøren: VIA Technologies, Inc. physical id: 7 physical id: 7 bus info: pci@03:07.0 bus info: pci @ 03:07.0 logical name: eth0 logiske navn: eth0 version: 9a version: 9a serial: 00:88:88 føljetong: 00:88:88 width: 32 bits width: 32 bits clock: 33MHz clock: 33MHz capabilities: bus_master cap_list ethernet physical evner: bus_master cap_list ethernet fysisk configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes konfigurasjon: broadcast = yes driver = via-Rhin driverversion = 2.6.22-14-generic latency = 32 maxlatency = 8 mingnt = 3 multicast = yes resources: ioport=d300-d3ff iomemory:d8883888-d88838ff ressurser: ioport = D300-d3ff iomemory: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. VIKTIG: Siden er maskinen oversatt og levert "som er" uten garanti. Machine translation may be difficult to understand. Apparat oversettelse kanskje være vanskelig å forstå. Please refer to Vennligst henvis til original English article original engelsk artikkel whenever possible. når det er mulig.
Related Articles Relaterte artikler
- Free The Definitive Guide to Linux Network Programming PDF eBook Download Gratis The Definitive Guide to Linux Network Programming PDF eBook Dataoverføre
- How to Show and Display IP Routing Table in Windows or Linux Slik viser og utfoldelse IP rutingtabell i Windows eller Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (DLink) Veien, brytere, modemer og Nettverk Anordninger Retten Fabrikk Admin Passord
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Åpen, Ekstra og Konvertere DAA, ISO og BIN filer i Linux med Ledig Makt for Linux
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi Direkte Aktivere Wi-Fi enheter koble til hverandre i "Wi-Fi-nettverk"
- Display USB Devices Detailed Information with USBDeview Vise USB-enheter Detaljert informasjon med USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights Bruk ScrollLock og NumLock Tastatur LED Som Nettverk Trafikk Indikatorene med Nettverk Lyser
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Hvor å Endre eller Spole MAC adresse i Windows XP, Vista, Server 2003/2008, Mac OS X, Unix og Linux
- Retrieve, View or Display Wireless (WEP or WPA WiFi) Network Security Key or Password in Windows 7 Hent, Utsikt eller Utfoldelse Trådløse (WEP eller WPA WiFi) Nettverkssikkerhet Nøkkel eller passord i Windows 7
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews Spy og Snuse Passord og Privat informasjon foruten Analysere Nettverk med Microsoft Kommunikasjonskontroll Tool Network Monitor 3.0 addisjonstegn Kritikken









































