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] XEN: configuration challenge

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XEN: configuration challenge
From: Dominique Rousseau <d.rousseau@xxxxxxx>
Date: Wed, 8 Aug 2007 11:59:17 +0200
Delivery-date: Wed, 08 Aug 2007 02:57:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.SGI.4.55.0708081119040.7803421@xxxxxxxxxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <Pine.SGI.4.55.0708081119040.7803421@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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

<Prev in Thread] Current Thread [Next in Thread>