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

To: Matthew Palmer <mpalmer@xxxxxxxxxxx>
Subject: Re: [Xen-users] Re: routed networking
From: Pete McEvoy <pete@xxxxxxxxx>
Date: Mon, 27 Nov 2006 22:44:17 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Nov 2006 14:44:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061127212954.GA18935@xxxxxxxxxxx>
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> <20061127212954.GA18935@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Nov 28, 2006 at 08:29:54AM +1100, Matthew Palmer wrote:
> 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.

Thats a nice analogy, thanks.

Would it be a reasonable facsimile of routable public ip addressing if I
were to add an interface on a spare box I have with the gateway address
in the datacentre, configure my xen hosts with the public ip addresses
provided, and ensure they can communicate with each other on my internal
network?

If not, can anyone confirm the following is what I need to do to move
from my existing bridge setup using rfc1918 addresses to public routable
ips:

Change
(network-script network-bridge)
(vif-script vif-bridge)

to 

(network-script network-route)
(vif-script     vif-route)

in xend-config.sxp

Modify each VM config file from
vif = [' bridge=xenbr0' ]

to 

vif = [ 'ip=mypublicip' ]

Configure dom0 annd domUs normally.

Thanks


-- 
Pete





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