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." ---
signature.asc
Description: Digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|