From owner-freebsd-net@FreeBSD.ORG Sun May 23 16:38:08 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 B011B16A4CE for ; Sun, 23 May 2004 16:38:08 -0700 (PDT) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FC4B43D39 for ; Sun, 23 May 2004 16:38:08 -0700 (PDT) (envelope-from louie@transsys.com) Received: from whizzo.transsys.com (localhost [127.0.0.1]) by whizzo.transsys.com (Postfix) with ESMTP id 219F720FC5; Sun, 23 May 2004 19:37:37 -0400 (EDT) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Alex Semenyaka Organization: Serendipity Scheduling & Management X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" References: <20040520162919.GA1971@straylight.m.ringlet.net> <20040520171833.GA22494@Odin.AC.HMC.Edu> <20040521133530.GA1403@qqmore.rinet.ru> In-reply-to: Your message of "Fri, 21 May 2004 17:35:30 +0400." <20040521133530.GA1403@qqmore.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 May 2004 19:37:37 -0400 Sender: louie@transsys.com Message-Id: <20040523233737.219F720FC5@whizzo.transsys.com> 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: Sun, 23 May 2004 23:38:08 -0000 This is all pretty interesting, though it seems like you'd only need to cobble together a shell script to do what you're after. The ifconfig command seems happy to tell you the MAC address of a specified interface.. It seems like an already present prototyping environment for this type of configuration is at hand. louie > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"