[EMAIL PROTECTED] said:
> If your distro, instead of doing:
> ifconfig eth0 up
> ifconfig eth0 <address>, does
> ifconfig eth0 <address>, then UML will decide the Mac address based on the IP 
> address (will be FE:FD:<ip address in hex, maybe reversed>).

Has any thought been given to just choosing a random mac? I haven't
looked closely, but it seems like that's what the tuntap driver does on
the host. You'd just need to make sure you don't end up with a broadcast
mac or something. And if you want to make sure not to conflict with
"official" mac addresses on real hardware, you could have it set the
Locally Administered bit:
http://standards.ieee.org/regauth/groupmac/tutorial.html 

It would seem that just assigning a mostly-random 48 bits would be less
likely to cause trouble than the current fe:fd:00:00:00:00 scheme, which
bites people now and then.

Jason



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to