[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eth*'s and they corresponding hardwares

On Tue, 4 May 2004 04:49:39 -0300
UnKnown <rak@burst.fcien.edu.uy> wrote:

: Hi ppl, got an intresting problem here, the other day I compile
: kernel 2.4.25 for the main router it has 5 ethernet cards 3
: realtek 1 tulip and 1 ne2000 everithing whent fine untill the boot
: proces was over and I try to conect to the network. For some
: reason what in the previous kernel was one eth in the new kernel
: is another, aparently the kernels load the eths in a diferent way.
: The old one load them in this order
: eth0      Link encap:Ethernet  HWaddr 00:20:18:10:72:76
: eth1      Link encap:Ethernet  HWaddr 00:48:54:66:C3:B2
: eth2      Link encap:Ethernet  HWaddr 00:48:54:67:CC:88
: eth3      Link encap:Ethernet  HWaddr 00:48:54:66:C9:75
: eth4      Link encap:Ethernet  HWaddr 00:80:AD:3C:24:2D
: While the new one load in this order
: eth0      Link encap:Ethernet  HWaddr 00:20:18:10:72:76
: eth1      Link encap:Ethernet  HWaddr 00:80:AD:3C:24:2D
: eth2      Link encap:Ethernet  HWaddr 00:48:54:66:C3:B2
: eth3      Link encap:Ethernet  HWaddr 00:48:54:67:CC:88
: eth4      Link encap:Ethernet  HWaddr 00:48:54:66:C9:75
: So some of the ethernets get mix up and the net doesnt work
: properly. I could reconfig, the route iptables and other stuff to
: work arround. But I was wondering if there is a way to bind a
: sertein ethernet "hardware" to an specific eth device.
: If anyone has a clue with it I'll apreciate any direction, I'm
: over the kernel doc but as I'm not really expert on it is taking
: me no ware. So any clue would be well came.

Although I haven't had to deal with it using later kernels, I
resolved this problem some years ago by resetting the i/o base
address on each nic. ie 0x310 0x320 0x330 etc. I then added an
'ether' command for each at boot time. ie ether = 5, 0x310, 12,
0x3c509, eth0 - where these correspond to the desired irq, base i/o
address, transciever type, address conflict flag and interface.

I know networking has been upgraded since, and I'm not sure if this
would still work, and on tulip cards, but I'd be interested to know.

Something else to try, hope it helps,


Reply to: