Changing the MAC address on a LAN adapter

Da Rock freebsd-questions at
Mon Jan 24 15:40:38 UTC 2011

On 01/25/11 01:14, Paul B Mahol wrote:
> On Sun, Jan 23, 2011 at 3:47 PM, John R. Levine<johnl at>  wrote:
>>>> Is this a known problem?  As far as I know, it's supposed to work.
>>> How you change MAC address? With "ether" command?
>> # ifconfig em0 ether 01:17:a4:8f:04:5d
> Well, if it does not work it can be driver bug.
> In iwn case try to set MAC address of iwn before creating wlan or
> you will need to set same MAC on wlanX and iwn.
Actually I can confirm that. I use lagg for failover, and I remember now 
you have to set the 'real' interface to the MAC of the other lagg 
member, not a 'psuedo-device' or it won't work. Same principle applies here.


More information about the freebsd-questions mailing list