From owner-freebsd-net@FreeBSD.ORG Fri May 21 06:36:16 2004 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 4F78216A4CE for ; Fri, 21 May 2004 06:36:16 -0700 (PDT) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4725D43D2D for ; Fri, 21 May 2004 06:36:13 -0700 (PDT) (envelope-from flist@qqmore.rinet.ru) Received: from relay.rinet.ru (localhost [127.0.0.1]) by relay.rinet.ru (8.12.9p2/8.12.9) with ESMTP id i4LDZqYL038254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 May 2004 17:35:53 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: (from uucp@localhost)i4LDZqPF038253; Fri, 21 May 2004 17:35:52 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: from qqmore.rinet.ru. (localhost.rinet.ru [127.0.0.1]) by qqmore.rinet.ru. (8.12.11/8.12.11) with ESMTP id i4LDZXxb003119; Fri, 21 May 2004 17:35:34 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: (from flist@localhost) by qqmore.rinet.ru. (8.12.11/8.12.11/Submit) id i4LDZUf8003118; Fri, 21 May 2004 17:35:30 +0400 (MSD) (envelope-from flist) Date: Fri, 21 May 2004 17:35:30 +0400 From: Alex Semenyaka To: Brooks Davis Message-ID: <20040521133530.GA1403@qqmore.rinet.ru> Mail-Followup-To: Alex Semenyaka , Brooks Davis , Peter Pentchev , freebsd-net@freebsd.org References: <20040520162919.GA1971@straylight.m.ringlet.net> <20040520171833.GA22494@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040520171833.GA22494@Odin.AC.HMC.Edu> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: Peter Pentchev Subject: Re: [RFC] ifconfig: match by link-level address 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: Fri, 21 May 2004 13:36:16 -0000 On Thu, May 20, 2004 at 10:18:38AM -0700, Brooks Davis wrote: >> This could be the first step towards teaching rc.conf about something like >> network_interfaces_rename="hw-00:03:0d:08:dc:a7 sis0int" > I don't really like the idea of adding magic values to the interface > namespace that only work with ifconfig. If you want ifconfig to match I agree, but there is another option: make such things not ifconfig-specific. I mean that it could be done though renaming the interface into the some lladdr-dependent name with fixed format. For example, ifconfig fxp0 llname will rename fxp0 into hw-00-90-27-35-ca-0c. As far as we know the format and MAC-address we could then do ifconfig hw-00-90-27-35-ca-0c name pppoeint This could be implemented easely right now and then automated though /etc/rc* Actually the discussing feature is long time expected one, so it would be nice to have it implemented finally :) Sincerely, Alex Semenyaka