Two Identical PCI NICs, how to choose which is eth0 and which is eth1

Joel Hammer Joel
Mon May 17 11:43:32 PDT 2004


Sometimes an IRQ is shared between two PCI devices.  I haven't seen sharing
between two Ethernet devices on two of my linux boxes, however.

cat /proc/pci 

might give you more detail.

Joel


On Mon, Jan 27, 2003 at 03:13:11PM -0800, Aaron Grewell wrote:
> Figure out which PCI slots are which (each has a number), then try
> assigning IRQ's to each of your NIC slots and see if a higher or lower
> IRQ affects the ordering of the ETH settings.  I've never tried to
> actually specify which is which, but that's how I would try to do it.
> 
> On Mon, 2003-01-27 at 14:58, Bill Campbell wrote:
> > On Mon, Jan 27, 2003 at 05:46:48PM -0500, Joel Hammer wrote:
> > >If memory serves, you can't.
> > >
> > >The BIOS scans the hardware at startup and assigns such things. Maybe
> > >there is some setting in the BIOS you can fiddle with.
> > >
> > >You might try exchanging the cards in the motherboard.
> > 
> > I usually find it easier to ping another system, swapping cables until it
> > works.  Once they're up in a particular sequence they won't change until
> > something else in the hardware changes.
> > 
> > Once you have them identified, marking with a Sharpe pen may help for the
> > next time you unplug the cables and forget which was which.
> > 
> > Some NIC drivers will turn the link light off when the driver's down so
> > doing an ``ifdown eth0'', the seeing which lights are still on may also
> > work.
> > 
> > Bill
> > --
> > INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
> > UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
> > FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
> > URL: http://www.celestial.com/
> > 
> > ``Never do your enemy a minor injury.''
> >     - Machiavelli
> > _______________________________________________
> > Linux-users mailing list
> > Linux-users at linux-sxs.org
> > Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list