Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 02:37:53 +0100
From:      Joerg Pernfuss <jp@bsdgroup.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: Desired behaviour of "ifconfig -alias"
Message-ID:  <20070213023753.5a8fdb7c@loki.starkstrom.lan>
In-Reply-To: <200702121918.54648.joao@matik.com.br>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

	Joerg
-- 
| SPECIAL ADVERTISMENT |    NEW KEY AS OF 02/01/2007 - GET IT     |
+----------------------+------------------------------------------+
| /"\   ASCII ribbon   |  GnuPG Key ID | 6902 3fc0 64c3 a56e a8b4 |
| \ / campaign against |    0xab439348 | c8de d555 c2cd ab43 9348 |
|  X    HTML in email  |        .the next sentence is true.       |
| / \     and news     |     .the previous sentence was a lie.    |



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