Random MAC addresses?

pygr

New Member

Reaction score: 1
Messages: 13

Hi,

I have a ClearFog Base, which has 3 ethernet interfaces. On every boot, ifconfig shows different (random?) MAC addresses for the 3. If I set a MAC address in u-boot with
Code:
setenv eth1addr 00:50:43:02:02:00
or in the device tree with Mac-address
Code:
mac-address = [00 50 43 02 02 00]
, it doesn't make any difference. The MAC address after booting into the OS still seems to be random.

What's up with that?

pygr
 

oOiOo

Member

Reaction score: 1
Messages: 21

Hello,
There is an thread about this in the ARM mailing list about the reason why. But you can have a persistent MAC address by specify it in rc.conf. Eg.
Code:
ifconfig_xxx0="DHCP ether aa:bb:cc:dd:ee:ff"
Regards
 
OP
OP
P

pygr

New Member

Reaction score: 1
Messages: 13

Hi oOiOo,

Could you provide a link to the thread?

pygr
 
Top