Re: Eth*'s and they corresponding hardwares
You could just hard code your mac addresses in the config file.
/etc/network/interfaces
#man interfaces defines how
auto eth0
iface eth0 inet static
hwaddr 00:20:18:10:72:76
address 199.105.37.102
netmask 255.255.255.0
broadcast 199.105.37.255
gateway 199.105.37.1
iface eth1 inet static
hwaddr 00:20:18:10:72:75
address 199.105.37.100
netmask 255.255.255.0
broadcast 199.105.37.255
gateway 199.105.37.1
> On 04/05/04 04:49 -0300, UnKnown 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.
>
> Cheers,
> rak
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
------------------------------------------
Ted Knab
Chester, Maryland 21619 USA
------------------------------------------
Conquest is easy. Control is not.
-- Kirk, "Mirror, Mirror", stardate unknown
Reply to: