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 - Routed and Bridget Mode together (mixed)

To: "Maik Brauer" <mailinglist@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] XEN - Routed and Bridget Mode together (mixed)
From: "Ray Barnes" <tical.net@xxxxxxxxx>
Date: Tue, 1 Jul 2008 20:22:37 -0400
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Jul 2008 17:23:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=9OnM72gInscABpnU0ylldYgZW9uKHwZ8GoIpnvw9Pdo=; b=a/BDQGiG6mPnPRTmOah7C05Xbr7rIV5dPiVd8xvOi1gxtjPIQpE07oluKfDJ3X3kjZ Wm4aICYrz58u+bhhhmcrvGSBAxhoeEVFf1dd3Z9wugn5cb6SzgB2YzjjFaEZdoHVFCty VRrX2d5aKJj8kqTmbgBf05eSEmWZjcOInrIp8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=XPG/vshBwCBZx2tpPWo06BZqXW9P/0Ma3LSTvjjR9qNYzq5aiA8AOE1UD4sfdODJB1 W0ajkRe40w12KjxDJ14ZCzgpQ5BUm4N7epTaMRK4bd1xmH3qRtAl2KTw4j/2KpwUh/Gr 15r1BDU/Ye0mqCFiyTTxrqDW0GCIg6rqVLyZ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <76AA7657-DD99-476F-8C8B-C94998008B88@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/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: <76AA7657-DD99-476F-8C8B-C94998008B88@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Config is easy; it sounds like you want simultaneous routed and bridged in the same domU.  If that's the case:

vif = [ 'mac=00:16:3e:00:00:01, bridge=somebridge' ]
vif = [ 'mac=00:16:3e:00:00:02, vifname=somevif, script=vif-somevif' ]

The bridged part is easy, just make sure you bring up the bridge first with "brctl addbr somebridge" or via normal OS scripts.  The vif-somevif file will reside in /etc/xen/scripts by default and can be the same for all VMs or customized for each domU.  I like to customize per-domU because it's easy to move prefixes around that way.  HTH.

-Ray



On Tue, Jul 1, 2008 at 3:21 PM, Maik Brauer <mailinglist@xxxxxxxxxxxxxxx> wrote:
Hi,

is there any possibility to get a XEN DomO and DomU running with bridget and routed mode together.
The reason behind this is, to get the requests via the official IPs to the DomU's (routed-mode) and the interworking
between the DomU's with connected with help of the (bridged-mode).

I got it work, with setting everything up manually. But as I understood the "xen-config.sxp" can handle either routed or bridget,
but not both together. So is there're possibility or something what can be done via the Xen-Tools.

Because after a restart everything needs to be set up again and that not the way how it should be.
Many Thanks.

Cheers,
Maik

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

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