bilelmsekni / OpenStack-Folsom-Install-guide

A full installation guide for OpenStack Folsom with Quantum
161 stars 136 forks source link

Internet access through controller #15

Closed rchunduru closed 11 years ago

rchunduru commented 12 years ago

Hi, I would like to know why traffic to internet from VMs must go through the controller br-ex interface. If I need to have a VM to serve as gateway, what changes need to be done.

Thanks, -Ravi,

bilelmsekni commented 11 years ago

Hi,

The reason for VM to use controller br-ex interface to access the internet is related to the quantum architecture (http://docs.openstack.org/trunk/openstack-network/admin/content/use_cases_single_router.html)

I believe since the quantum server is runing on controller, the virtual router linked to the external network is in the controller node too. therefore, to reach the internet you need the public interface inside the controller node.

You can use quantum to give one of the VMs (say controller VM ) an internet access and instruct other VMs(say slave VM) to send their data to the controller VM which will forward it to the internet.

I hope i have answered your question or at least cleared something. I advice you to send your question to the openstack list, there i am sure you will find more help.

Regards, Bilel

rchunduru commented 11 years ago

I followed VLAN 2 NICs setup. It worked great. I could make a VM part of two vm networks. With one VM network added to the external network. Thus making it as gateway to the internet for other devices in that provider network.

bilelmsekni commented 11 years ago

Great idea ! Happy for you :)