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

Re: load order of network interfaces



On Wednesday 12 April 2006 12:14, Ivan Longhi wrote:
> hello,
> I have 2 alpha machines identical.
> they have 2 net interfaces on board (Digital DS21143 Tulip loaded by
> module tulip0 and tulip1) and 1 net interface on a pci slot (RealTek
> RTL8139 loaded by module 8139too).
> The strange thing is that on a machine eth0 is on tulip0, eth1 is on
> tulip1 and 8139too is on eth2, on the other machine 8139too is on eth0,
> eth1 and eth2 are on tulip.
> I would like that the two machines map eth on the same way.
>
> I tried to add a file called my-aliases in /etc/modeprobe.d with this
> content:
> alias eth0 tulip0
> alias eth1 tulip1
> alias eth2 8139too
>
> but on the second machine it seems to be ignored and the interfaces load
> in another order.
>
> does anyone know the right debian way to map interfaces in a certain order?
>
> bye,
> Ivan
>
> --------------------
> http://www.retecivica.milano.it/


You can do using ifrename, or if using udev, see:

http://reactivated.net/writing_udev_rules.html#example-iface

John



Reply to: