From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752639AbbAKWn6 (ORCPT ); Sun, 11 Jan 2015 17:43:58 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:65276 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751583AbbAKWnz (ORCPT ); Sun, 11 Jan 2015 17:43:55 -0500 Message-ID: <54B2FCA4.50501@nod.at> Date: Sun, 11 Jan 2015 23:43:48 +0100 From: Richard Weinberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Stephen Hemminger CC: davem@davemloft.net, coreteam@netfilter.org, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bhutchings@solarflare.com, john.fastabend@gmail.com, herbert@gondor.apana.org.au, vyasevic@redhat.com, jiri@resnulli.us, vfalico@gmail.com, therbert@google.com, edumazet@google.com, yoshfuji@linux-ipv6.org, jmorris@namei.org, kuznet@ms2.inr.ac.ru, kadlec@blackhole.kfki.hu, kaber@trash.net, pablo@netfilter.org, kay@vrfy.org Subject: Re: [PATCH 1/3] net: Make interface aliases available for general usage References: <1421009571-5279-1-git-send-email-richard@nod.at> <1421009571-5279-2-git-send-email-richard@nod.at> <20150111144039.426f0c48@urahara> In-Reply-To: <20150111144039.426f0c48@urahara> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen, Am 11.01.2015 um 23:40 schrieb Stephen Hemminger: > On Sun, 11 Jan 2015 21:52:49 +0100 > Richard Weinberger 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 > > 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. Actually I'm using ifalias. This patch just exposes it. > I think you can't do this without breaking some of our users. My idea was that udev will not set the alias if already one is used. Thanks, //richard