From: Keir Fraser Subject: Re: nat does not work with hvm Date: Sat, 14 Apr 2007 11:08:59 +0100 Message-ID: References: <46207B15.1070805@ttnet.net.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46207B15.1070805@ttnet.net.tr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Erdem Bayer , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 14/4/07 07:56, "Erdem Bayer" wrote: > But the network-nat script still runs in that case right? Network-nat will run once, when xend is started. It's not run per-vif. > So what should be in the qemu-ifup script? Something a bit like what's in vif-nat, perhaps? That's the script that gets run per-vif for non-hvm domains. > Also should there also be a qemu-ifdown script to undo the changes? Not needed. Everything should tear down automatically when the qemu process dies. -- Keir > I think in the qemu-ifup I should write a rule to switch the vifX.0 > created by the network-nat script and the tap interface created by the > qemu-ifup script? Am I right about this?