Desired behaviour of "ifconfig -alias"
brooks at freebsd.org
Tue Feb 13 02:24:01 UTC 2007
On Tue, Feb 13, 2007 at 02:37:53AM +0100, 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.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070213/b2b52593/attachment.pgp
More information about the freebsd-stable