Jeff Dike <[EMAIL PROTECTED]> writes: > On Sun, Apr 09, 2006 at 01:54:58PM +0100, Nic wrote: >> But I have found a solution that satisfies all my constraints and I >> thought I'd note it here (shall I put it on the wiki as well?) > > The wiki is a fine place for things like this. > >> dhcp client's can send a dhcp-client-identifier with their request and >> the dhcp server can use that to hand out addresses instead of the >> hardware address. > > This works (and I didn't know about this), but it is the moral > equivalent of keeping a registry of MACs and assigning them to UMLs on > the command line.
I don't know about "moral equivalent" (what does that mean?) but it certainly has advantages that the registry approach does not have. One of my constraints was that a particular UML instance can be configured to always recieve the same address. That can obviously be done with a registry. You simply record a particular hardware address against a particular UML instance name. But what happens when that address is no longer required because the UML instance is no longer required? Normally when this happens, I just delete the UML instance. But if I have a registry system for hardware addresses then I have to delete the UML instance AND update the registry. With my dhcp based system I can continue to not worry about what happens to a UML after I don't need it anymore. My system is not like a registry at all - it's more like a system of hashing the UML instance name into the hardware address. But in fact it's much better than that because I don't have to worry about repeat hits. Nic ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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