Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 19:58:06 +0300
From:      Angelin Lalev <>
Subject:   ifconfig seems to not accept inet and ether parameters on one line
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi everyone, 

I'm running FreeBSD 6.2. and I'm trying in short to change the MAC address of my network interface at boot.
So I wrote something like this in my rc.conf file:

ifconfig_xl0="inet netmask ether 00:00:11:11:22:22"

at next boot the interface was not configured at all, so I tried it manually: 

ifconfig xl0 inet netmask ether 00:00:11:11:22:22

and got 

ifconfig:ether:bad value

It works perfectly when I set only inet and only ether addresses. 
How to make It work in rc.conf?

The only info in the net that I could find was non-authoritative and suggested this is a bug?

Want to link to this message? Use this URL: <>