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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DomU(s) in different subnets
From: Freddie Cash <fjwcash@xxxxxxxxx>
Date: Thu, 17 Dec 2009 13:40:23 -0800
Delivery-date: Thu, 17 Dec 2009 13:41:44 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/t7pX1LqO+hdAgEw5sCCT90mOT0JOLCniE0R1HY5xW0=; b=eUmXa+FdT2LXl1hB/H0tTnAx3Cn9zBBZ2u7mqXvQC/aoncMpGC0mLIO19n0pIrHaW3 wAqZvOiWZ1JIHWmmUENPVj7T9irPMuw0U4PAl7b9Z656Xwp+PjXk3+y73z39k598BvtV 9B4gxgNlxsj+O/BdQPMTpFokChIGrtvSHtpgg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PWJ+PjRL2VvBLH9HjtGdYgyVR3hzLnw1YJHG+wtkMaa6xU74FFyOf4OUd7weK1EGgu tegJgQecKjxM2F/YSrOdmW//g6YvPHwfZVzUv7s5QFoWzsrEtCWMd6yXcAH6F4SY7/3K HkJaoX+9ZkLwibgzmWnoNcqYiQxF6g0et3PSw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <df1b7a2c-32b5-4e4f-b4eb-8e27eb9bccc3@default>
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: <df1b7a2c-32b5-4e4f-b4eb-8e27eb9bccc3@default>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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