Re: Device (LAN Cards) Naming

From: Sven Koch (haegar@sdinet.de)
Date: Fri Nov 30 2001 - 19:03:59 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:41 EST