Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 20:23:48 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Joerg Pernfuss <jp@bsdgroup.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Desired behaviour of "ifconfig -alias"
Message-ID:  <20070213022348.GA57543@lor.one-eyed-alien.net>
In-Reply-To: <20070213023753.5a8fdb7c@loki.starkstrom.lan>
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Feb 13, 2007 at 02:37:53AM +0100, Joerg Pernfuss wrote:
> On Mon, 12 Feb 2007 19:18:54 -0300
> JoaoBR <joao@matik.com.br> wrote:
> 
> > I believe the problem here is that
> > 
> > ifconfig_nic="inet IP"
> > ifconfig_nic="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="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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF0SE0XY6L6fI4GtQRAsOdAKCbde9X/vocO22J6bzH2/TyWHUBgQCfROyx
dyiJasJmCRuowmo0jG0ugOs=
=LUu3
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070213022348.GA57543>