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>

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

--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 <joao@matik.com.br> 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--



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