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] Re: routed networking

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: routed networking
From: Matthew Palmer <mpalmer@xxxxxxxxxxx>
Date: Tue, 28 Nov 2006 08:29:54 +1100
Delivery-date: Mon, 27 Nov 2006 13:30:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061127200749.GA388@xxxxxxxxx>
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: <20061127131816.GA28360@xxxxxxxxx> <20061127200749.GA388@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Mon, Nov 27, 2006 at 08:07:49PM +0000, Pete McEvoy wrote:
> Up 'til now, I've been happily using the vif-bridge script for all my
> domUs, giving them unallocated ips within 10.0.0.0/16 range. I now need
> to set up a xen host in a datacentre with each domU having a routable
> public ip address.  The person in the datacentre wants to know how many
> public ip addresses I require, and I need to make sure I have this box
> setup correctly before I ship it halfway across the country. 
> I know for sure that I want to end up with the two domUs having their 
> own routable public ip addresses, and I assume the dom0 would need its 
> own ip as well, but over and above that, I'm floundering.

So instead of allocating 10.0/16 addresses to your domUs, you just allocate
public IPs to your domUs.

It might help to think of the bridge as a regular Ethernet switch, and each
of the machines (dom0 and domU) as a separate physical machine.  Then you
just configure each machine as you would normally, and leave the bridge to
play Ethernet games in the middle.  Using that mental model has never
steered me wrong yet.

- Matt

-- 
"I'm tempted to try Gentoo, but then I learned that its installer is in
Python, and, well, a base Python install on my system is something like
fifty megabytes (for what?  oh, right, we NEED four XML libraries, I
forgot)."  -- Dave Brown, ASR

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