He folks, I''ve been working on this problem for quite some time now - it is related to my unanswered question about whether or not I need a functioning NIC in my domU VM in order to use an iSCSI disk. Short answer - I think so. So I''ve done a considerable amount of googling and reading the last 2 days, and finally figured out how to configure dom0 xen for 2 NICs. For the longest time I was not seeing what I was expecting to see doing ''ifconfig'' on dom0. Now I see : eth0, eth1, lo, peth0, peth1, vif0.0, vif0.1, vifX.0, vifX.1, xenbr0, xenbr1 And I have confirmed with a CentOS 5.8 domU that the NICs are working. But damned if I can get them working under Ubuntu 11.10. And more googling is not getting me an answer. Does someone have a quick link at-hand to help me out here? This does not help - it assumes the NICs are there : https://help.ubuntu.com/community/Xen#Network_for_DomU I do "lshw | grep -i eth" and get nothing. thanks, -Alan
Hi Alan, What does ''ifconfig -a'' say in your Ubuntu domU? And what is your network configuration for your domU? If you use NAT network for your domU, I think you need to configure your network in your Ubuntu by manual. On Thursday, April 12, 2012, Alan McKay wrote:> He folks, > > I''ve been working on this problem for quite some time now - it is > related to my unanswered question about whether or not I need a > functioning NIC in my domU VM in order to use an iSCSI disk. Short > answer - I think so. > > So I''ve done a considerable amount of googling and reading the last 2 > days, and finally figured out how to configure dom0 xen for 2 NICs. > For the longest time I was not seeing what I was expecting to see > doing ''ifconfig'' on dom0. Now I see : > > eth0, eth1, lo, peth0, peth1, vif0.0, vif0.1, vifX.0, vifX.1, xenbr0, > xenbr1 > > And I have confirmed with a CentOS 5.8 domU that the NICs are working. > > But damned if I can get them working under Ubuntu 11.10. And more > googling is not getting me an answer. > > Does someone have a quick link at-hand to help me out here? > > This does not help - it assumes the NICs are there : > https://help.ubuntu.com/community/Xen#Network_for_DomU > > I do "lshw | grep -i eth" and get nothing. > > thanks, > -Alan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org <javascript:;> > http://lists.xen.org/xen-users >-- Regards, David Shen http://about.me/davidshen https://twitter.com/#!/davidshen84 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Jean-Paul Pozzi
2012-Apr-12 08:17 UTC
Re : No NICs with Ubuntu 11.10 in domU and RHEL5.7 dom0
Hello, What is thé content of /etc/network/interface in thé Ubuntu VM ? Regards --- Mail d'origine ----- De: Alan McKay <alan.mckay+xen@gmail.com> À: xen-users@lists.xen.org Envoyé: Wed, 11 Apr 2012 22:48:40 +0200 (CEST) Objet: [Xen-users] No NICs with Ubuntu 11.10 in domU and RHEL5.7 dom0 He folks, I've been working on this problem for quite some time now - it is related to my unanswered question about whether or not I need a functioning NIC in my domU VM in order to use an iSCSI disk. Short answer - I think so. So I've done a considerable amount of googling and reading the last 2 days, and finally figured out how to configure dom0 xen for 2 NICs. For the longest time I was not seeing what I was expecting to see doing 'ifconfig' on dom0. Now I see : eth0, eth1, lo, peth0, peth1, vif0.0, vif0.1, vifX.0, vifX.1, xenbr0, xenbr1 And I have confirmed with a CentOS 5.8 domU that the NICs are working. But damned if I can get them working under Ubuntu 11.10. And more googling is not getting me an answer. Does someone have a quick link at-hand to help me out here? This does not help - it assumes the NICs are there : https://help.ubuntu.com/community/Xen#Network_for_DomU I do "lshw | grep -i eth" and get nothing. thanks, -Alan _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Thu, Apr 12, 2012 at 12:10 AM, Xi Shen <davidshen84@gmail.com> wrote:> Hi Alan, > > What does ''ifconfig -a'' say in your Ubuntu domU? And what is your network > configuration for your domU? If you use NAT network for your domU, I think > you need to configure your network in your Ubuntu by manual.ifconfig -a just gives me my loopback I should also mention that during the install of Ubuntu 11.10 server I get this error : Error while running ''modprobe -v xenbus_probe_frontend'' and then a few steps later it tells me that no network hardware was detected. So I go back and try a manual detection and nothing. And I did try manual config but that does not do anything (given there really does not appear to be HW there)
On Thu, Apr 12, 2012 at 12:10 AM, Xi Shen <davidshen84@gmail.com> wrote:> And what is your network configuration for your domU?I forgot to answer this - when creating the VM with virt-manager I added both of the peth0 and peth1 And as I mentioned I did the exact same thing but with Centos5.8 in the domU and the NICs work fine.
Damn, it is an Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857662
On Thu, Apr 12, 2012 at 9:43 AM, Alan McKay <alan.mckay+xen@gmail.com> wrote:> Damn, it is an Ubuntu bug > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857662So I downloaded the 12.04 beta2 and it has detected my NICs!