Hi Jeff,

If I have interpreted your requirements correctly, you want to send traffic 
from the Guest Instances to a network which is probably within the Data Centre 
and not on the internet.  The Default Gateway for the Guest VMs is the VPC 
Virtual Router, and the Gateway used by the VPC Virtual Router, is the Public 
Network Gateway.

If you want to direct traffic destined for a particular CIDR, you can configure 
the VPC Virtual Router to route the traffic via a different Gateway by using 
the 'Private Gateway' feature.

Imagine you have a set of physical servers running in the same DC, create a VPC 
Private Gateway, and then create the Routing Rules for the required CIDR, 
specifying the alternate Gateway IP which has L3 connectivity to the physical 
servers.  This will add a new Virtual Interface onto the VPC Virtual Router, 
and create the routes so traffic is sent via the alternate Gateway rather than 
the Public Network Gateway.  You will obviously need to update the routing 
rules on alternate gateway so the traffic can flow back to the Guest VMs.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-----Original Message-----
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 05 February 2013 19:12
To: cloudstack-users@incubator.apache.org
Subject: Re: Configuring static routes on VM

On Tue, Feb 05, 2013 at 10:47:15AM -0800, Chiradeep Vittal wrote:
> We could enhance the CloudStack API to support DHCP options per subnet.
> One DHCP option could be static routes.
>

+1 to that...  Jeff, want to open a feature request [1] for this?

-chip

[1] https://issues.apache.org/jira/browse/CLOUDSTACK

> On 2/5/13 10:06 AM, "Chris Sears" <chris.x.se...@sungard.com> wrote:
>
> >Hi Jeff,
> >
> >CloudStack currently does all in-guest network configuration via DHCP
> >and, as far as I can tell, no DHCP options are being set that would
> >push static routes.
> >
> >If you have a VM with multiple NICs, the DHCP server will hand out
> >IPs to each of them, while trying not to confuse the guest about the
> >default gateway. In an earlier discussion, it was mentioned that this
> >can be challenging due to differences in DHCP client of each guest OS:
> >http://markmail.org/message/a5nwds7emxxix3ux
> >
> > - Chris
> >
> >On Tue, Feb 5, 2013 at 9:29 AM, Chip Childers
> ><chip.child...@sungard.com>
> >wrote:
> >> On Mon, Feb 4, 2013 at 2:59 PM, Jeffrey McGovern
> >> <jeffrey.mcgov...@sungard.com> wrote:
> >>> Hello,
> >>> I was wondering if there is a way to configure static routes on a
> >>>guest VM  after it has been provisioned via Cloudstack?
> >>
> >> Jeff,
> >>
> >> It may help if you provide a little more context to the question to
> >> help folks understand what you're looking to do.
> >>
> >> -chip
> >>
>
>

ShapeBlue provides a range of strategic and technical consulting and 
implementation services to help IT Service Providers and Enterprises to build a 
true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack 
technology, allows IT Service Providers and Enterprises to deliver true, 
utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd. If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone. Please contact the sender if you believe you have 
received this email in error. Shape Blue Ltd is a company incorporated in 
England & Wales.

Reply via email to