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

Re: [Xen-users] can't get network access from windows hvm

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] can't get network access from windows hvm
From: "Bogdan Lipski @ Onet" <bogdan_lipski@xxxxxxx>
Date: Sat, 30 Sep 2006 17:07:59 +0100
Delivery-date: Mon, 02 Oct 2006 01:32:32 -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
 
Hi,
 
that is pretty easy - meaning that it took me only 30mins spent on tearing my hair out - comparing to other problems with xen this is nothing :-)
 
solution:
if you look at /var/log/qemu-dm.XXXX.log, then you will probably see sth like that:
"warning: could not open /dev/net/tun: no virtual network emulation"
 
so now, either you are recompiling the xen kernel, or just:
 
# modprobe tun
 
enjoy! and i hope it spares some time for the others ;-)
 
 
Rgds,
Bogdan
 
 
>Hello everyone,

>I have been able to get windows xp to run under a virtual machine, but i cannot get any network access.
>My desktop is connected to a 
      university network, and we are only given 1 ip address. so i 
      understand i have to use >routing instead of bridging, right? 
      
>i have commented the two lines for 
      bridge and enabled routing in /etc/xen/xend-config.sxp 
>next i inserted a line:
>
>vif    = [ 'ip=192.168.0.2,type=ioemu' ]
>into my /etc/xen/vm/woesxp file,
>next i started the vm, and set the network settings in windows to be
>ip: 192.168.0.2
>mask: 255.255.255.0
>gateway: 192.168.0.1
>
>
>
>the problem is I cannot ping each other, ie both from linux and from windows, I get something like host unreachable.
>I have tried reading up about the 
      networking in xen, and also tried googling xen routing, but i see 
      the bridging >technique is the one mostly discussed. 
>is there a way of solving my 
      problem using bridging then? what i need is to ping each other 
      (so that I can setup a samba >share to share files, and also 
      to rdesktop into the windows) and for the windows vm to access 
      the internet 
>does anyone know of a good link 
      that could help me, or any advice about which way i should go? 
      
>cheers,
>galileon.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] can't get network access from windows hvm, Bogdan Lipski @ Onet <=