Hi all,

I've got a simple question, and I hope that there is an equally simple
answer :-)

I've got a setup with two similar Realtek ethernet cards that both
use the 8139too driver in Linux 2.4.x.

In Linux 2.6.[45] assignment of eth0,1 is reversed, so now my interface to 
the cable modem has eth1 (this was eth0 in 2.4.x). 
Naturally the network does not work anymore.

I believe that in 2.4 the 8139too driver allocates ethx on the MAC address 
of the ethernet cards, lowest MAC address gets eth0 and so on. It seems
that in 2.6.x the MAC address is still used as the basis for assignment, 
but now the order is reversed. (I tried switching network cables, and
this did not change anything.)

I know that I can map physical addresses to logical addresses, but my
question is: do any of you have a simple method of guaranteeing that
an ethernet card with a certain MAC address gets allocated eth0?

The examples in /usr/share/doc/ifupdown/examples all use other types
of names for the logical interfaces (like home, network).
I would like to stick to the eth0,1 terminology and make sure that I
always know what card gets eth0. This because stuff like shorewall 
uses eth0 for cable modem per default. 

Or would I run into trouble anyhow since some utilities refer to 
the physical (say eth0) interface and other utilities to the 
logical (say eth1) address?

Does this make any sense? :-)

Thanks for any advice!

John van Spaandonk

ps This issue must have been dealt with countless times already on this 
list but I could not find it with search in 1 hour.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to