WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] BUG: [?] host-only networking under HVM is broken with c

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] BUG: [?] host-only networking under HVM is broken with custom script
From: "Ray Barnes" <tical.net@xxxxxxxxx>
Date: Mon, 2 Jun 2008 05:12:49 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Jun 2008 02:13:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fTdZcGAGPLx/T16ghcXgo6gXvy6w/t13ttL/inbXkS4=; b=ZAch95lUn9NVgNJPkvx2VA+FW+/jaaFcNy6DeUS1ReNpuRJFTyXs8Z3VD8uTRcUHF7CpLVhZcGXGwjiXotHmGP828nuLSURHfWMO4ll6ToX/hrMek7j558/Z+TYtP24whWyycOS4fa9NLXoI29wE7OEVy4DTU/Ep5lBiQTZY8ag=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t/kyaJoHTGFPe40PjsdbMdwr0bVkhrT2uNobxPuovB6kaAQqm7S+wzYqAgr451WoPn2DasHkgC5gR+fanVxcXA9Vk2nMT2sftnskuAmirnmX8i4vFSNlRmjYKIUWokREy7MpBi1Vatrc4HyZBzP7Rt7Lb6WieRJFoClaFv9kdf8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C4696901.19513%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <afa5bb590806020046s4c7f389sae55ba084dfea657@xxxxxxxxxxxxxx> <C4696901.19513%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Jun 2, 2008 at 4:08 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:

> Couldn't you route directly to the vif, and get rid of the bridges entirely?

I could - but it would be a worse hack (IMO).  I just ran a few tests
and surprisingly, routed vifs work, however the IP for the VIF must be
set in qemu-ifup and not in the custom vif script.  Forgive my
ignorance of what goes on "behind the curtain" but it seems to me that
not being able to override qemu-ifup (i.e. specifying a script to be
run instead of qemu-ifup) is the hangup here.  So the only way I could
use straight VIFs with no bridge is if I put a bunch of 'case'
statements for each vif/IP in qemu-ifup which will break my
provisioning model a bit; it would be easier to use bridges with the
aforementioned hack.  Should this be revisited in development or am I
way off base here?

-Ray

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel