Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 05:44:58 -0300
From:      JoaoBR <joao@matik.com.br>
To:        freebsd-stable@freebsd.org
Cc:        Joerg Pernfuss <jp@bsdgroup.de>
Subject:   Re: Desired behaviour of "ifconfig -alias"
Message-ID:  <200702130544.58242.joao@matik.com.br>
In-Reply-To: <20070213023753.5a8fdb7c@loki.starkstrom.lan>
References:  <20070212163652.GA51709@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
On Monday 12 February 2007 22:37, 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=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



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