From owner-freebsd-stable@FreeBSD.ORG Tue Feb 13 02:24:01 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BFCE16A401 for ; Tue, 13 Feb 2007 02:24:01 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 3C60713C471 for ; Tue, 13 Feb 2007 02:24:01 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l1D2Nngj058489; Mon, 12 Feb 2007 20:23:49 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l1D2NnFk058488; Mon, 12 Feb 2007 20:23:49 -0600 (CST) (envelope-from brooks) Date: Mon, 12 Feb 2007 20:23:48 -0600 From: Brooks Davis To: Joerg Pernfuss Message-ID: <20070213022348.GA57543@lor.one-eyed-alien.net> References: <20070212163652.GA51709@lor.one-eyed-alien.net> <20070212190739.GA42702@icarus.home.lan> <20070212192736.GB53587@lor.one-eyed-alien.net> <200702121918.54648.joao@matik.com.br> <20070213023753.5a8fdb7c@loki.starkstrom.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20070213023753.5a8fdb7c@loki.starkstrom.lan> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 12 Feb 2007 20:23:49 -0600 (CST) Cc: freebsd-stable@freebsd.org Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 02:24:01 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2007 at 02:37:53AM +0100, Joerg Pernfuss wrote: > On Mon, 12 Feb 2007 19:18:54 -0300 > JoaoBR wrote: >=20 > > I believe the problem here is that > >=20 > > ifconfig_nic=3D"inet IP" > > ifconfig_nic=3D"ether MAC" > >=20 > > does not work on one line and does not work on two either, the latter= =20 > > overrides and or you get an IP address with original MAC or you get a > > new MAC without IP. >=20 > Yes, you have to put 'ifconfig nic ether MAC' in /etc/start_if.nic > for this to work afair. Same approach you need to set WEP etc on a > wireless nic if you have ifconfig_nic=3D"DHCP" in your rc.conf. The second is no longer true. DHCP (like WPA) is a magic keywork that tells the system to run DHCP on the interface and is not passwd to ifconfig so the line can contain other things. -- Brooks --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF0SE0XY6L6fI4GtQRAsOdAKCbde9X/vocO22J6bzH2/TyWHUBgQCfROyx dyiJasJmCRuowmo0jG0ugOs= =LUu3 -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--