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)

Hi Ray,

yes, I got it.
You're absolute right, my network is default in "routed mode".
So with the script=vif-bridge it is working now.

Many Thanks for your help so far.

Cheers,
Maik

On Jul 4, 2008, at 9:01 AM, Ray Barnes wrote:

It sounds like since your system-wide default is routed, you're using the opposite of what I do (which is - default system-wide bridged networking, but individual vif scripts for each domU).  Perhaps add "script=vif-bridge" to your vif configuration for everything using bridged networking.

-Ray



On Wed, Jul 2, 2008 at 4:32 PM, Maik Brauer <mailinglist@xxxxxxxxxxxxxxx> wrote:
Hi Ray,

thanks for this hint.
What I tried so far to make it happen step by step was, that I've included the following line in the DomU script:
vif = [ 'mac=00:16:3e:00:00:01, bridge=mybridge1' ]

Before this I've created a bridge with brctl addbr mybridge1.

I can see the vif device with an ifconfig -a in the Dom0, but if I'm looking with brctl show, there is no vif connected to my bridge.

For your info, the whole XEN setup is configured to use the "routed mode",  because this is necessary due to my providers setup for sub-netting.
What needs to be done else ?

Cheers,
Maik



On Jul 2, 2008, at 2:22 AM, Ray Barnes wrote:

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



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