Re: [PATCH 1/3] net: Make interface aliases available for general usage
From: Stephen Hemminger
Date: Sun Jan 11 2015 - 17:41:01 EST
On Sun, 11 Jan 2015 21:52:49 +0100
Richard Weinberger <richard@xxxxxx> wrote:
> Allow interface aliases to be used as regular interfaces.
> Such that a command sequence like this one works:
> $ ip l set eth0 alias internet
> $ ip a s internet
> $ tcpdump -n -i internet
>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>
There is already a ifalias and it is used by SNMP.
But the common practice is to put longer descriptive names which aren't going
to be usable and there is no requirement that they be unique.
I think you can't do this without breaking some of our users.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/