Find out which eth or device belongs to interface "port 1 PCI 4" | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

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

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-22-2013
pabloli150 pabloli150 is offline
Registered User
 
Join Date: Aug 2007
Last Activity: 24 January 2013, 2:56 AM EST
Location: GIJON,ASTURIAS,SPAIN
Posts: 37
Thanks: 0
Thanked 1 Time in 1 Post
Find out which eth or device belongs to interface "port 1 PCI 4"

Hi,

Ive given only this info to configure a network interface : "port 1 PCI 4"

Ive 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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
"Device busy" When Reopening Serial Port Jim Ryan Solaris 11 12-13-2011 11:09 AM
Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed.... Reboot Emergency UNIX and Linux Support 1 11-17-2010 06:09 AM
"find command" to find the files in the current directories but not in the "subdir" swamymns Shell Programming and Scripting 9 07-22-2008 12:23 PM
Eth err: "3c501 device eth0 does not seem to be present" praveen_b744 UNIX for Advanced & Expert Users 2 12-17-2007 01:22 AM
grep to find content in between curly braces, "{" and "}," keshav_rk Shell Programming and Scripting 4 08-09-2007 11:14 PM



All times are GMT -4. The time now is 12:03 AM.