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: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Subject: Re: [Xen-users] XCP and Amazon EC2-style networking
From: C V <rayvittal-lists@xxxxxxxxx>
Date: Mon, 15 Mar 2010 11:37:33 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 15 Mar 2010 11:38:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268678254; bh=ViWCu5BvVQeLPTOB8Kg3AoWDZQc3ShTnmQYd1adtAY0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=G7yKMTpUTgArHNpgZ7lkaMrJRCfN2NpyTMvL7f2WlWV9mttY6uW8kWX0LVgtAhTcRhh6wUTEkcJiTSV9vxoWGskYSz54uNpbSPSCJMuvfJo9aQn5PNhxYptQ04eWuhgI7K2izDxCR/V3NjlI4r/hTVGj0qMw7RGVeRJEEXUgw8w=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=yyVGJxHcKspDEzNrkhNVxEbgU9jRn0YSXjrOpcWKobJ3JbOU4q2QzIM001tNO7H3qneAPEL+6Mnev3Zq7cYaQG2JdE51MZ/XrkHAFiyxR3RRX2CmEisalfa3fvZN8HDDPS0aZop4VlWe8t8F86vSiCb+k4NzyOPA9FwwyzeiLhQ=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ed123fa31003141646i7c490716h261d24abd383780a@xxxxxxxxxxxxxx>
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> <ed123fa31003141646i7c490716h261d24abd383780a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, and also the ability to specify fine-grained firewall rules on the public address.


From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
To: C V <rayvittal-lists@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Sun, March 14, 2010 4:46:02 PM
Subject: Re: [Xen-users] XCP and Amazon EC2-style networking


On Sun, Mar 14, 2010 at 12:30 PM, C V <rayvittal-lists@xxxxxxxxx> 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

So really all you want is for your public IP to be routed to your vif and back?


Grant McWilliams


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