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] DomU(s) in different subnets

To: "Sachin Goel" <SACHIN.GOEL@xxxxxxxxxx>, <fjwcash@xxxxxxxxx>
Subject: RE: [Xen-users] DomU(s) in different subnets
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Fri, 18 Dec 2009 10:00:53 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Dec 2009 02:02:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
References: <922558ed-dd43-4647-87c9-34437c83d84f@default>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp/ZGw/ciVTsDLZSAieEbUqorw/tgAZIQsw
Thread-topic: [Xen-users] DomU(s) in different subnets

Yes you,

 

We do it and it works fine

 

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sachin Goel
Sent: 17 December 2009 22:00
To: fjwcash@xxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DomU(s) in different subnets

 

Hi,

Thanks everybody for your replies.

Freddie,

Isn't it possible that with only one bridge we have the virtual machines in different physical subnets, if the gateway is configured to handle that ?

Thanks,
Sachin.
----- Original Message -----
From: fjwcash@xxxxxxxxx
To: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Friday, December 18, 2009 3:11:50 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: [Xen-users] DomU(s) in different subnets

On Thu, Dec 17, 2009 at 1:10 PM, Sachin Goel <SACHIN.GOEL@xxxxxxxxxx> wrote:

I am new to the Xen Networking and how it works. I have a very basic question about it, over which I am confused since last few days :(

Is it possible to configure various virtual machines(domU(s)) running on the same xen hypervisor(dom0) such that they exist in different subnets?

Any pointers will be very helpful !!

If you want multiple physical subnets, just create multiple bridges, and connect each one to a different switch.  Then assign each DomU to a separate bridge.

 

If you want multiple logical subnets, just assign them all to the same bridge, but set the guest IPs as needed.

 

Bridges work at the ethernet level, below the IP, so there's nothing special needed. 


--
Freddie Cash
fjwcash@xxxxxxxxx

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