Ask Your Question
0

Why do we need two network interfaces for openstack nodes?

asked 2014-02-13 23:16:21 -0500

Saba gravatar image

The official online guide of openstack forces us to have two network interfaces on all the compute nodes; one to connect to the public network and another for the private network. This is the defined architecture: image description

Why is it so? Why can't we connect all the compute nodes and the controller through one public switch?

edit retag flag offensive close merge delete

Comments

Do we need to assign IP to both the interfaces or is it that the second network interface acts only as a bridge with no IP allotted to it....???

shoubhikb@gmail.com gravatar imageshoubhikb@gmail.com ( 2017-04-09 09:15:56 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-02-13 23:41:22 -0500

dheeru gravatar image

This is reference architecture and good practice in production environment. It is suggested to segregate the internal traffic like vm to vm and other process communication. If you have only NIC on compute nodes you can still make it work the way you are describing. I have done it in lab setup. I have done all this in single box with single NIC as well. You can play around all this in Lab. For production I suggest you follow the official doc. Hope it is clear.

edit flag offensive delete link more

Comments

I tried making it work using one NIC but got stuck in enabling the networking. I have described my problem with that here: https://ask.openstack.org/en/question/11725/how-to-enable-networking-when-both-compute-and-controller-have-only-one-network-interface-which-is-public/

Saba gravatar imageSaba ( 2014-02-14 00:00:10 -0500 )edit

I am now wondering if I can define a virtual NIC (using IP aliasing) on my compute node to make it work.

Saba gravatar imageSaba ( 2014-02-14 00:00:39 -0500 )edit

@Saba, did you figure out how to deploy OpenStack using only one NIC on the nodes? I'm trying to do the same and haven't yet succeeded. Any help would be appreciated.

gkeller2 gravatar imagegkeller2 ( 2014-05-01 16:59:34 -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

2 followers

Stats

Asked: 2014-02-13 23:16:21 -0500

Seen: 1,007 times

Last updated: Feb 13 '14