Desired behaviour of "ifconfig -alias"

Brooks Davis brooks at
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> 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.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list