[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] several uml, bridge, tuntap, several tapX, eth
From:       Jason Lunz <lunz () falooley ! org>
Date:       2005-08-22 21:41:35
Message-ID: dedgqf$nil$1 () sea ! gmane ! org
[Download RAW message or body]

blaisorblade@yahoo.it 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic