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] XCP and Amazon EC2-style networking

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XCP and Amazon EC2-style networking
From: Vern Burke <vburke@xxxxxxxx>
Date: Sun, 14 Mar 2010 15:39:54 -0400
Delivery-date: Sun, 14 Mar 2010 12:41:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <180302.12455.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4b37069f1003131144m5745cf28pf86ee9ce5fcf6cde@xxxxxxxxxxxxxx> <180302.12455.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
Unless I'm reading something wrong here, I can't figure out why you'd want a private IP NATted to a dedicated public IP for the DomU. If you're going to use the DomUs as NATted workstations, just put the whole thing behind a NAT router and you're done.

Vern Burke

SwiftWater Telecom
http://www.swiftwatertel.com
ISP/CLEC Engineering Services
Data Center Services
Remote Backup Services

On 3/14/2010 3:30 PM, C V wrote:
On EC2, each instance (Xen DomU) gets an internal IP address (usually
10.x.y.z) and also a public IP address which is NAT'ed to the internal
IP address. I am assuming that this NAT happens in Dom0.

In XCP, the DomU VIFs are directly bridged to the physical network --
this would be the internal IP equivalent. I don't see any equivalent way
to NAT the public IP address to the internal IP address. With xend-style
networking it may have been possible to use network-nat or perhaps
network-route

vi /etc/xen/xend-config.sxp
(network-script network-route)
#(network-script network-bridge)
#(network-script network-nat)

Is it possible in XCP?

Thanks
--
CV




_______________________________________________
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