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: Tom Horsley <tom.horsley@xxxxxxx>
Subject: Re: [Xen-users] Is this simplest path to subnets?
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Wed, 20 Feb 2008 03:55:58 +0100
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 19 Feb 2008 18:58:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080219212711.3c060855@zooty>
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: netz-haut e.K.
References: <20080219212711.3c060855@zooty>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
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)

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?


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:

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.

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 :-).
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>