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

Eth*'s and they corresponding hardwares



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.

Cheers,
rak



Reply to: