From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: [patch, rfc] put IP addresses into xenstore Date: Wed, 21 Dec 2005 17:40:12 +0100 Message-ID: <43A9856C.6050400@suse.de> References: <43A97636.1010202@suse.de> <1859eea1cd33c67209bf221f37b7c0db@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1859eea1cd33c67209bf221f37b7c0db@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > > I would expect most setups will have a central authority assigning IP > addresses to domains, either via DHCP or boot-time IP p'n'p. That would > seem to be a better place to get domain-to-IP binding info from rather > than trusting the domU itself. How do you do that? Assuming there is a dhcp server handing out IP addresses (pretty common these days I think). Is there some way to ask the dhcp server whenever there is a valid lease for a given mac address? Other suggestions to figure the IP address for a given domain? > Unfortunately it's also slightly outside > teh current scope of the dom0 tool stack. But unfortunaly there also seems to be no other standard way, thats why I've tried to simply place the addresses in xenstore ... cheers, Gerd