Julian Hagenauer
2006-Jul-28 11:14 UTC
[Xen-users] routed networking: ping yes, tcp-connection no
Hi, routed networking does not work for me now. i can ping the vm and from within the vm, but i can not do any connections. forwarding is 1. dom0 is julian.chaosbringer.de is 192.168.1.3. domU is vm01.chaosbringer.de is 192.168.1.2. I have no firewall etc running. Xenversion is 3.0.2.2 I invoked domU with ''xm create -c /dev/null kernel=/boot/vmlinuz-2.6.16-xenU name=small memory=96 disk=file:/home/julian/vserver/images/wscore.img,hda1,w root=/dev/hda1 ip=192.168.1.3 vif="ip=192.168.1.3"'' This is what tcpdump says: 13:01:02.865864 arp who-has julian.chaosbringer.de tell vm01.chaosbringer.de 13:01:02.865916 arp reply julian.chaosbringer.de is-at fe:ff:ff:ff:ff:ff 13:01:02.867407 IP vm01.chaosbringer.de.2887 > julian.chaosbringer.de.telnet: S 984924181:984924181(0) win 5840 <mss 1460,sackOK,timestamp 4294944213 0,nop,wscale 2> 13:01:02.867517 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: S 1048558836:1048558836(0) ack 984924182 win 5792 <mss 1460,sackOK,timestamp 91427 4294944213,nop,wscale 2> 13:01:02.868926 IP vm01.chaosbringer.de.2887 > julian.chaosbringer.de.telnet: . ack 1 win 1460 <nop,nop,timestamp 4294944214 91427> 13:01:02.875470 IP vm01.chaosbringer.de.2887 > julian.chaosbringer.de.telnet: P 1:25(24) ack 1 win 1460 <nop,nop,timestamp 4294944215 91427> 13:01:02.875541 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: . ack 25 win 1448 <nop,nop,timestamp 91428 4294944215> 13:01:03.008423 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 91441 4294944215> 13:01:03.213839 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 91462 4294944215> 13:01:03.635150 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 91504 4294944215> 13:01:04.475171 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 91588 4294944215> 13:01:06.155190 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 91756 4294944215> 13:01:09.515223 IP julian.chaosbringer.de.telnet > vm01.chaosbringer.de.2887: P 1:13(12) ack 25 win 1448 <nop,nop,timestamp 92092 4294944215> . . . What does that mean? julian.chaosbringer.de tries to get a ''syn'' from vm01, but gets not reply? routingtable of dom0: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface vm01.chaosbring * 255.255.255.255 UH 0 0 0 vif2.0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default . 0.0.0.0 UG 0 0 0 eth0 routingtable of domU: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 xend-config.sxp looks like ( i removed the comments ): (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$'') (network-script network-route) (vif-script vif-route) (dom0-min-mem 196) (dom0-cpus 0) Thanks, Julian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julian Hagenauer
2006-Jul-28 12:08 UTC
Re: [Xen-users] routed networking: ping yes, tcp-connection no
> > > Does "ethtool -K eth0 tx off" resolve the problem ? >Unfortunately not. I forgot to mention that i tried to do a telnet-connection fromt the vm01 to dom0(julian). Thanks, Julian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julian Hagenauer
2006-Jul-28 15:58 UTC
Re: [Xen-users] routed networking: ping yes, tcp-connection no
Steffen Heil wrote:>Do you have PPP compiled into your kernel? >I didn''t and that was the problem. > > > >>-----Original Message----- >>From: xen-users-bounces@lists.xensource.com >>[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >>Julian Hagenauer >>Sent: Friday, July 28, 2006 2:08 PM >>To: xen-users@lists.xensource.com >>Subject: Re: [Xen-users] routed networking: ping yes, >>tcp-connection no >> >> >> >>>Does "ethtool -K eth0 tx off" resolve the problem ? >>> >>> >>> >>Unfortunately not. >>I forgot to mention that i tried to do a telnet-connection fromt the >>vm01 to dom0(julian). >> >>Thanks, >>Julian >> >> >> >>_______________________________________________ >>Xen-users mailing list >>Xen-users@lists.xensource.com >>http://lists.xensource.com/xen-users >> >>Solved! Had to apply a MASQ-Chain to iptables. Thanks, Julian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paul Gear
2006-Dec-24 11:29 UTC
[Xen-users] Re: routed networking: ping yes, tcp-connection no
Julian Hagenauer wrote:> ... >>>> Does "ethtool -K eth0 tx off" resolve the problem ? >>>> >>>> >>> Unfortunately not. >>> I forgot to mention that i tried to do a telnet-connection fromt the >>> vm01 to dom0(julian). >>>... >>> > Solved! > Had to apply a MASQ-Chain to iptables. > Thanks,Hi Julian, Would you be able to explain in a little more detail what you did to solve the problem? This seems to be the same problem described in http://thread.gmane.org/gmane.comp.emulators.xen.user/1548 and http://thread.gmane.org/gmane.comp.emulators.xen.user/9736 and http://thread.gmane.org/gmane.comp.emulators.xen.user/9810 and which i described in http://permalink.gmane.org/gmane.comp.emulators.xen.user/18651 The solutions seem different for each circumstance, and one of them was fixed in 3.0.2. I''ve tried the other suggested solutions, so if you could provide details on yours, that would be great. Regards, Paul <http://paulgear.webhop.net> -- Did you know? Email is not private and can be viewed by your ISP, the recipient''s ISP, and possibly other parties. You can make sure your emails are private by using GNU Privacy Guard <http://www.gnupg.org> and an email plug-in like Enigmail <http://enigmail.mozdev.org>. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users