From: Mark Williamson Subject: Re: Cloning(making copies) of VMs Date: Wed, 9 Nov 2005 13:10:33 +0000 Message-ID: <200511091310.34169.mark.williamson@cl.cam.ac.uk> References: <83c5685b0511072225u40ba05c9t121ea92c942286a1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jacob Gorm Hansen , sowmya dayanand List-Id: xen-devel@lists.xenproject.org > The problem is that while you are probably sucessful in telling the > host environment (xen + linux in domain0) that your cloned VM has IP > 10.10.10.2, the Linux inside VM2 does not know that it is supposed to > answer the new IP rather than 10.10.10.1, and will just silently drop > all traffic on 10.10.10.2. It would probably be quite simple (and > useful, see the Potemkin paper for instance) to have your domain > answer any incoming IP, or to rewrite all ingoing and outgoing packets > with a generic address, but you will need to hack either your guest > Linux or the networking scripts in dom0 to make that happen. I guess it might be nice (eventually) to have a set of "Xen guest tools", including a hotplug script that gets run on restore, enabling this sort of thing to be configured. The domain would be told about the new IP using xenstore. Of course, this doesn't solve the immediate problem of making it work without hacking the code ;-) Cheers, Mark