* Alias names for network devices?
@ 2003-10-06 11:10 Stephan von Krawczynski
2003-10-07 8:53 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Stephan von Krawczynski @ 2003-10-06 11:10 UTC (permalink / raw)
To: linux-kernel
Hello all,
does anybody have an idea how to map a static device name to a network device
with dynamic appearance (e.g. ppp) ?
What I mean is something like:
static name : customer1
dynamic name: ppp25
The mapping should be made available at ip-up time, or better there should be
an _empty_ device which can be mapped on some existing dynamic device name and
should become empty again after its removal.
I know this sounds like a user-space question, but the kernel-question behind
is: is this concept possible at all? Can some userspace tool be written to
perform something like this?
The usage pattern is obviously doing SNMP statistics on users with varying
interface names.
Don't beat me for the subject line, I know alias ethernet devices are meant to
be something else, but how else would you call a second name for an existing
device?
Regards,
Stephan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Alias names for network devices?
2003-10-06 11:10 Alias names for network devices? Stephan von Krawczynski
@ 2003-10-07 8:53 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2003-10-07 8:53 UTC (permalink / raw)
To: Stephan von Krawczynski, linux-kernel
Stephan von Krawczynski <skraw@ithnet.com> wrote:
>
> does anybody have an idea how to map a static device name to a network device
> with dynamic appearance (e.g. ppp) ?
Yes, you can rename interfaces easily.
For ppp the best solution is to patch pppd to do it.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-07 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06 11:10 Alias names for network devices? Stephan von Krawczynski
2003-10-07 8:53 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox