From owner-freebsd-net@FreeBSD.ORG Tue May 6 08:42:37 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F45637B401 for ; Tue, 6 May 2003 08:42:37 -0700 (PDT) Received: from smtp-relay.omnis.com (smtp-relay.omnis.com [216.239.128.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF62E43FB1 for ; Tue, 6 May 2003 08:42:36 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.homeunix.net (66-91-236-204.san.rr.com [66.91.236.204]) by smtp-relay.omnis.com (Postfix) with ESMTP id C6C401C1CF; Tue, 6 May 2003 08:41:41 -0700 (PDT) From: Wes Peters Organization: Softweyr To: Harti Brandt Date: Tue, 6 May 2003 08:41:40 -0700 User-Agent: KMail/1.5 References: <_MzYgD.A.O9P._h8s-@coal.sentex.ca> <200305042117.39042.wes@softweyr.com> <20030505114756.K53365@beagle.fokus.fraunhofer.de> In-Reply-To: <20030505114756.K53365@beagle.fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305060841.40502.wes@softweyr.com> cc: freebsd-net@freebsd.org cc: Jeremy Chadwick Subject: Re: Howto rename an interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 15:42:37 -0000 On Monday 05 May 2003 02:49, Harti Brandt wrote: > On Sun, 4 May 2003, Wes Peters wrote: > > >On Sunday 04 May 2003 11:18, Jeremy Chadwick wrote: > > > All of the system startups need to refer to these ports by function, > > not by some silly number assigned as a side effect of the PCI bus > > probing order. > > > > This almost begs for some simple alias that can be programmatically > > (or via a command line utility) added to the interface so the > > association with the device type isn't lost. That bears some > > thought. An interface label, as it were... > > Perhaps an if_alias field in struct ifnet, setable via ifconfig? This > would just nicely map to the alias name field in the SNMP interface > MIB. That's what I was thinking, but that's just the beginning of the project. The next step is to make references to the alias, i.e. from ifconfig, ipfw, ipfilter, etc. recognize the alias or label as well as the device name. I'll ask the boss if I can do this on St. Bernard's ticket. ;^) -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com