Thread (23 messages) flat view 23 messages, 12 authors, 2012-01-16

RE: [PATCH] pch_gbe: Use a randomly generated MAC instead of failing probe

From: David Laight <hidden>
Date: 2012-01-16 16:20:52
Also in: lkml

 
the tricky thing with embedded hw like this is that all devices might
end up with the same, read-only filesystem, so storing the 
mac on the FS
and then loading it from there into the HW is... suboptimal.

Would be very nice if busybox had a command that would check the mac
from each IF, and created the random mac from userspace 
automatically...
Since multiple interfaces on a single system are unlikely
to be connected to the same LAN segment, it doesn't really
matter if they use same MAC address.

For a long time sun solaris systems used the same MAC
address (based on the system id) on all their ethernet
interfaces.

But yes, you don't want a 'random' number generator that
might give the same value for cloned systems.
You also really want a 'manufacturer id' for 'random address'
so that they can't collide with anuything using real addresses.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help