From owner-freebsd-stable@FreeBSD.ORG Tue Feb 13 07:44:08 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 E88B316A402 for ; Tue, 13 Feb 2007 07:44:08 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6F45913C494 for ; Tue, 13 Feb 2007 07:44:08 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.13.8/8.13.1) with ESMTP id l1D7hsVQ015367; Tue, 13 Feb 2007 05:43:54 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Tue, 13 Feb 2007 05:44:58 -0300 User-Agent: KMail/1.9.4 References: <20070212163652.GA51709@lor.one-eyed-alien.net> <200702121918.54648.joao@matik.com.br> <20070213023753.5a8fdb7c@loki.starkstrom.lan> In-Reply-To: <20070213023753.5a8fdb7c@loki.starkstrom.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702130544.58242.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on msrv.matik.com.br X-Virus-Status: Clean Cc: Joerg Pernfuss 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 07:44:09 -0000 On Monday 12 February 2007 22:37, Joerg Pernfuss wrote: > On Mon, 12 Feb 2007 19:18:54 -0300 > > JoaoBR wrote: > > I believe the problem here is that > > > > ifconfig_nic=3D"inet IP" > > ifconfig_nic=3D"ether MAC" > > > > does not work on one line and does not work on two either, the latter > > overrides and or you get an IP address with original MAC or you get a > > new MAC without IP. > > 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. > > Joerg if I am remembering well dhcp things you can put into dhclient.conf as interface "nic" { media "ssid SSID nwkey KEY"; } or so to be set before sending the dhcp request. but this is different but ok and is not related to the -alias thing.=20 =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br