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] Confused about how to setup Private networking betw

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Confused about how to setup Private networking between Apps on different Domus
From: "Joost Roeleveld" <joost@xxxxxxxxxxxx>
Date: Mon, 16 Feb 2009 13:49:24 +0100 (CET)
Delivery-date: Mon, 16 Feb 2009 04:49:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.16
On Mon, February 16, 2009 9:02 am, Simon Hobson wrote:
> Robert Danruffin wrote:
>>I just started working on Xen for my office setup a couple of weeks ago,
and got to the point where I can install just about everything I need as
a simple Guest.
>>
>>Now I'm trying to setup private communications between Domus, using
bridges with internal IP addresses.
>>
>>For example
>>
>>Internet
>>   |
>>   | 192.x.x.1
>>Dom0 -------- Bridge A ---- Domu #1
>>   |                        |
>>   |                        | Private Bridge, 10.0.0.X
>>   | 192.x.x.2              |
>>   |---------- Bridge B ---- Domu #2
>>   |                        |
>>   |                        | Private Bridge, 10.0.0.X
>>   | 192.x.x.3              |
>>   |---------- Bridge C ---- Domu #3
>>
>>(Sorry, I'm not too sure about drawing these things the right way)
>>
>>Domus #1 & #3 are Apache web servers and Domu #2 is a Mysql database
>> server.
>>
>>If I do everything over the 192. addresses, everything talks to
>> everything.
>>
>>With this new setup I've got each of the Domus configured with 2 IP
addresses but I can't figure out how to get the web servers to talk to
the database server over Private Bridges.  In other words using the 10.
addresses, not the 192. addresses.
>>
>>I'm stuck about understanding how this is supposed to work, and what I'm
supposed to set where.
>
> Look up in the various howto's, and the archives for the list how to set
up two bridges with two ethernet cards in Dom0. Then you'll find
somewhere in the docs how to do it with a 'dummy' ethernet card in Dom0
- though personally I never got this to work. I've never got a bridge to
work where the Dom0 didn't have an interface in it.
>
> Once you've got that working, the routing should be automatic - each
DomU will see that it has a local interface on 10.0.0.0 and will route
via that rather than via the default route on 192.x.x.0.

I actually got that working, but I only use the xen-script for the bridge
that my dom0 is using.
The other bridges I am doing 'manually' in a script using 'brctl'.

If you really want to know how to set that up, let me know and I will post
my configs to the list tonight.

--
Joost




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

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