On 10/12/06, Nic James Ferrier <[EMAIL PROTECTED]> wrote: > > This combines the umid you expect you assign to the instance with the > > hostname of the host. That way, the mac address will be the same each > > time it boots, > > Not if it boots off a different host it won't.
You quoted everything in my message except the part where I essentially say ", unless it's on a different host". Besides, the automatic generation is only for temporary guests. If I intend for a guest to be permanent, I give it a static mac address. > This is a good system but incomplete - how do you ensure that you > don't get duplicates? It's very difficult to know what hw addresses > are on the network (ie: what macs are already taken) because not all > hosts respond to broadcast pings (UMLs don't for example). I am willing to bet against the 1 in 2^24 chance that there is an collision. (On a related note, we all do whenever we buy a new network card. Every time a nic manufacturer makes 16,777,216 cards, they should request a new OUI from the IEEE... but they don't always. Sometimes they just re-use an old OUI from years ago. So not all MAC addresses are globally unique; there's just a statistically tiny chance that the same 2 network cards appear on the same broadcast domain.) Ryan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user