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

Re: [Xen-users] XEN: configuration challenge



Le Wed, Aug 08, 2007 at 11:24:36AM +0200, Tomas Rebok [xrebok@xxxxxxxxxx] a 
écrit:
> Hi all,
> 
> please, can anyone help me with XEN setting to fit the requirements
> described below? The think is that I'm not sure whether I should use XEN
> in router or bridged mode, so I'll describe my situation and will
> appreciate any advices...
> 
> The situation is: I want to have several physical machines, each running
> several virtual machines. Let's see on the example:
> Phys. machine A VMs: A.dom0, A.VM1, A.VM2, ... A.VMx
> Phys. machine B VMs: B.dom0, B.VM1, B.VM2, ... B.VMy
> 
> 
> Requirements:
> 1. All data sent from A.VMi and destined anywhere I want to see in A.dom0
> and using iptables and DNAT change their destination. Similarly to data
> sent from B.VMj---their destination should be changed by B.dom0.

For this, you need a setup with routing.
In pure bridge mode, you can't have DNAT applied.

> 2. Virtual machines B.VMj should be accesible from A.dom0 directly so that
> all data sent from A.dom0 should (if possible) be directly sent to B.VMj
> (without any iptables rules or smthg similar in B.dom0). Similarly, all
> data sent from B.dom0 should be directly sent to A.VMi...

This should be possible with routed mode.
You can also setup a second bridge (and second eth interface on A and B)
if you really want to have a "shortcut" between A vms and B vms



Dom

-- 
Dominique Rousseau 
Neuronnexion, Prestataire Internet & Intranet
57, route de Paris 80000 Amiens
tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr

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


 


Rackspace

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