On Fri, 22 Jul 2005 18:22:07 +0200 Peter Stuge <stuge-vlan@xxxxxxx> wrote: > On Fri, Jul 22, 2005 at 10:25:02AM +0100, Alex Zeffertt wrote: > > > How about just using user-space tools to rename the interface? > > > > I thought about that. My device driver could register eth0. Then > > I could use iproute2 to rename eth0, and all the vlan devices > > eth0.10, eth0.11,..., eth0.19: > > I suggest using udev instead, just add xx-ifnames.rules (where xx is > a two-digit number) to /etc/udev/rules.d (at least on Gentoo) with: I've just looked this up on http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html and it appears this needs a 2.6 kernel to work. Unfortunately my embedded environment is only 2.4.25 and I don't think I can justify the switch. Thanks for the info though. Alex