Changing the MAC address on a LAN adapter

Da Rock freebsd-questions at herveybayaustralia.com.au
Mon Jan 24 23:06:09 UTC 2011


On 01/25/11 04:44, Fred wrote:
> Da Rock wrote:
>> On 01/25/11 01:14, Paul B Mahol wrote:
>>> On Sun, Jan 23, 2011 at 3:47 PM, John R. Levine<johnl at iecc.com>  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.
>>
>> HTH
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>
>>
> Ethernet MAC addresses are assigned by the manufacturer of the 
> equipment.  Each unit gets a unique address which generally can't be 
> changed and shouldn't be changed.  The manufacturer buys a block of 
> addresses from the IEEE.
>
> Best regards,
> Fred
Yes, but for lagg to work both adapters need the same MAC- otherwise 
routing wouldn't work properly (long story short).

BTW, my wifi is iwn and I have had no trouble.


More information about the freebsd-questions mailing list