Ask Your Question

DevStack : provider network dhcp problem

asked 2018-04-02 06:07:42 -0500

Darth-OpenStack gravatar image

updated 2018-04-02 06:09:05 -0500

Hello guys ,

I have my local network( with the gateway and the dhcp server assigned also to this ip. My local.conf looks like this (the network part) :

# ----------
# Networking
# ----------



Do not focus on the commented line of the allocation pool. The provider network is being built successfully but my main problem is that when i launch an instance it will not take a dhcp ip ... basically it will take no ip at all. How i can enable the dhcp in my provider network..can i do it from horizon? from the local.conf before the installation(enable a plugin service or something similar)? or after?

Thank you in advance

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-04-02 19:21:03 -0500

updated 2018-04-03 17:32:38 -0500

DevStack doesn’t seem to create a DHCP server on the provider network; see line 315 in the L3 initialization script. You can try to change that with openstack subnet set —dhcp after you deploy the cloud.

There doesn’t seem to be a local.conf option for this, but you are free to remove —no-dhcp from the L3 script before running

(the ipad I am writing this on converts double dashes into single long dashes)

edit flag offensive delete link more


Thanks a lot Bernd !

Darth-OpenStack gravatar imageDarth-OpenStack ( 2018-04-07 06:55:09 -0500 )edit

answered 2018-04-02 10:48:28 -0500

By default, provider network DHCP is set to false and local network(tenant network) DHCP is set to True. Can you check if DHCP is set to True or False for provider network.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-04-02 06:07:42 -0500

Seen: 222 times

Last updated: Apr 03 '18