[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] New to xen, difficulty getting network going



I'm running Xen on Etch.  I needed to do the following...

1) Uncomment the following line in /etc/xen/xend-config.sxp  ...

(vif-script vif-bridge)

2) In the DomU config file ensure you have the following...

vif = ['bridge=xenbr0']

Simon

Frank Van Damme wrote:
On 12/20/06, Andrew McGregor <andy@xxxxxxxx> wrote:
Frank Van Damme wrote:
> Hello,
>
> I am future-proofing myself and learning the ways of Xen. I spent
> roughly a working day reading documentation and setting up a test
> system and got as far as being able to boot Mandriva 2006 as domU with
> Debian Etch as Dom0.
>
> However, networking is still a little difficult. I can't get the
> network in domU to work. I ploughed through XenNetworking on the
> xensource wiki, which states that Xen should automatically connect
> vifN.X to ethX in domN. I use:
>
> vif=['mac=']
>
> in my config file. The error I get when I do "xm create -c
> mandriva2006" is:
>
> Error: Device 0 (vif) could not be connected. Backend device not found.
>
> My dom0 has the normal lo and eth0 interfaces...
>



I used to get this .. from memory there are some networking scripts
under /etc and one of those had to be started/restarted.  You might then
run into further problems with Etch, someone recently posted a 4 step
plan to working with Etch, but using Xen from unstable.  So long as you
remember the final step of copying kernel modules to the DomU it works
very well!

Searched for that 4-step plan but did not find it. My problem may be
related to the fact that Debian does not run the bridging scripts by
default when starting xend. So I'm going to enable that and see what
it says. Also, I'll read those scripts. I suspect that there's a lot
to be learned from them.

Thank you!


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.