From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [patch 2/6] [Network namespace] Network device sharing by view Date: Tue, 27 Jun 2006 21:38:14 -0600 Message-ID: References: <20060627131136.B13959@castle.nmd.msu.ru> <44A0FBAC.7020107@fr.ibm.com> <20060627133849.E13959@castle.nmd.msu.ru> <44A1149E.6060802@fr.ibm.com> <20060627160241.GB28984@MAIL.13thfloor.at> <44A1689B.7060809@candelatech.com> <20060627225213.GB2612@MAIL.13thfloor.at> <1151449973.24103.51.camel@localhost.localdomain> <20060627234210.GA1598@ms2.inr.ac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dave Hansen , Herbert Poetzl , Ben Greear , Daniel Lezcano , Andrey Savochkin , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, serue@us.ibm.com, clg@fr.ibm.com, Andrew Morton , dev@sw.ru, devel@openvz.org, sam@vilain.net, viro@ftp.linux.org.uk, Alexey Kuznetsov Return-path: Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:15249 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S1751070AbWF1DkT (ORCPT ); Tue, 27 Jun 2006 23:40:19 -0400 To: Alexey Kuznetsov In-Reply-To: <20060627234210.GA1598@ms2.inr.ac.ru> (Alexey Kuznetsov's message of "Wed, 28 Jun 2006 03:42:10 +0400") Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Alexey Kuznetsov writes: > Hello! > >> It may look weird, but do application really *need* to see eth0 rather >> than eth858354? > > Applications do not care, humans do. :-) > > What's about applications they just need to see exactly the same device > after migration. Not only name, but f.e. also its ifindex. If you do not > create a separate namespace for netdevices, you will inevitably end up > with some strange hack sort of VPIDs to translate (or to partition) ifindices > or to tell that "ping -I eth858354 xxx" is too coimplicated application > to survive migration. Actually there are applications with peculiar licensing practices that do look at devices like eth0 to verify you have the appropriate mac, and do really weird things if you don't have an eth0. Plus there are other cases where it can be simpler to hard code things if it is allowable. (The human factor) Otherwise your configuration must be done through hotplug scripts. But yes there are misguided applications that care. Eric