Frank Van Damme
2006-Dec-20 14:51 UTC
[Xen-users] New to xen, difficulty getting network going
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... -- Frank Van Damme "All PCs are compatible. But some of them are more compatible than others." [Onbekend] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew McGregor
2006-Dec-20 15:01 UTC
Re: [Xen-users] New to xen, difficulty getting network going
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! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Frank Van Damme
2006-Dec-21 20:59 UTC
Re: [Xen-users] New to xen, difficulty getting network going
On 12/20/06, Andrew McGregor <andy@txm.mobi> 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! -- Frank Van Damme "All PCs are compatible. But some of them are more compatible than others." [Onbekend] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Capstick
2006-Dec-22 13:16 UTC
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@txm.mobi> 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@lists.xensource.com http://lists.xensource.com/xen-users
Andrew McGregor
2006-Dec-22 13:32 UTC
Xen + Etch in 3 steps .. [WAS: Re: [Xen-users] New to xen, difficulty getting network going]
http://lists.xensource.com/archives/html/xen-users/2006-12/msg00142.html If networking is the only problem then try Simon''s method. If you also have problems running multiple DomU''s and disabling hyperthreading doesn''t work then the above solved both issues for me for me.> Frank Van Damme wrote: >> On 12/20/06, Andrew McGregor <andy@txm.mobi> 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. >>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Dec-22 19:32 UTC
Re: [Xen-users] New to xen, difficulty getting network going
On 12/20/06, Frank Van Damme <frank.vandamme@gmail.com> wrote:> [...] > 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:How does you xend config look like? AFAIK in etch the network scripts (not only the vif-script but also the network-script are dummy scripts. This could be because then somebody installing xen doesn''t break his existing network setup - but he needs to understand some of the workings of xen to get it going. (which is an interesting point) Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users