How to find about NICs installed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to find about NICs installed
# 1  
Old 11-23-2009
Data How to find about NICs installed

Hi;
Is there a way to determine for sure how many NIC ports installed on my Linux box?

I tried to run "lspci" but not sure about the results, it's not clear.

Below are the results when i run both "ifconfig" & "lspci" on my Linux box i hope someone can help me finding the actual numbers of NICs installed:

Is it 2 ports or 6 ports?

Code:
server01:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:81:B5:31:6A  
          inet addr:15.19.23.1  Bcast:15.19.23.255  Mask:255.255.255.0
          inet6 addr: fe80::224:81ff:feb5:316a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:128127059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205153780 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1008969960 (962.2 Mb)  TX bytes:348444661 (332.3 Mb)
          Interrupt:169 

eth1      Link encap:Ethernet  HWaddr 00:24:81:B5:31:6B  
          inet addr:162.14.200.25  Bcast:162.14.200.255  Mask:255.255.255.0
          inet6 addr: fe80::224:81ff:feb5:316b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:250977189 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128531116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3493154681 (3331.3 Mb)  TX bytes:654359981 (624.0 Mb)
          Interrupt:74 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3743424 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3743424 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:816603395 (778.7 Mb)  TX bytes:816603395 (778.7 Mb)

Code:
server01:~ # lspci 
00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev c0)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
01:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 03)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out  Processor (rev 03)
01:04.4 USB Controller: Hewlett-Packard Company Unknown device 3300
01:04.6 Serial bus controller [Class 0c07]: Hewlett-Packard Company Unknown device 3302
02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev b5)
03:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3)
03:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3)
03:08.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge (rev b4)
07:00.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 0e)
08:02.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 0e)
08:04.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 0e)
09:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
09:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
0a:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
0a:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
0b:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Controller (rev 04)
mi1-c23-gn01:~ #


Last edited by zaxxon; 11-25-2009 at 08:51 AM.. Reason: code tags
# 2  
Old 11-25-2009
Code:
03:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3)
03:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3)
09:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
09:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
0a:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
0a:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)

Seems your box has 6 ethernet adapters. How many ports they have and which are onboard or not etc. you should have a look yourself at your box maybe.
ifconfig shows configured interfaces. It does not necessary show all NICs.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. UNIX for Dummies Questions & Answers

How to find perl installed path?

Hi all, how do we find where perl is installed via command line? Please let me know for both windows and unix platforms. when i tried in windows by following option. it is throwing error. C:\Users\dkanagar>whereis perl 'whereis' is not recognized as an internal or external command,... (4 Replies)
Discussion started by: Divakar
4 Replies

3. Shell Programming and Scripting

How to find out which sql i have installed .

I use CentOS . I want to know how to find out which sql i have installed .. Can anyone tell .. (2 Replies)
Discussion started by: madhumathikv
2 Replies

4. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

5. Programming

How To find if Specific Software is installed ?

Hi all, I have developed an application in linux that uses MySQL and unixODBC. Now I am making a small installer for this application that configures environment for this application. What I need is the way to check if MySQL and unixODBC is installed on the system before I start installing my... (3 Replies)
Discussion started by: noble_curious
3 Replies

6. UNIX for Dummies Questions & Answers

trying to find out where oracle is installed

Hi I am logged into a remote linux machine, i want to find out where the oracle software is installed..basically, i want to see the following files... oracle_home/rdbms/admin/sql.bsq oracle_home/rdbms/admin/catalog.sql i am taken to home directory...do i need to export something here?... (3 Replies)
Discussion started by: soujanya_srk
3 Replies

7. UNIX for Dummies Questions & Answers

How to find how many CPU installed in the servers

We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies

8. Solaris

How to find out installed patches on Sun5.9

Hi Unix Experts, I'm told to install WebSphere MQ on Sun 5.9 box. Before I install it, my task is to find out what OS patches have already installed on the box. I tried pkginfo -i command but it gives all of the packages installed. I want to find out a specific patch has been installed or... (1 Reply)
Discussion started by: hkhan12
1 Replies

9. UNIX for Advanced & Expert Users

How to Find the OS version Installed

Hi, I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present. Thanx in advance for your help. Regards, Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies

10. UNIX for Advanced & Expert Users

How to find who installed an app

Hi, how could I find whether an application is installed by root or non-root I am assuming it would be logged in a file, if it is where would it be? Thanks in advance. (2 Replies)
Discussion started by: dtamminx
2 Replies
Login or Register to Ask a Question