Re: How to order eth0, eth1, ... with Tornado cards?

Donald Becker <[email protected]>
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <[email protected]>
On Sat, 10 May 2003, Nenad Antonic wrote:

> I have a cluster of Tyan Tiger MPX DualAthlons with embedded 3C920C
> chips and PCI Gigabit cards. Embedded cards are eth0, and are used for
> PXE booting, instalation, ...
> 
> However, there are several computers which need a third card to connect
> them to the outside world. I happen to have 3C905CX-TX-M PCI cards for
> that purpose, and they use the same driver as embedded chips (which I
> compiled in the kernel).
> 
> The problem is how to tell the driver to use the PCI 3com card as eth2,
> and not as eth0? The machines would then have the same configuration as
> the rest, with only one added card. 

Interfaces are assigned names in order.  If the 3c59x driver is built
in, and the other drivers are loaded as modules, the 3c59x interfaces
will always have the "lowest" names.

It's possible to rename network interfaces, but that is a Very Bad Idea.

> Just for testing I tried to reverse their order by a lilo parameter:
> 	linux ether=0,0x2080,eth0 ether=0,0x2000,eth1

That won't work -- PCI drivers cannot override the I/O address.  If
they did accept the parameter, it wouldn't do what you expect.

-- 
Donald Becker				[email protected]
Scyld Computing Corporation		http://www.scyld.com
914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993

_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.