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: <fjwcash@xxxxxxxxx>
Subject: Re: [Xen-users] DomU(s) in different subnets
From: Sachin Goel <SACHIN.GOEL@xxxxxxxxxx>
Date: Thu, 17 Dec 2009 13:59:54 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Dec 2009 14:01:04 -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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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