Re: Device (LAN Cards) Naming

Sven Koch (haegar@sdinet.de)
Sat, 1 Dec 2001 01:03:59 +0100 (CET)


On Fri, 30 Nov 2001, Mike Fedyk wrote:

> On Fri, Nov 30, 2001 at 08:57:28PM +0100, Sven Koch wrote:
> > On Fri, 30 Nov 2001, Mauricio Culibrk wrote:
> >
> > > Is it possible to define a name for each interface instead of having
> > > eth0, eth1 etc?
> >
> > ip link set eth0 down
> > ip link set eth0 name buggy
> > ip link set buggy up

> Does the new name work with ifconfig?

Yes, it does.
And with firewalling, shaping, etc - with everything that uses ethX.

Only programs that think they are smarter and use hardcoded
interface-names/schemes/lists are obviously broken.

c'ya
sven

-- 

The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/