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-users

Re: [Xen-users] vif-route problems

To: Nick Craig-Wood <nick@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] vif-route problems
From: Hugo Mills <hugo-xen@xxxxxxxxxxxxx>
Date: Tue, 28 Nov 2006 16:28:08 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Nov 2006 12:59:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061128160753.GA5813@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20061128125444.GA31114@xxxxxxxxxxxxxxxxxx> <20061128160753.GA5813@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Nov 28, 2006 at 04:07:53PM +0000, Nick Craig-Wood wrote:
> On Tue, Nov 28, 2006 at 12:54:44PM +0000, Hugo Mills wrote:
> >    I've been trying for the last couple of days to get a routed
> > network setup functioning, preliminary to modifying the scripts
> > (simply) to do ip masquerading. I'm running on a Core 2 Duo laptop,
> > with a single (variable) IP address.
[snip]
> > hrm@willow:scripts$ sudo xm create rhel4-base
> > Using config file "/etc/xen/rhel4-base".
> > Error: Device 0 (vif) could not be connected. Backend device not found.
> 
> It is a bug AFAICT
> 
>   http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=584

   In that report, at least the domain starts. In my case, it doesn't.

> >    Configuration for xend is using network-route and vif-route for the
> > relevant scripts. The domU configuration is shown below (mostly a copy
> > of the hvm example configuration).
> 
> You can use the /etc/xen/qemu-ifup script to configure the networking
> which works OK for one hvm domain.
> 
> For multiple hvm domains it gets really messy!

   That's a shame. I'm going to need multiple domains. :(

   Note also that my problem is being triggered _before_ qemu-ifup is
run, so I doubt that putting things in the script is going to help...

> Note that the qemu-ifup script is passed the interface name as $1 and
> the bridge name as $2, so you can set the bridge name different in
> each of your HVM domains, eg
> 
>   vif = [ 'type=ioemu, mac=00:16:3e:17:5e:65, bridge=rhel4' ]
> 
> Then use $2 in qemu-ifup to configure different stuff according to the
> bridge name.
> 
> You could make the bridge name be the IP address too I suppose.

   OK. Noted for later, when I can get to the point of configuring a
running VM.

   Thanks,
   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- "You know,  the British have always been nice to mad people." ---  

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>