bilelmsekni / OpenStack-Folsom-Install-guide

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

Public IP Directly to VM #90

Closed murp3433 closed 11 years ago

murp3433 commented 11 years ago

I followed this (3 nic) guide and everything seems to be working correctly but I have a question. Can you add an IP directly to a vm? Meaning can you bypass nat and have a ip address show up inside the vm as eth1 for example.

Thank you! Josh

dguitarbite commented 11 years ago

logically it should be possible but doing this will be redundant as Quantum was meant for giving OpenStack the freedom to have setups on multiple networks unlike nova networks... Does your VM get IP? Can you ping it?

murp3433 commented 11 years ago

Actually no I cant. My current setup is as follows. I followed the tutorial with one exception, i have cinder on its own node. i have a /28 public ip range and I assigned 1 to eth1 on the controller node and one to eth2 on the network node. I created the router and used a third public ip for its gateway. After creating the instance it picks up the private ip address and i can ping it from the controller. i can ping the the 3rd public ip address (the router gw ip) from outside the network but when i assign a floating ip i cant ping it.

The reason i ask about assigning a public ip directly to the vm is because one of my servers is a whm/cpanel server that needs a public ip range assigned directly to it.

Also are the vlans only passed internally or do i need to setup vlan tagging on my switch somewhere?

sorry for all the questions, i'm just trying to figure out exactly how the internals work

Thanks for any help.

dguitarbite commented 11 years ago

I doubt that you can ping your VM instance from Control node... did you bridge your 100.xx.xx.xx with compute node? You must be pinging the router or gateway or subnet.