From owner-freebsd-sparc64@FreeBSD.ORG Tue Apr 6 11:03:03 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EFFE16A4CE for ; Tue, 6 Apr 2004 11:03:03 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F423243D48 for ; Tue, 6 Apr 2004 11:03:02 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 4693A72DF0; Tue, 6 Apr 2004 11:02:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 4410F72DCA; Tue, 6 Apr 2004 11:02:03 -0700 (PDT) Date: Tue, 6 Apr 2004 11:02:03 -0700 (PDT) From: Doug White To: "Gill, James" In-Reply-To: Message-ID: <20040406105715.L89264@carver.gumbysoft.com> References: <20040330220609.GB22027@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Ken Smith cc: freebsd-sparc64@freebsd.org Subject: Re: local-mac-address X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 18:03:03 -0000 On Mon, 5 Apr 2004, Gill, James wrote: > Yes, it does. Setting this in /etc/rc.conf does configure this MAC > address on this interface: > > ifconfig_hme1="ether 0a:0:20:00:fe:1" > > but, unfortunately, I also need these interfaces to get addressed via > DHCP. I can't put both into one ifconfig statement either on the command > line nor in /etc/rc.conf ... If that is possible, my question is "how?" There's two ways of doing this. 1. dhclient's config file allows you to put in ifconfig commands for, say, setting the media type. That could be abused to set the mac address. 2. Netstart will execute the script /etc/start_if.foo0 in preference to an ifconfig_foo0 rc.conf line. Use that to set the address and call dhclient manually. > If that is not, my question is again .. where would the _best_ place to > set this be? I'm going to be doing this in at least a few instances and > I'm not going to be the only admin to play with this, so I want to put it > in the most obvious place (which might be a separate script somewhere and > a comment in /etc/rc.conf, eh?) > > THanks, > > --gill > > > ----------------------------------------------------- > MCI/UUNET Network Security & Abuse * 1-800-900-0241,4 > ----------------------------------------------------- > v-net: desk = 806-3834 ; group = 806-8805 > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org