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] Is this simplest path to subnets?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Is this simplest path to subnets?
From: "Valter Douglas Lisbôa Jr." <douglas@xxxxxxxxxxxxx>
Date: Wed, 20 Feb 2008 01:19:41 -0300
Delivery-date: Tue, 19 Feb 2008 20:20:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47BB96BE.60606@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Trenix - IT Solutions
References: <20080219212711.3c060855@zooty> <47BB96BE.60606@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7

On Tuesday 19 February 2008 23:55:58 Stephan Seitz wrote:
> I did a similar setup by
>
> modprobe dummy
> ifconfig dummy0 up
>
> and using a wrapper script for network-bridge to setup bridges
> for eth0 and dummy0 (i also wanted eth0 bridged)
>
I do this, in a very similar wrapping you use. 

> this generally works, but i suspect this bridge as reason for
> dom0 freeze on heavy net-io... maybe someone can confirm problems
> with dummy bridges?
But I don't find any freeze problems with high I/O, and believe me I have four 
on productions server with great load on network and I trying various 
benchmarking tests between VMs and copy huge amount of data between them. I 
already stop a low cost Encore switch in one of this tests ;-)

>
> Tom Horsley schrieb:
> > I've been making my brain hurt by reading up on xen networking,
> > and I wonder if I finally understand the simplest path to getting
> > my virtual machines on a separate subnet:
I create a config similar a level 2 bastion firewall with a dmz. The two 
gateways to server the edges (one to LAN and other to WAN) has two separate 
bridges each like the diagram bellow

WAN---(Brdige WAN)---[VM1]---(Bridge DMZ)---[VM2]---(Bridge LAN)---LAN

The VMs side connected on physical interface (WAN and LAN) has the normal 
config. The side on bridge DMZ has any number of VMs limited by the hardware 
attached with dummy if. I have some delay here, but it's not noticiable. 

> >
> > In the physical world, if I hook two subnets to a linux box with
> > two ethernet cards, all I need is some routing commands on that
> > gateway box, and the subnets can talk to one another.
Yes I did this too.

> >
> > In the virtual world, I'm thinking the simplest to understand
> > equivalent is to create a dummy ethernet interface in
> > /etc/network/interfaces so it gets brought up as soon as the
> > Dom0 boots.
> >
> > Then tell the standard network-bridge script to use the dummy
> > interface as the "netdev", but other than that, use the default
> > bridge scripts (including the default vif-bridge).
> >
> > If I'm even close to understanding this now, the original physical
> > eth0 on the Dom0 will be completely left alone by xen, and if I setup
> > static routes between it and the dummy ehternet, then my physical
> > and virtual subnets will be able to talk just like in the
> > two physical subnet case.
> >
> > Does this make any sense at all? Am I pointing in a direction
> > that might work?
> >
> > Thanks for any insight you can provide.
> >
> > (I'm not interested in firewalls and NAT and that other brain
> > exploding nonsense yet, I just want to see the simplest case
> > working first :-).
You in the right way. I almost explode my brain in the first time, and I stay 
one week inside this problem. But now, its appear to be all right.

> >
> >
> > _______________________________________________
> > 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

<Prev in Thread] Current Thread [Next in Thread>