Ask Your Question
0

Network configuration

asked 2019-02-15 04:07:51 -0500

Hitesh Bajaj gravatar image

Hi All,

I have setup openstack on a single node(having centos) using packstack.

I have uploaded few images and created few instances out of them. I need to connect to the instances from the host OS.

What network setup is required for this. I do not wish to allocate public IPs to the instances now. Just want to acess the VMs(ssh and https) from the host server(centos machine).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-02-15 07:48:55 -0500

If you mean the Packstack host by "host OS", no particular setup is required. By default, Packstack creates a fake "external" network with an address of 172.24.4.0/28 (not sure about the 28) to which a route from the host exists.

edit flag offensive delete link more

Comments

Actually it didn't create any network. Tried installation of openstack using packstack twice.

In my devstack setup, an external network bearing address 172.24.4.0/24 was created.

Hitesh Bajaj gravatar imageHitesh Bajaj ( 2019-02-16 00:33:03 -0500 )edit

Do I need to create a bridge on my host OS(centos)? a OVS bridge or something?

I have manually created network on my openstack env - 192.168.0.0/24 and created a router connecting this network as gateway, but not able to reach that network from my host OS. What additional config needs to be done?

Hitesh Bajaj gravatar imageHitesh Bajaj ( 2019-02-16 00:33:43 -0500 )edit

No need for setting up bridges or anything else, just run the packstack command and you should be able to reach the instances via their floating IPs. If not, the setup was not correct. Did you create a default Packstack cloud or did you specify parameters or an answer file?

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-16 01:16:39 -0500 )edit

I provided an answer file for packstack installation.

Hitesh Bajaj gravatar imageHitesh Bajaj ( 2019-02-16 01:34:01 -0500 )edit

could it be that you misconfigured the network?

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-16 03:55:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-02-15 04:07:51 -0500

Seen: 32 times

Last updated: Feb 15