Ask Your Question
0

How to configure networking on Controller & Compute nodes

asked 2017-09-21 03:34:15 -0500

Costas gravatar image

updated 2017-09-21 03:35:22 -0500

Dear all,

I would like to know how to configure networking on Controller & Compute nodes (physical machines) in Openstack Newton on Ubuntu 16.04 in order to launch instance?

I have set the below but dosn't work. Is there more configuration?

 root@Controller:~# vim /etc/network/interfaces

 IP address: 172.16.10.231  Network mask: 255.255.255.0 (or /24)  Network: 172.16.10.0  Broadcast: 172.16.10.255  Default gateway: 172.16.10.1  Dns-nameservers: 8.8.8.8

**PROVIDER_INTERFACE_NAME: enp5s0f1

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-09-21 05:34:09 -0500

Praveen N gravatar image

Hi

Please check your file resembles as below for network connection between compute and controller :

vim /etc/network/interfaces

auto enp5s0f1
iface enp5s0f1 inet static
address 172.16.10.231
netmask 255.255.255.0
gateway 172.16.10.1
dns-nameservers 8.8.8.8

Also how you deployed openstack on Ubuntu 16 ? Ensure all installed services are active and running fine before trying to launch instance.

--Thanks Praveen

edit flag offensive delete link more

Comments

Hello Praveen,

It's the same that yours but I have added broadcast 172.16.10.255 & network 172.16.10.0

All services are up and running. Also /etc/network/interfaces of compute has interface enp2s0 and IP 172.16.10.232. See the attachment on wetransfer https://we.tl/gAfOGljxHj

Thanks

Costas gravatar imageCostas ( 2017-09-21 06:23:47 -0500 )edit

Hello Praveen, Do you have something else about that?

Thanks

Costas gravatar imageCostas ( 2017-09-25 09:31:19 -0500 )edit

Hi Costas, Have you configured neutron with openvswitch or linux bridge? since all your services are fine(active), have you created any tenant networks/routers? Thanks Praveen

Praveen N gravatar imagePraveen N ( 2017-09-26 03:44:15 -0500 )edit

Hello Praveen,

I have configured neutron with linux bridge. I have followed the instructions that you will be able to see here https://docs.openstack.org/newton/install-guide-ubuntu/neutron-controller-install.html#neutron-controller-metadata-agent (https://docs.openstack.org/newton/ins...) . Also I have created networks/routers.

Costas gravatar imageCostas ( 2017-09-26 13:29:59 -0500 )edit

Praveen, I have created networks/routers at the end on launch instance and I am not able to ping the network.

Thanks, Costas

Costas gravatar imageCostas ( 2017-09-26 13:30:32 -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: 2017-09-21 03:34:15 -0500

Seen: 74 times

Last updated: Sep 21 '17