netdev
[Top] [All Lists]

Re: network interface names ethX and renaming interfaces

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Subject: Re: network interface names ethX and renaming interfaces
From: Hein Roehrig <hein@xxxxxxx>
Date: Tue, 18 Dec 2001 21:56:02 +0100
Cc: Neale Banks <neale@xxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: Message from Rusty Russell <rusty@xxxxxxxxxxxxxxx> of "Sun, 16 Dec 2001 11:01:28 +1100." <E16FOkX-0001pY-00@xxxxxxxxxxxxxxxxxxxxxx>
References: <E16FOkX-0001pY-00@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
So is anybody already working on a fix? If not, I would try to 
produce one over Xmas; your input & advice would be welcome. 

-Hein

PS: what is netdev@xxxxxxxxxxx?

> In message <E16FIK5-0000zS-00@qaip3> you write:
> > in Linux 2.2.20 I have a problem renaming the network interface dummy0
> > to eth0 and then starting a regular ethernet driver --- I would like
> > it to come up as eth1 but it comes up as eth0, messing up the dummy0
> > interface.
> 
> What an interesting corner case.  I assume that there's a good
> (speed?) reason why init_etherdev doesn't use dev_alloc_name() or
> equiv.
> 
> Of course, I never thought anyone would rename interfaces to the names
> of other interfaces, so I never honestly considered it.  It was more
> for large ISPs to name interfaces after their clients (I had a pppd
> hack that did this), for filtering and easy identification purposes.
> 
> Rusty.
> --
>   Anyone who quotes me in their sig is an idiot. -- Rusty Russell.



<Prev in Thread] Current Thread [Next in Thread>