Dharmender Goyal
2008-Feb-13 20:49 UTC
[Xen-users] Xen networking - between ubuntu Dom0 and WinXp DomU
Hello I installed Xen 3.0 on Ubuntu (2.6.22-14-xen) on a Dell 630 laptop. I have two networking interfaces on host( wired as well as wireless). Host OS networking is working fine using both interfaces. However, my Windows VM network is not able to get any IP Address. My VM config file is ---------------------- kernel = ''/usr/lib/xen-ioemu-3.1/boot/hvmloader'' builder = ''hvm'' memory = ''1024'' device_model=''/usr/lib/xen-ioemu-3.1/bin/qemu-dm'' # Disks disk = [ ''file:/media/disk/winxp.img,ioemu:hda,w'', ''file:/home/dgoyal/winxp.iso,ioemu:hdc:cdrom,r'' ] # Hostname name = ''win01'' # Networking vif [''mac=40:00:00:00:00:11,type=ioemu,bridge=xenbr0''] #dhcp=''dhcp'' # Behaviour boot=''d'' vnc=0 vncviewer=0 vncunused=0 apic=0 acpi=0 sdl=1 vcpus=2 serial ="pty" on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' ---------- config file ends ---------- Host OS ifconfig command shows root@dgoyal-laptop:/etc/xen# ifconfig eth0 Link encap:Ethernet HWaddr 00:1C:23:0F:92:73 inet addr:10.100.172.27 Bcast:10.100.172.255 Mask:255.255.255.0 inet6 addr: fe80::21c:23ff:fe0f:9273/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6639 errors:0 dropped:0 overruns:0 frame:0 TX packets:4026 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4127487 (3.9 MB) TX bytes:581942 (568.3 KB) Interrupt:17 eth1 Link encap:Ethernet HWaddr 00:1C:26:66:15:55 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:354 errors:0 dropped:7577 overruns:0 frame:0 TX packets:234 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:70358 (68.7 KB) TX bytes:9828 (9.5 KB) Interrupt:10 Base address:0x8000 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:35 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5303 (5.1 KB) TX bytes:468 (468.0 b) I tried severaloptions mentioned on this and other sites but none appear to work for me. Any help will be appreciated. thanks and regards ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dharmender Goyal
2008-Feb-14 01:48 UTC
[Xen-users] Xen networking - between ubuntu Dom0 and WinXp DomU
Hello I installed Xen on my Dell D630 laptop and created a Window XP VM. My Windows XP VM is not able to get a network IP address from my external DHCP server. I would appreciate any help or suggestions. Regards My VM configuration file is -------- start kernel = ''/usr/lib/xen-ioemu-3.1/boot/hvmloader'' builder = ''hvm'' memory = ''1024'' device_model=''/usr/lib/xen-ioemu-3.1/bin/qemu-dm'' # Disks disk = [ ''file:/media/disk/winxp.img,ioemu:hda,w'', ''file:/home/dgoyal/winxp.iso,ioemu:hdc:cdrom,r'' ] # Hostname name = ''win01'' # Networking vif [''mac=42:00:00:00:00:11,type=ioemu,bridge=xenbr0''] #dhcp=''dhcp'' # Behaviour boot=''d'' vnc=0 vncviewer=0 vncunused=0 apic=0 acpi=0 sdl=1 vcpus=2 serial ="pty" on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' -------- end My laptop has a wired as well as a wireless network interface ---- ifconfig output ----- eth0 Link encap:Ethernet HWaddr 00:1C:23:0F:92:73 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:17 eth1 Link encap:Ethernet HWaddr 00:1C:26:66:15:55 inet addr:192.168.2.176 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::21c:26ff:fe66:1555/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:580 errors:0 dropped:231 overruns:0 frame:0 TX packets:1866 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:476664 (465.4 KB) TX bytes:160674 (156.9 KB) Interrupt:10 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b) ---------ifconfig output ends ---- Within Windows I can find a realtek adapter, but that adapter always shows a 172.* IP address. ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Feb-14 06:49 UTC
Re: [Xen-users] Xen networking - between ubuntu Dom0 and WinXp DomU
On Feb 13, 2008 8:48 PM, Dharmender Goyal <dgoyal@yahoo.com> wrote:> Hello > I installed Xen on my Dell D630 laptop and created a > Window XP VM. My Windows XP VM is not able to get a > network IP address from my external DHCP server. > I would appreciate any help or suggestions. >Is your wireless using WPA? I have heard people have trouble with bridging and WPA. Are you able to use linux PV or HVM and get an address?> Regards > > > My VM configuration file is > -------- start > kernel = ''/usr/lib/xen-ioemu-3.1/boot/hvmloader'' > builder = ''hvm'' > memory = ''1024'' > device_model=''/usr/lib/xen-ioemu-3.1/bin/qemu-dm'' > > # Disks > disk = [ ''file:/media/disk/winxp.img,ioemu:hda,w'', > ''file:/home/dgoyal/winxp.iso,ioemu:hdc:cdrom,r'' ] > > # Hostname > name = ''win01'' > > # Networking > vif > [''mac=42:00:00:00:00:11,type=ioemu,bridge=xenbr0''] > #dhcp=''dhcp'' > # Behaviour > boot=''d'' > vnc=0 > vncviewer=0 > vncunused=0 > apic=0 > acpi=0 > sdl=1 > vcpus=2 > serial ="pty" > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > -------- end > My laptop has a wired as well as a wireless network > interface > ---- ifconfig output ----- > eth0 Link encap:Ethernet HWaddr > 00:1C:23:0F:92:73 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 > frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 > carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:17 > > eth1 Link encap:Ethernet HWaddr > 00:1C:26:66:15:55 > inet addr:192.168.2.176 Bcast:192.168.2.255 > Mask:255.255.255.0 > inet6 addr: fe80::21c:26ff:fe66:1555/64 > Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 > Metric:1 > RX packets:580 errors:0 dropped:231 > overruns:0 frame:0 > TX packets:1866 errors:0 dropped:0 > overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:476664 (465.4 KB) TX bytes:160674 > (156.9 KB) > Interrupt:10 > > 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:0 errors:0 dropped:0 overruns:0 > frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 > carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > xenbr0 Link encap:Ethernet HWaddr > 00:00:00:00:00:00 > inet6 addr: fe80::200:ff:fe00:0/64 > Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 > Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 > frame:0 > TX packets:6 errors:0 dropped:0 overruns:0 > carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:468 (468.0 b) > ---------ifconfig output ends ---- > > Within Windows I can find a realtek adapter, but that > adapter always shows a 172.* IP address. > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > _______________________________________________ > 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