You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mario Giammarco <mg...@gmail.com> on 2016/01/24 23:07:27 UTC

Network configuration for VM without public IPs

Hello,
I have a private network I have no public ips.
I have guest and public network configured as 10.3.6.x and 10.3.5.x.
I am using advanced zone networking.
I have my router that does nat on 10.3.5.1 and 10.3.6.254.

My vm get an address in the range 10.3.6.x and I see that ip 10.3.6.1 is
assigned but not by me. I assume it is a system VM for firewall.

I would like to simply have my vm communicate with other real client and
servers on my private network.
The first thing you usually do on non-cloud virtualization systems.

How can I do it with cloudstack?

Thanks in advance,
Mario


RE: Network configuration for VM without public IPs

Posted by Glenn Wagner <gl...@shapeblue.com>.
Hi,

If you look at the details of the VM running , has the vm be allocated a private ip address?
Have you setup the firewall rules inside cloudstack to allow for the VM's to talk to each other or the ip's of the real clients and servers?


Regards
Glenn



[ShapeBlue]<http://www.shapeblue.com>
Glenn Wagner
Senior Consultant       ,       ShapeBlue


d:       | s: +27 21 527 0091<tel:|%20s:%20+27%2021%20527%200091>        |      m:      +27 73 917 4111<tel:+27%2073%20917%204111>

e:      glenn.wagner@shapeblue.com | t: <mailto:glenn.wagner@shapeblue.com%20|%20t:>     |      w:      www.shapeblue.com<http://www.shapeblue.com>

a:      2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South Africa


[cid:imagebc0d5b.png@f1213a3a.41b5b72d]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
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 or related companies. 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.




-----Original Message-----
From: Mario Giammarco [mailto:mgiammarco@gmail.com]
Sent: Monday, 25 January 2016 12:07 AM
To: users@cloudstack.apache.org
Subject: Network configuration for VM without public IPs

Hello,
I have a private network I have no public ips.
I have guest and public network configured as 10.3.6.x and 10.3.5.x.
I am using advanced zone networking.
I have my router that does nat on 10.3.5.1 and 10.3.6.254.

My vm get an address in the range 10.3.6.x and I see that ip 10.3.6.1 is assigned but not by me. I assume it is a system VM for firewall.

I would like to simply have my vm communicate with other real client and servers on my private network.
The first thing you usually do on non-cloud virtualization systems.

How can I do it with cloudstack?

Thanks in advance,
Mario

Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

Re: Network configuration for VM without public IPs

Posted by Rene Moser <ma...@renemoser.net>.
Hi Mario

On 01/24/2016 11:07 PM, Mario Giammarco wrote:
> Hello,
> I have a private network I have no public ips.
> I have guest and public network configured as 10.3.6.x and 10.3.5.x.
> I am using advanced zone networking.
> I have my router that does nat on 10.3.5.1 and 10.3.6.254.
> 
> My vm get an address in the range 10.3.6.x and I see that ip 10.3.6.1 is
> assigned but not by me. I assume it is a system VM for firewall.
> 
> I would like to simply have my vm communicate with other real client and
> servers on my private network.
> The first thing you usually do on non-cloud virtualization systems.
> 
> How can I do it with cloudstack?

You could do that of course. (we do it actually that way in a private
cloud setup).

I am not sure if I understand your setup correctly but it looks your
setup would not work since the networks 10.3.6.0/24 and 10.3.5.0/24 are
used for "internal" (Isolated, dhcp from virtual router) and external
(public ip network).

Could you reconfigure the isolated network with a different network then
used for public e.g. 10.1.1.0/24 ? So you the VMs will get a different IP.

Than you can either create a static nat between your "public net"
10.3.5.0/24 and your internal 10.1.1.0/24 or a portforwarding just using
the user API/UI

Regards
René