Desired behaviour of "ifconfig -alias"

JoaoBR joao at matik.com.br
Tue Feb 13 07:44:09 UTC 2007


On Monday 12 February 2007 22:37, Joerg Pernfuss wrote:
> On Mon, 12 Feb 2007 19:18:54 -0300
>
> JoaoBR <joao at 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.
>
> 	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. 

-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br


More information about the freebsd-stable mailing list