Find out which eth or device belongs to interface "port 1 PCI 4"

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Find out which eth or device belongs to interface "port 1 PCI 4"
# 1  
Old 01-22-2013
Find out which eth or device belongs to interface "port 1 PCI 4"

Hi,

I´ve given only this info to configure a network interface : "port 1 PCI 4"

I´ve been searching for any kind of relationship in the system which allow me to find the etc that must be configured...

Please, could anybody help me?

Code:
rhxx:#/root# lspci |grep -i "PCI BRIDGE"
00:01.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 1 (rev 01)
00:02.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 2 (rev 01)
00:03.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 3 (rev 01)
00:04.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 4 (rev 01)
00:05.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 5 (rev 01)
00:06.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 6 (rev 01)
00:07.0 PCI bridge: Intel Corporation 7300 Chipset PCI Express Port 7 (rev 01)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
03:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
03:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
04:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
04:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
04:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
05:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
07:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)
0b:00.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
0c:00.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
0c:01.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
0c:09.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
17:00.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
18:01.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
18:02.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
18:08.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
18:09.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)
18:0a.0 PCI bridge: PLX Technology, Inc. PEX 8533 32-lane, 6-port PCI Express Switch (rev aa)


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether f4:ce:46:af:cd:90 brd ff:ff:ff:ff:ff:ff
11: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether f4:ce:46:af:cd:90 brd ff:ff:ff:ff:ff:ff
12: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether f4:ce:46:af:cd:94 brd ff:ff:ff:ff:ff:ff
13: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether f4:ce:46:af:2b:f8 brd ff:ff:ff:ff:ff:ff
14: eth3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether f4:ce:46:af:cd:90 brd ff:ff:ff:ff:ff:ff
15: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 18:a9:05:58:d3:da brd ff:ff:ff:ff:ff:ff
16: eth5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 18:a9:05:58:d3:dc brd ff:ff:ff:ff:ff:ff


rhxx:#/root# ifconfig -a
bond0     Link encap:Ethernet  HWaddr F4:CE:46:AF:CD:90
          inet addr:10.66.217.107  Bcast:10.66.217.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:10012841565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4901081627 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15137886459705 (13.7 TiB)  TX bytes:326799353229 (304.3 GiB)

eth0      Link encap:Ethernet  HWaddr F4:CE:46:AF:CD:90
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:787344365 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4787181439 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1183000109168 (1.0 TiB)  TX bytes:318289788084 (296.4 GiB)
          Interrupt:164

eth1      Link encap:Ethernet  HWaddr F4:CE:46:AF:CD:94
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:228

eth2      Link encap:Ethernet  HWaddr F4:CE:46:AF:2B:F8
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:101

eth3      Link encap:Ethernet  HWaddr F4:CE:46:AF:CD:90
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:9225497257 errors:0 dropped:0 overruns:0 frame:0
          TX packets:113900200 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13954886436835 (12.6 TiB)  TX bytes:8509566257 (7.9 GiB)
          Interrupt:165

eth4      Link encap:Ethernet  HWaddr 18:A9:05:58:D3:DA
          inet addr:10.66.229.66  Bcast:10.66.231.255  Mask:255.255.248.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3906476 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1764 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:271575556 (258.9 MiB)  TX bytes:143603 (140.2 KiB)
          Interrupt:169 Memory:ca000000-ca012100

eth5      Link encap:Ethernet  HWaddr 18:A9:05:58:D3:DC
          inet addr:10.129.140.33  Bcast:10.129.140.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119742 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24656016 (23.5 MiB)  TX bytes:1536 (1.5 KiB)
          Interrupt:177 Memory:cc000000-cc012100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1961734 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1961734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8363537860 (7.7 GiB)  TX bytes:8363537860 (7.7 GiB)


KERNEL=="eth0", SYSFS{address}=="f4:ce:46:af:cd:90", NAME="eth0"
KERNEL=="eth1", SYSFS{address}=="f4:ce:46:af:cd:94", NAME="eth1"
KERNEL=="eth2", SYSFS{address}=="f4:ce:46:af:2b:f8", NAME="eth2"
KERNEL=="eth3", SYSFS{address}=="f4:ce:46:af:cd:90", NAME="eth3"
KERNEL=="eth4", SYSFS{address}=="18:a9:05:58:d3:da", NAME="eth4"
KERNEL=="eth5", SYSFS{address}=="18:a9:05:58:d3:dc", NAME="eth5"


#KERNEL=="eth?", SYSFS{address}=="f4:ce:46:af:cd:90", NAME="eth0"
#KERNEL=="eth?", SYSFS{address}=="f4:ce:46:af:cd:94", NAME="eth1"
#KERNEL=="eth?", SYSFS{address}=="f4:ce:46:af:2b:f8", NAME="eth2"
#KERNEL=="eth?", SYSFS{address}=="f4:ce:46:af:cd:90", NAME="eth3"
#KERNEL=="eth?", SYSFS{address}=="18:a9:05:58:d3:da", NAME="eth4"
#KERNEL=="eth?", SYSFS{address}=="18:a9:05:58:d3:dc", NAME="eth5"

lspci -t

-[0000:00]-+-00.0
           +-01.0-[0000:03-0a]--+-00.0-[0000:04-09]--+-00.0-[0000:05-06]----00.0-[0000:06]----00.0
           |                    |                    +-01.0-[0000:07-08]----00.0-[0000:08]----00.0
           |                    |                    \-02.0-[0000:09]--
           |                    \-00.3-[0000:0a]--
           +-02.0-[0000:29]--
           +-03.0-[0000:2a]--
           +-04.0-[0000:17-27]----00.0-[0000:18-27]--+-01.0-[0000:25-27]--
           |                                         +-02.0-[0000:22-24]--
           |                                         +-08.0-[0000:19-1b]--+-00.0
           |                                         |                    \-00.1
           |                                         +-09.0-[0000:1c-1e]--+-00.0
           |                                         |                    \-00.1
           |                                         \-0a.0-[0000:1f-21]--+-00.0
           |                                                              \-00.1
           +-05.0-[0000:28]--
           +-06.0-[0000:0b-15]----00.0-[0000:0c-15]--+-00.0-[0000:13-15]--+-00.0
           |                                         |                    \-00.1
           |                                         +-01.0-[0000:10-12]--+-00.0
           |                                         |                    \-00.1
           |                                         \-09.0-[0000:0d-0f]--+-00.0
           |                                                              \-00.1
           +-07.0-[0000:16]--
           +-10.0
           +-10.1
           +-10.2
           +-10.3
           +-11.0
           +-11.3
           +-13.0
           +-15.0
           +-16.0
           +-1c.0-[0000:02]----00.0
           +-1d.0
           +-1d.1
           +-1d.2
           +-1d.3
           +-1d.7
           +-1e.0-[0000:01]--+-03.0
           |                 +-04.0
           |                 +-04.2
           |                 +-04.4
           |                 \-04.6
--More--

Thanks

Regards

Last edited by Scott; 01-22-2013 at 06:48 AM.. Reason: Code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find . -path "*_nobackup*" -prune -iname "*.PDF" \( ! -name "*_nobackup.*" \)

These three finds worked as expected: $ find . -iname "*.PDF" $ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \) $ find . -path "*_nobackup*" -prune -iname "*.PDF" They all returned the match: ./folder/file.pdf :b: This find returned no matches: $ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies

2. Shell Programming and Scripting

How to find a file which are not ends with ".zip" and which are ends with "*.log*" or "*.out*"?

I am new to bash/shell scripting. I want to find all the files in directory and subdirectories, which are not ends with “.zip” and which are contains in the file name “*.log*” or “*.out*”. I know below command to get the files which ends with “.log”; but I need which are not ends with this... (4 Replies)
Discussion started by: Mallikgm
4 Replies

3. Shell Programming and Scripting

Find lines with "A" then change "E" to "X" same line

I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Discussion started by: nightwatchrenba
10 Replies

4. Shell Programming and Scripting

Using sed to find text between a "string " and character ","

Hello everyone Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
Discussion started by: haggismn
10 Replies

5. Solaris

"Device busy" When Reopening Serial Port

Any help much appreciated. I am a Java developer, not a Solaris adept. I'm having an issue reopening serial port with the Java app I am developing. I develop in Windows and deploy the app on Solaris 10 (Sunfire X4170 with Xeon.) On the target machine my app uses the two serial ports... (11 Replies)
Discussion started by: Jim Ryan
11 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Emergency UNIX and Linux Support

Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed....

Dear All, I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output : root # powermt display dev=all Pseudo name=emcpower3a CLARiiON ID=CK200073400372 Logical device ID=60060160685D1E004DD97FB647BFDC11 state=alive; policy=CLAROpt;... (1 Reply)
Discussion started by: Reboot
1 Replies

8. Shell Programming and Scripting

"find command" to find the files in the current directories but not in the "subdir"

Dear friends, please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories.. it is like this, current directory contains file1, file2, file3, dir1, dir2 and dir1 conatins file4, file5 and dir2 contains file6,... (9 Replies)
Discussion started by: swamymns
9 Replies

9. UNIX for Advanced & Expert Users

Eth err: "3c501 device eth0 does not seem to be present"

HI, When I do 'service network restart' , I am getting the following error. "3c501 device eth0 does not seem to be present, delaying initialization" Can any one suggest me the cause/solution for this? When I do 'lspci' it is showing the ehternet card as " Ethernet controller"Marvell... (2 Replies)
Discussion started by: praveen_b744
2 Replies

10. Shell Programming and Scripting

grep to find content in between curly braces, "{" and "},"

problem String ~~~~~~~~~~~~~~~~~~ icecream= { smart peopleLink "good" LC "happy" , smartpeopleLink "dull" LC "sad" } aend = {smart vc4 eatr kalu} output needed ~~~~~~~~~~~~~~~~~~ smart peopleLink "good" LC "happy" , smartpeopleLink "dull" LC "sad" smart vc4... (4 Replies)
Discussion started by: keshav_rk
4 Replies
Login or Register to Ask a Question