How to Display and List All Network Interfaces and Devices 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. ב-Linux, ממשקי הרשת הם מבוססי תוכנה תצורה אשר יכול להיות מופעל או מנוטרל, ואילו התקני רשת הם כרטיס רשת פיזי או מתאם מחובר למערכת. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. כל התקשורת ברשת להתרחש בין ממשקי רשת מוגדר והתקני רשת פיזית לפני מנות נתונים נשלחים או המשודר.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. מנהלי מערכת ייתכן שמדי פעם תרצה להציג או לקבל רשימה של כל ממשקי הרשת ו / או התקני רשת במערכת ההפעלה לינוקס. 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”. יש הרבה דרכים כדי לאחזר ממשקי רשת והתקני רשת המידע לינוקס או מערכת יוניקס, הנפוצה ביותר היא "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 שימושי עבור מי מנהל רק רוצה לדעת איזה ממשקי רשת, למשל, eth0, eth1, Lo, wlan0, venet0, venet1 או rausb0, אשר מוגדרים כעת. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. כדי להשתמש בפקודה ifconfig להציג ממשקי רשת, רק סוג ifconfig בתוך המסוף או מעטפת שורת הפקודה.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. פלט דומה בפורמט למטה עם פרטים תצורה, כתובת IP, כתובת MAC ומידע אחר, לרבות 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 היקף: קישור UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Multicast UP BROADCAST RUNNING 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 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 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 היקף: קישור UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Multicast UP BROADCAST RUNNING 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 זיכרון: e0400000-e0420000
Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. לינוקס יכול לתמוך התקני רשת מרובים פיזית, הרכבה לרשת ממשקים מרובים כי ניתן להגדיר עבור כל כרטיסי הרשת. For user who wants to view information about physical network devices, a tool named “lshw” can be used. עבור המשתמש שרוצה להציג מידע על התקני הרשת הפיזית, כלי בשם "lshw" ניתן להשתמש. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (חומרה ליסטר) הוא כלי קטן כדי לספק מידע מפורט על תצורת החומרה של המכונה. 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”. על כמה טעמים או הפצות של לינוקס, lshw מותקן כברירת מחדל, או ניתן להוריד או להתקין בקלות עם הפקודה כגון "yum להתקין 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. לאחר lshw מופעלת על המערכת, פשוט הזן את הפקודה הבאה לתוך המסוף כדי לקבל רשימה של כל התקני הרשת מחוברת פיזית על המערכת.
lshw -class network
Example of output are: דוגמת פלט הם:
*-network רשת *- description: Ethernet interface תיאור: ממשק אתרנט product: VT6105 [Rhine-III] מוצר: VT6105 [Rhine-III] vendor: VIA Technologies, Inc. הספק: VIA Technologies, Inc physical id: 7 זיהוי פיזי: 7 bus info: pci@03:07.0 מידע על אוטובוס: pci @ 03:07.0 logical name: eth0 שם לוגי: eth0 version: 9a גרסה: 9a serial: 00:88:88 סידורי: 00:88:88 width: 32 bits רוחב: 32 סיביות clock: 33MHz השעון: 33MHz capabilities: bus_master cap_list ethernet physical יכולות: Ethernet cap_list bus_master גופנית configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes תצורה: שידור = כן נהג = דרך-driverversion הריין = 2.6.22-14-latency = 32 הגנרית maxlatency = 8 mingnt = 3 = Multicast כן resources: ioport=d300-d3ff iomemory:d8883888-d88838ff משאבים: ioport = D300-iomemory d3ff: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Free The Definitive Guide to Linux Network Programming PDF eBook Download חינם המדריך סופי רשת לינוקס תכנות PDF להוריד ספר אלקטרוני
- How to Show and Display IP Routing Table in Windows or Linux כיצד להציג ולהציג טבלת ניתוב ה-IP ב-Windows או Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (DLink) נתבים, מתגים, מודמים והתקני רשת ברירת מחדל במפעל סיסמת מנהל
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux פתח, חלץ המר ו DAA, ISO ו המיחזור קבצים עם לינוקס חינם PowerISO עבור לינוקס
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi ישיר הפעלת התקני Wi-Fi חיבור זה לזה "Wi-Fi רשת"
- Display USB Devices Detailed Information with USBDeview הצג התקני ה-USB עם מידע מפורט USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights השתמש ScrollLock ו NumLock מקלדת LED כרשת אינדיקטורים התנועה עם רשת אורות
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux כיצד לשנות או Spoof MAC Address ב-Windows XP, Vista, Server 2003/2008, Mac OS X, Unix ו-Linux
- Retrieve, View or Display Wireless (WEP or WPA WiFi) Network Security Key or Password in Windows 7 לאחזר, נוף או הצגת אלחוטית (WEP או WPA WiFi) מפתח אבטחת רשת או סיסמה ב-Windows 7
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews סקירות מרגלים וסיסמאות Sniff ואת פרטי מידע לצד ניתוח רשת עם מיקרוסופט ציתות הכלי Network Monitor 3.0 פלוס









































