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] How do I set this network up?

To: Steve H <hatfork@xxxxxxxxxxxx>
Subject: Re: [Xen-users] How do I set this network up?
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Thu, 06 Dec 2007 11:21:21 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Dec 2007 21:52:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0D1F465D-D7A2-48E9-8A14-D0275295F2F8@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>
References: <0D1F465D-D7A2-48E9-8A14-D0275295F2F8@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)


Steve H wrote:
Hi there,

I've been browsing around trying to find the best way to set this up, but I'm a bit stumped.

I want to use one interface on my dom0, with multiple domU's.

Each domU should have a private IP (10.0.0.xxx), and optionally a public IP as well.

The public IP should be eth0, the private one should be eth1.

The public IP's are drawn from two ranges, on different subnets with different gateways.

For the sake of example, these ranges are:

100.100.100.xxx, gateway 100.100.100.94,  netmask 255.255.255.224
200.200.200.xxx, gateway 200.200.200.254, netmask 255.255.255.0

And the private range would be:

10.0.0.xxx

So, the dom0 might be

eth0    100.100.100.123
eth1    10.0.0.1

And a domU might be

eth0    100.100.100.124
eth1    10.0.0.2

But it could also be

eth0    200.200.200.46
eth1    10.0.0.3

or it could be

eth0    (none)
eth1    10.0.0.4

One solution is to use eth0 from dom0 for 100.x.x.x network and eth1 for 200.x.x.x and use a virtual interface - Eg, virbr0 - for private lan ip addresses. The only problem with this is that the only systems in the private network should be the guests.

If the above is not acceptable, you can configure eth0 with 100.x.x.x and eth0:1 with 200.x.x.x and bridge both to a bridge. I have not tested this, but somebody says to me this is supposed to work. Good luck.

--Sadique



Any help in this matter would be greatly appreciated!

Thanks in advance.

Steve

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