[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen4.4 HVM domains and routed setups


> can you elaborate a bit more on what you actually want to do? Cause I guess 
> you are trying to do something I've got working with a 
> modified vif-nat setup and can be of help, but I would like to take the 
> guesswork out of the equation first..

I have a server and I want to run several vms on it.
The server itself has one public ip (say and a whole additional 
network (say is routed to that server.

All my vms are running with a point-o-point setup, that is the vm knows it's 
own ip (say and the hosts ip ( and 
routes every packet that is not for itself to the host.
The vif-route and network-route scripts are active and the configuration file 
has a line like the following:

vif = [ 'mac=00:16:3e:01:02:05,vifname=vm-fifth,ip=' ]   // works for 
linux pv

vif = [ "mac=00:16:3e:01:02:06,vifname=vm-sixth,ip=,model=e1000" ]
  // used to work for hvm on modified 4.1, does not on unmodified 4.4

ip_forwading is enabled in the host.

That works for linux clients (there are actually two already running), but I 
cannot get it to work with my windows HVM guest.
Note that that worked with xen 4.1 and modified scripts and I still have that 
server running, so I can compare network settings but I 
did not find the source of the problem.

What more details can I supply?


2014-05-26 18:47 GMT+02:00 Steffen Heil (Mailinglisten) <lists@xxxxxxxxxxxxxxx 
<mailto:lists@xxxxxxxxxxxxxxx> >:


        I have a Xen 4.4 installation with Windows in a HVM domain and I need 
to use a routed setup.
        However the vif-route script does not work for HVM domains.

        So far I used an outdated Xen 4.1 installation with manually patched 
scripts that could do routed setups with HVM.
        But now I wanted to update and switch from xm to xl.

        Is there any way to make Xen work with HVM in a routed setup?
        Or do I have to revert to xm interface and try to adapt my patches to 
Xen 4.4?

        (On the IRC channel, someone recommended to use the scripts that are 
used by libvirt. So I downloaded the libvirt sources but I did
        not find any suitable replacement for vif-route.)

        BTW: I also have some linux pv machines that also need to work on the 
same host.

        Any hint is welcome.


        Xen-users mailing list
        Xen-users@xxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxx>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.