From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 12:07:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE2D416A4D0 for ; Sat, 15 Nov 2003 12:07:48 -0800 (PST) Received: from fafoe.narf.at (chello212186121237.14.vie.surfer.at [212.186.121.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFB6543FB1 for ; Sat, 15 Nov 2003 12:07:47 -0800 (PST) (envelope-from stefan@fafoe.narf.at) Received: from wombat.fafoe.narf.at (wombat.fafoe.narf.at [192.168.1.42]) by fafoe.narf.at (Postfix) with ESMTP id CB01A3FA8; Sat, 15 Nov 2003 21:07:44 +0100 (CET) Received: by wombat.fafoe.narf.at (Postfix, from userid 1001) id A8CF61BC; Sat, 15 Nov 2003 21:07:44 +0100 (CET) Date: Sat, 15 Nov 2003 21:07:44 +0100 From: Stefan Farfeleder To: Lars Eggert Message-ID: <20031115200743.GD1023@wombat.fafoe.narf.at> Mail-Followup-To: Lars Eggert , current References: <3FB6846C.7000508@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FB6846C.7000508@isi.edu> User-Agent: Mutt/1.5.4i cc: current Subject: Re: ifconfig bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 20:07:48 -0000 On Sat, Nov 15, 2003 at 11:54:20AM -0800, Lars Eggert wrote: > shouldn't this work? > > # ifconfig em0 inet 128.9.168.58 netmask 255.255.240.0 \ > ether 00:07:e9:0a:26:52 > ifconfig: ether: bad value > > This is with today's -current, but this may have been around longer - I > hadn't tried it before today. Using two commands to set MAC and IP > addresses works fine, but it needs to be one command for rc.conf. ifconfig accepts only one value for the address family per invocation, you can't mix "inet" and "ether". Cheers, Stefan