Hi I installed xen by following this link: http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64 Dom0(debian) has two IP :174.x.x.79 , 67.x.x.32 gateway is 174.x.x.65 DomU(win2003) IP is :67.x.x.38 The problem is : 1.weird network issue in win2003(can not access the internet in win2003): A:weird ping time for 127.0.0.1 B:weird ping time for its own ip 67.x.x.38 C:timeout when ping gateway ip 174.x.x.65 D:timeout when ping dom0 ip 67.x.x.32 2.the network card of dom0 is Intel(R) PRO/1000, but the network card of domU is Realtek RTL8139. I found that other people''s is "xen net device driver". Does it matter? Any idea ? How to debug it? Thank you Problems : 1.weird network issue in win2003(can not access the internet in win2003): C:\Documents and Settings\Administrator>ipconfig Windows IP Configuration Ethernet adapter Connection-specific DNS Suffix . : private IP Address. . . . . . . . . . . . : 67.x.x.38 Subnet Mask . . . . . . . . . . . : 255.255.255.192 Default Gateway . . . . . . . . . : 174.x.x.65 A:weird ping time for 127.0.0.1 C:\Documents and Settings\Administrator>ping 127.0.0.1 Pinging 127.0.0.1 with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time=-85073ms TTL=128 Reply from 127.0.0.1: bytes=32 time=-85073ms TTL=128 Reply from 127.0.0.1: bytes=32 time=-85073ms TTL=128 Reply from 127.0.0.1: bytes=32 time=-85073ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = =-85073ms, Maximum = =-85073ms, Average = 1073656751ms B:weird ping time for its own ip 67.x.x.38: C:\Documents and Settings\Administrator>ping 67.x.x.38 Pinging 67.x.x.38 with 32 bytes of data: Reply from 67.x.x.38: bytes=32 time<1ms TTL=128 Reply from 67.x.x.38: bytes=32 time=-133323ms TTL=128 Reply from 67.x.x.38: bytes=32 time<1ms TTL=128 Reply from 667.x.x.38: bytes=32 time=-133323ms TTL=128 Ping statistics for 67.x.x.38: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = -133323ms, Average = -133323ms C: timeout when ping gateway ip 174.x.x.65 : C:\Documents and Settings\Administrator>ping 174.x.x.65 Pinging 174.x.x.65 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 174.x.x.65: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), D:timeout when ping dom0 ip 67.x.x.32 C:\Documents and Settings\Administrator>ping 67.x.x.32 Pinging 67.x.x.32 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 67.x.x.32: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), 2.the network card of dom0 is Intel(R) PRO/1000, but the network card of domU is Realtek RTL8139. I found that other people''s is "xen net device driver". Does it matter? gportserver:~# dmesg | grep eth [ 1.081119] netfront: Initialising virtual ethernet driver. [ 1.551064] eth0: (PCI Express:2.5GB/s:Width x1) 00:30:48:9a:a8:70 [ 1.551067] eth0: Intel(R) PRO/1000 Network Connection [ 1.551327] eth0: MAC: 2, PHY: 2, PBA No: 0100ff-0ff [ 1.666783] eth1: (PCI Express:2.5GB/s:Width x1) 00:30:48:9a:a8:71 [ 1.666868] eth1: Intel(R) PRO/1000 Network Connection [ 1.666868] eth1: MAC: 2, PHY: 2, PBA No: ffffff-0ff Some info: gportserver:~# cat /etc/xen/win2003.cfg import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen-3.2-1/boot/hvmloader" name = "win2003" builder = "hvm" memory = "1024" vcpus = 1 shadow_memory = 8 #disk = [ ''phy:/dev/vg/win2003,ioemu:hda,w'' ] disk = [ ''phy:/dev/vg/win2003,ioemu:hda,w'',''tap:aio:/root/Win2003_Enterprise_VOL_SP2_GiikyLee_CN.iso,hdc:cdrom,r'' ] #cdrom="/root/debian-6.0.1a-amd64-CD-1.iso" vif = [ "type=ioemu,bridge=eth1,ip=67.x.x.38,mac=00:30:48:9a:a8:71" ] #vif = [ "bridge=eth1" ] #device_model = "/usr/" + arch_libdir + "/xen/bin/qemu-dm" device_model = "/usr/lib/xen-3.2-1/bin/qemu-dm" sdl=1 vnc=1 vnclisten="0.0.0.0" vncconsole=1 vncpasswd=''123123'' stdvga=0 serial=''pty'' usbdevice=''tablet'' boot=''d'' gportserver:~# xm info host : gportserver release : 2.6.26-1-xen-amd64 version : #1 SMP Fri Mar 13 21:39:38 UTC 2009 machine : x86_64 nr_cpus : 4 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2394 hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:00000001 total_memory : 8190 free_memory : 5 node_to_cpu : node0:0-3 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 gportserver:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:48:9a:a8:70 inet addr:10.20.96.24 Bcast:10.20.96.255 Mask:255.255.255.0 inet6 addr: fe80::230:48ff:fe9a:a870/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7015365 errors:0 dropped:0 overruns:0 frame:0 TX packets:47245 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:829796581 (791.3 MiB) TX bytes:3205675 (3.0 MiB) Memory:e8000000-e8020000 eth1 Link encap:Ethernet HWaddr 00:30:48:9a:a8:71 inet addr:174.x.x.79 Bcast:174.x.x.127 Mask:255.255.255.192 inet6 addr: 2607:f0d0:2001:8b:230:48ff:fe9a:a871/64 Scope:Global inet6 addr: 2607:f0d0:2001:8a:230:48ff:fe9a:a871/64 Scope:Global inet6 addr: 2607:f0d0:2001:46:230:48ff:fe9a:a871/64 Scope:Global inet6 addr: 2607:f0d0:2001:14:230:48ff:fe9a:a871/64 Scope:Global inet6 addr: fe80::230:48ff:fe9a:a871/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:497613674 errors:0 dropped:0 overruns:0 frame:0 TX packets:392001730 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:68190491219 (63.5 GiB) TX bytes:795780768067 (741.1 GiB) eth1:1 Link encap:Ethernet HWaddr 00:30:48:9a:a8:71 inet addr:67.x.x.32 Bcast:67.255.255.255 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8149 errors:0 dropped:0 overruns:0 frame:0 TX packets:8149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:969827 (947.0 KiB) TX bytes:969827 (947.0 KiB) peth1 Link encap:Ethernet HWaddr 00:30:48:9a:a8:71 inet6 addr: fe80::230:48ff:fe9a:a871/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:530996941 errors:0 dropped:138965 overruns:0 frame:0 TX packets:606786174 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:81344380864 (75.7 GiB) TX bytes:808641105548 (753.1 GiB) Memory:e8100000-e8120000 tap0 Link encap:Ethernet HWaddr 00:ff:ad:7e:65:2d inet6 addr: fe80::2ff:adff:fe7e:652d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:19559 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:950 (950.0 B) TX bytes:25281019 (24.1 MiB) vif28.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:19497 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) gportserver:~# brctl show bridge name bridge id STP enabled interfaces eth1 8000.0030489aa871 no peth1 tap0 vif28.0 gportserver:~# cat /etc/network/interfaces ############################################ #For more information, see interfaces(5). ############################################ ##Loopback auto lo iface lo inet loopback auto eth0 iface eth0 inet static #pre-up /usr/sbin/ethtool -s eth0 autoneg off speed 1000 duplex full address 10.20.96.24 netmask 255.255.255.0 up route add -net 10.0.0.0/8 gw 10.20.96.1 auto eth1 iface eth1 inet static #pre-up /usr/sbin/ethtool -s eth1 autoneg off speed 1000 duplex full address 174.x.x.79 netmask 255.255.255.192 gateway 174.x.x.65 auto eth1:1 iface eth1:1 inet static address 67.x.x.32 netmask 255.255.255.255 2011-04-10 sosogh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users