From: Keir Fraser Subject: Re: nat does not work with hvm Date: Sat, 14 Apr 2007 10:37:39 +0100 Message-ID: References: <46207388.4090406@ttnet.net.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46207388.4090406@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:24, "Erdem Bayer" wrote: > ------------------------------------- > #ifconfig $1 0.0.0.0 up > #brctl addif $2 $1 > ------------------------------------- > I have also try commenting only the second line from the script. Still > no luck. In that case an interface named tap is created also. If you comment out those two lines and don't provide an alternative then the network backend interface will not even be brought up. It's then no surprise that no traffic can get to or from your HVM guest. If you want to route traffic rather than bridging it then you need to add commands to set up a route to your VM. And you almost certainly want to keep the first line that you commented out. That's the one that actually brings the interface online. If routing you'll want to put an actual IP address rather than 0.0.0.0. I don't think an IP address can currently be specified to that script, by the way. At least not directly. -- Keir