Tomasz Chmielewski
2006-Nov-29 11:07 UTC
[Xen-users] can connect *from* Windows, can''t connect *to* Windows
I just installed Windows 2003 on a HVM-capable machine, running Xen 3.0.3. I can connect from Windows (via VNC) just fine - ping any host in the local network or in the internet, or connect to them. The other way doesn''t work - I can''t connect to Windows from dom0, or form any other machine from LAN. The only thing that Windows replies to is arping. Anyone alse seeing this, too? This is Windows configuration file: import os, re arch = os.uname()[4] if re.search("64", arch): arch_libdir = "lib64" else: arch_libdir = "lib" kernel = "/usr/lib/xen/boot/hvmloader" builder="hvm" memory = 512 name = "w2k3-001" vif = [ "type=ioemu, ip=192.168.15.24, mac=00:16:3e:12:34:94, bridge=xenbr0" ] disk = [ ''phy:/dev/LVM2/windows2003test,ioemu:hda,w'', ''file:/home/manager/win2k3r2/win2k3r2-cd2.iso,hdc:cdrom,r'' ] device_model = "/usr/" + arch_libdir + "/xen/bin/qemu-dm" vnc=1 vncviewer=0 -- Tomasz Chmielewski http://wpkg.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Nov-30 13:47 UTC
Re: [Xen-users] can connect *from* Windows, can''t connect *to* Windows
On 11/29/06, Tomasz Chmielewski <tch@syneticon.net> wrote:> [...] > The other way doesn''t work - I can''t connect to Windows from dom0, or form > any other machine from LAN. The only thing that Windows replies to is > arping.Hmm, then basically your ethernet setup is there and most of the routing part, also. There are some possible sources of errors. What does your Xen network setup look like? Bridged or routed networking? Firewall on the Windows machine? Do you have something like tcpdump on the windows machine to see if tcp packet come through there? On which interface do the network packages get lost exactly? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tomasz Chmielewski
2006-Nov-30 14:00 UTC
Re: [Xen-users] can connect *from* Windows, can''t connect *to* Windows
> On 11/29/06, Tomasz Chmielewski <tch@syneticon.net> wrote: >> [...] >> The other way doesn''t work - I can''t connect to Windows from dom0, or >> form >> any other machine from LAN. The only thing that Windows replies to is >> arping. > > Hmm, then basically your ethernet setup is there and most of the > routing part, also. > > There are some possible sources of errors. > > What does your Xen network setup look like? Bridged or routed > networking? Firewall on the Windows machine?Shame on me, it was the firewall in Windows 2003 R2 that was enabled... I though it was disabled by default, and I didn''t check it, because VNC works a bit of crappy (mouse pointer goes as it likes, not as I like). Still, network on Windows looks problematic: 1. Latency is very big - this is made from domU: # ping 192.168.111.186 PING 192.168.111.186 (192.168.111.186) 56(84) bytes of data. 64 bytes from 192.168.111.186: icmp_seq=1 ttl=128 time=4.06 ms 64 bytes from 192.168.111.186: icmp_seq=2 ttl=128 time=4.82 ms 64 bytes from 192.168.111.186: icmp_seq=3 ttl=128 time=6.25 ms 64 bytes from 192.168.111.186: icmp_seq=4 ttl=128 time=7.70 ms 64 bytes from 192.168.111.186: icmp_seq=5 ttl=128 time=9.14 ms 64 bytes from 192.168.111.186: icmp_seq=6 ttl=128 time=0.580 ms 64 bytes from 192.168.111.186: icmp_seq=7 ttl=128 time=2.01 ms 64 bytes from 192.168.111.186: icmp_seq=8 ttl=128 time=3.49 ms 64 bytes from 192.168.111.186: icmp_seq=9 ttl=128 time=4.89 ms 64 bytes from 192.168.111.186: icmp_seq=10 ttl=128 time=6.33 ms --- 192.168.111.186 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 9000ms rtt min/avg/max/mdev = 0.580/4.931/9.144/2.437 ms For non-HVM guests I have latency of about 0.074 ms. 2. There are slight packet losses: # ping -c 10000 -f 192.168.111.186 PING 192.168.111.186 (192.168.111.186) 56(84) bytes of data. ................ --- 192.168.111.186 ping statistics --- 10000 packets transmitted, 9984 received, 0% packet loss, time 4708ms rtt min/avg/max/mdev = 0.295/0.400/9.534/0.345 ms, ipg/ewma 0.470/0.438 ms For non-HVM guestes I have no packet losses. But perhaps, it''d be a better idea to ask about it in a separate thread. -- Tomasz Chmielewski http://wpkg.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Nov-30 18:03 UTC
Re: [Xen-users] can connect *from* Windows, can''t connect *to* Windows
On 11/30/06, Tomasz Chmielewski <mangoo@wpkg.org> wrote:> [...] > Still, network on Windows looks problematic: > > 1. Latency is very big - this is made from domU:no idea, better post these under an extra thread with matching topic Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users