Hi, I''m new to XEN and have the following Problem: If I shutdown my domU the network of the dom0 leaks. A ping from another server to my xen dom0 shows a Packetloss > 80%. Then if I restart the domU after some seconds the ping show a loss from 0%. I retryed that 3 times but it is really hard to go to the dom0 via ssh and recreate the domU if the packetloss is that high. I used google to search for that Problem, but couldn''t find a really matching result. Probably its a mistakte in the xen configuration, or a bug in my xen version. I use a debian lenny dom0 with a debian lenny dom0. The Network setup is brige. There are two domU on the system. My dom0 is Kernel initrd.img-2.6.26-2-xen-amd64. I installed xen via aptitude and my network/interfaces looks like: # device: eth0 auto eth0 iface eth0 inet static address 178.63.95.204 broadcast 178.63.95.255 netmask 255.255.255.192 gateway 178.63.95.193 # post-up /sbin/ifconfig eth0 inet6 add 2a01:4f8:121:4302:0:0:0:1/64 # pre-down /sbin/ifconfig eth0 inet6 del 2a01:4f8:121:4302:0:0:0:1/64 # default route to access subnet # up route add -net 178.63.95.192 netmask 255.255.255.192 gw 178.63.95.193 eth0 up route add -host 178.63.95.230 gw 178.63.95.230 up route add -host 178.63.95.233 gw 178.63.95.233 up route add -host 178.63.95.232 gw 178.63.95.232 xm info: serv01:~# xm info host : serv01.xxx.de release : 2.6.26-2-xen-amd64 version : #1 SMP Tue Aug 31 11:17:26 UTC 2010 machine : x86_64 nr_cpus : 8 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 2673 hw_caps : bfebfbff:28100800:00000000:00000140:0098e3bd:00000000:00000001 total_memory : 8183 free_memory : 3440 node_to_cpu : node0:0-7 xen_major : 3 xen_minor : 2 xen_extra : -1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.3.1 (Debian 4.3.1-2) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Sat Jun 28 09:32:18 UTC 2008 xend_config_format : 4 Had someone else that Problem, too? Do you need more information? Thank you in advance. -- Regards Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am trying to set up Xen on SLES 10 SP3 I installed SLES without problems. Everything worked and I had normal network access. After that, I installed Xen and tools from Yast2 Everything installed normally. However, when I restart the system with Xen, I lose all network connectivity. Everything in the logs show the interfaces as loading normally (logs, Dmesg, ifconfig etc) All the interfaces seem to come up, but DHCP gets no address and there is no connectivity. I can set a static IP, the interface loads normally, I can ping it''s IP address locally without error, but I cannot ping anything on the network. Which tells me the interface actually DOES come up... but it just cannot connect for some reason. If I restart on the "normal" kernel without Xen... everything comes back to normal with the network working properly. I reboot under Xen... no network. I tried following instructions on how to set up a bounded interface. Same thing... works on normal kernel, no access under Xen. What am I missing??? I''m getting pretty frustrated... please help. Thanks. -- Patrick Lefebvre thepcguy@veryspeedy.net -- http://www.fastmail.fm - Accessible with your email software or over the web _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Patrick, Are you using the traditional network interface or the network manager? In my experience It will make a difference; leave it as traditional. I set my system up using the "traditional" method and it works great. Regards, Brent>>> "Patrick Lefebvre" 12/15/10 1:06 PM >>>I am trying to set up Xen on SLES 10 SP3 I installed SLES without problems. Everything worked and I had normal network access. After that, I installed Xen and tools from Yast2 Everything installed normally. However, when I restart the system with Xen, I lose all network connectivity. Everything in the logs show the interfaces as loading normally (logs, Dmesg, ifconfig etc) All the interfaces seem to come up, but DHCP gets no address and there is no connectivity. I can set a static IP, the interface loads normally, I can ping it''s IP address locally without error, but I cannot ping anything on the network. Which tells me the interface actually DOES come up... but it just cannot connect for some reason. If I restart on the "normal" kernel without Xen... everything comes back to normal with the network working properly. I reboot under Xen... no network. I tried following instructions on how to set up a bounded interface. Same thing... works on normal kernel, no access under Xen. What am I missing??? I''m getting pretty frustrated... please help. Thanks. -- Patrick Lefebvre thepcguy@veryspeedy.net -- http://www.fastmail.fm - Accessible with your email software or over the web _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I left the traditional interface. In fact I don''t even have the network manager installed. On Wed, 15 Dec 2010 13:30 -0500, "Brent Alcorn" <Brent.Alcorn@envizonx.com> wrote:> Hi Patrick, > > Are you using the traditional network interface or the network manager? > In my experience It will make a difference; leave it as traditional. > > I set my system up using the "traditional" method and it works great. > > Regards, > Brent > > > > >>> "Patrick Lefebvre" 12/15/10 1:06 PM >>> > I am trying to set up Xen on SLES 10 SP3 > I installed SLES without problems. Everything worked and I had normal > network access. > > After that, I installed Xen and tools from Yast2 > Everything installed normally. > > However, when I restart the system with Xen, I lose all network > connectivity. > Everything in the logs show the interfaces as loading normally (logs, > Dmesg, ifconfig etc) > All the interfaces seem to come up, but DHCP gets no address and there > is no connectivity. > I can set a static IP, the interface loads normally, I can ping it''s IP > address locally without error, but I cannot ping anything on the > network. > Which tells me the interface actually DOES come up... but it just cannot > connect for some reason. > > If I restart on the "normal" kernel without Xen... everything comes back > to normal with the network working properly. > I reboot under Xen... no network. > > I tried following instructions on how to set up a bounded interface. > Same thing... works on normal kernel, no access under Xen. > > What am I missing??? > I''m getting pretty frustrated... > please help. > Thanks. > -- > Patrick Lefebvre > thepcguy@veryspeedy.net > > -- > http://www.fastmail.fm - Accessible with your email software > or over the web > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Patrick Lefebvre thepcguy@veryspeedy.net -- http://www.fastmail.fm - Choose from over 50 domains or use your own _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bond0? do you have more than one nic? I am using only one nic so I am not using bonding and therefore do not have bond0. I believe there are some articles on the Novell site on setting up bonding of nics in Xen.>>> "Patrick Lefebvre" 12/15/10 3:30 PM >>>Yes, ifconfig shows all the interfaces. bond0 Eth0 io peth0 All up and running. If I manually assign an IP address to them, they also show up in ifconfig. brctl show says that eth0 is bridged to peth0 On Wed, 15 Dec 2010 15:22 -0500, "Brent Alcorn" wrote:> It shouldn''t but I vaguely remember some issue with that, but, I''m not > sure. > > Once booted in Xen can you verify that the bridge script worked and you > have an eth0 and a peth0? and "brctl show" cmd shows that it is bridged? > > I believe I had to delete the xen network interface and re-add it at one > point. But that was over a year ago so I don''t recall exactly and I was > messing with opensuse at the time too. > > > > > >>> "Patrick Lefebvre" 12/15/10 2:54 PM >>> > Would that change when switching from booting into Xen to booting into > normal modes? > > > On Wed, 15 Dec 2010 14:45 -0500, "Brent Alcorn" > wrote: > > Is the default gateway set for eth0? I seem to remember that doesn''t > > stick sometimes when entered via Yast. > > > > > > >>> "Patrick Lefebvre" 12/15/10 1:56 PM >>> > > I left the traditional interface. In fact I don''t even have the network > > manager installed. > > > > > > > > On Wed, 15 Dec 2010 13:30 -0500, "Brent Alcorn" > > wrote: > > > Hi Patrick, > > > > > > Are you using the traditional network interface or the network manager? > > > In my experience It will make a difference; leave it as traditional. > > > > > > I set my system up using the "traditional" method and it works great. > > > > > > Regards, > > > Brent > > > > > > > > > > > > >>> "Patrick Lefebvre" 12/15/10 1:06 PM >>> > > > I am trying to set up Xen on SLES 10 SP3 > > > I installed SLES without problems. Everything worked and I had normal > > > network access. > > > > > > After that, I installed Xen and tools from Yast2 > > > Everything installed normally. > > > > > > However, when I restart the system with Xen, I lose all network > > > connectivity. > > > Everything in the logs show the interfaces as loading normally (logs, > > > Dmesg, ifconfig etc) > > > All the interfaces seem to come up, but DHCP gets no address and there > > > is no connectivity. > > > I can set a static IP, the interface loads normally, I can ping it''s IP > > > address locally without error, but I cannot ping anything on the > > > network. > > > Which tells me the interface actually DOES come up... but it just cannot > > > connect for some reason. > > > > > > If I restart on the "normal" kernel without Xen... everything comes back > > > to normal with the network working properly. > > > I reboot under Xen... no network. > > > > > > I tried following instructions on how to set up a bounded interface. > > > Same thing... works on normal kernel, no access under Xen. > > > > > > What am I missing??? > > > I''m getting pretty frustrated... > > > please help. > > > Thanks. > > > -- > > > Patrick Lefebvre > > > thepcguy@veryspeedy.net > > > > > > -- > > > http://www.fastmail.fm - Accessible with your email software > > > or over the web > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > -- > > Patrick Lefebvre > > thepcguy@veryspeedy.net > > > > -- > > http://www.fastmail.fm - Choose from over 50 domains or use your own > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > -- > Patrick Lefebvre > thepcguy@veryspeedy.net > > -- > http://www.fastmail.fm - Faster than the air-speed velocity of an > unladen european swallow > >-- Patrick Lefebvre thepcguy@veryspeedy.net -- http://www.fastmail.fm - Send your email first class _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes that does sound suspicious. If you only have one nic I would remove the bonding just in case that is adding to the problem. I would stop xend from automatically starting on the next reboot. -reboot, - check that the network works. If it doesn''t then in Yast or manually configure the nic so it will. if it does then - issue the network-script (whatever the name is I don''t remember off hand) command manually and check the output. ( redirect to a file so you can post it here) - ifconfig > ifconfig.txt - brctrl show > bridge.txt - route -nee > route.txt You many want to disable the firewall temporally as well. -brent>>> "Patrick Lefebvre" <thepcguy@veryspeedy.net> 12/15/2010 4:45 PM >>>I followed that. It doesn''t seem to matter. With or without bonding, it doesn''t seem to make a difference. I get a plain vanilla setup of one eth0 working in "normal" mode, and nothing in Xen mode. I did just find something in the messages log about No configuration found for tmpbridge Which may be indicative of a bug needing an update. On Wed, 15 Dec 2010 16:21 -0500, "Brent Alcorn" <Brent.Alcorn@envizonx.com> wrote:> bond0? do you have more than one nic? > > I am using only one nic so I am not using bonding and therefore do not > have bond0. > > I believe there are some articles on the Novell site on setting up > bonding of nics in Xen. > > > > > >>> "Patrick Lefebvre" 12/15/10 3:30 PM >>> > Yes, ifconfig shows all the interfaces. > bond0 > Eth0 > io > peth0 > > All up and running. > If I manually assign an IP address to them, they also show up in > ifconfig. > brctl show says that eth0 is bridged to peth0 > > > > On Wed, 15 Dec 2010 15:22 -0500, "Brent Alcorn" > wrote: > > It shouldn''t but I vaguely remember some issue with that, but, I''m not > > sure. > > > > Once booted in Xen can you verify that the bridge script worked and you > > have an eth0 and a peth0? and "brctl show" cmd shows that it is bridged? > > > > I believe I had to delete the xen network interface and re-add it at one > > point. But that was over a year ago so I don''t recall exactly and I was > > messing with opensuse at the time too. > > > > > > > > > > >>> "Patrick Lefebvre" 12/15/10 2:54 PM >>> > > Would that change when switching from booting into Xen to booting into > > normal modes? > > > > > > On Wed, 15 Dec 2010 14:45 -0500, "Brent Alcorn" > > wrote: > > > Is the default gateway set for eth0? I seem to remember that doesn''t > > > stick sometimes when entered via Yast. > > > > > > > > > >>> "Patrick Lefebvre" 12/15/10 1:56 PM >>> > > > I left the traditional interface. In fact I don''t even have the network > > > manager installed. > > > > > > > > > > > > On Wed, 15 Dec 2010 13:30 -0500, "Brent Alcorn" > > > wrote: > > > > Hi Patrick, > > > > > > > > Are you using the traditional network interface or the network manager? > > > > In my experience It will make a difference; leave it as traditional. > > > > > > > > I set my system up using the "traditional" method and it works great. > > > > > > > > Regards, > > > > Brent > > > > > > > > > > > > > > > > >>> "Patrick Lefebvre" 12/15/10 1:06 PM >>> > > > > I am trying to set up Xen on SLES 10 SP3 > > > > I installed SLES without problems. Everything worked and I had normal > > > > network access. > > > > > > > > After that, I installed Xen and tools from Yast2 > > > > Everything installed normally. > > > > > > > > However, when I restart the system with Xen, I lose all network > > > > connectivity. > > > > Everything in the logs show the interfaces as loading normally (logs, > > > > Dmesg, ifconfig etc) > > > > All the interfaces seem to come up, but DHCP gets no address and there > > > > is no connectivity. > > > > I can set a static IP, the interface loads normally, I can ping it''s IP > > > > address locally without error, but I cannot ping anything on the > > > > network. > > > > Which tells me the interface actually DOES come up... but it just cannot > > > > connect for some reason. > > > > > > > > If I restart on the "normal" kernel without Xen... everything comes back > > > > to normal with the network working properly. > > > > I reboot under Xen... no network. > > > > > > > > I tried following instructions on how to set up a bounded interface. > > > > Same thing... works on normal kernel, no access under Xen. > > > > > > > > What am I missing??? > > > > I''m getting pretty frustrated... > > > > please help. > > > > Thanks. > > > > -- > > > > Patrick Lefebvre > > > > thepcguy@veryspeedy.net > > > > > > > > -- > > > > http://www.fastmail.fm - Accessible with your email software > > > > or over the web > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > -- > > > Patrick Lefebvre > > > thepcguy@veryspeedy.net > > > > > > -- > > > http://www.fastmail.fm - Choose from over 50 domains or use your own > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > -- > > Patrick Lefebvre > > thepcguy@veryspeedy.net > > > > -- > > http://www.fastmail.fm - Faster than the air-speed velocity of an > > unladen european swallow > > > > > -- > Patrick Lefebvre > thepcguy@veryspeedy.net > > -- > http://www.fastmail.fm - Send your email first class > >-- Patrick Lefebvre thepcguy@veryspeedy.net -- http://www.fastmail.fm - Email service worth paying for. Try it for free _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users