Ask Your Question

OpenStack VMs are unable to communicate with Outer World

asked 2013-07-03 18:27:24 -0500


I'm trying to implement OpenStack solution in my environment ( bunch of Mac Minis) with one NIC card limitation. So far, I was able to setup a Controller and two Compute Nodes and created several VMs in compute nodes.

My host (Controller/Compute) are in 10.x.x.x series and I've setup the br100 private network for VMs in 192.168.100.x series per document. So, both Host and VMs have different gateway.

Problem : My Hosts (Controller/Compute) can communicate (ping/SSH) to their VMs but other server from same network (10.x.x.x) are unable to communicate to VMs. Vice versa, VMs are unable to communicate to other Hosts of the 10.x.x.x network except controller & compute nodes and also to the outer world.

What could be possible solution for this? Any help would be really appreciated. Please let me know, what information/files should I provide to diagnose it further.

Thanks in advance.

edit retag flag offensive close merge delete

7 answers

Sort by ยป oldest newest most voted

answered 2013-07-09 15:17:47 -0500

xianghui gravatar image

what the network type? flat, vlan, local, which one did you created?

edit flag offensive delete link more

answered 2013-07-15 18:41:28 -0500

Thanks Xiang Hui, that solved my question.

edit flag offensive delete link more

answered 2013-07-03 18:34:46 -0500

Can we do any kind of NATing or iptables rules in OpenStack like VMWare provides . By the way, I'm using FlatDHCPManager mode.

edit flag offensive delete link more

answered 2013-07-09 17:05:42 -0500

Hi Xiang,

I've used the FlatDHCP (nova.conf -> I've created my network with below command:

nova network-create private --fixed-range-v4= --bridge-interface=br100

My Controller & Compute Hosts are in 10 series gateway and Virtual Instances are in 192.168 series. So my VM can ping its gateway and its Host but not other hosts of same 10 series network and vice versa.

edit flag offensive delete link more

answered 2013-07-10 02:42:37 -0500

xianghui gravatar image

Hi Amogh,

Sorry, I have misunderstood your question before.

So your Controller & Compute Hosts which in 10 series can ping its vms which in 192.168 series, but other 10 series server cann't , right? and you want other servers can ping these vms each other.

There's two way: 1. If the other servers in 10 series are in the same switch with your Controller & Compute Hosts, you can just simply assign these other servers an 192.168 series ip to the ethernet card , then you can ping the vms of our Controller & Compute Hosts.

2. assign a floating ip to the vms, of course, the ip is 10 series, which means, the vms have two ips, one is in 192.168.x, another is 10.x, and I don't know if nova-network can support the floating ip fuction, but quantum(neutron) have supported this floating ip feature by using quantum-l3-agent.
edit flag offensive delete link more

answered 2013-07-15 18:33:27 -0500

maoliping455 gravatar image

nova-network support floating ip, and floating ip will help you solve this issue.

edit flag offensive delete link more

answered 2013-07-15 18:40:47 -0500

Thanks everyone. I got it solved by making my virtual network in Host network itself.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-03 18:27:24 -0500

Seen: 133 times

Last updated: Jul 15 '13