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

[Xen-users] Is this simplest path to subnets?

To: xen-users@xxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Is this simplest path to subnets?
From: Tom Horsley <tom.horsley@xxxxxxx>
Date: Tue, 19 Feb 2008 21:27:11 -0500
Delivery-date: Tue, 19 Feb 2008 18:27:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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