WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] routed networking: ping yes, tcp-connection no

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] routed networking: ping yes, tcp-connection no
From: Julian Hagenauer <chaosbringer@xxxxxx>
Date: Fri, 28 Jul 2006 13:14:00 +0200
Delivery-date: Fri, 28 Jul 2006 04:14:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20060423)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>