DHCP not working FLAT network

asked 2020-08-31 23:56:03 -0500

Vinicius Coelho gravatar image

Hi, I am following this tutorial: https://docs.openstack.org/install-guide/launch-instance-networks-selfservice.html (https://docs.openstack.org/install-gu...) I created the provider network, and the self-service network The self service network is working without any issue (instance gets the internal ip and uses the router to access internet)

If I connect the instance directly to provider network, the dhcp do not works. I can manually assing a public IP address to the instance and it can access internet, but I cant ping the router or any other instance in the same (or other) compute host.

I disabled firewalld. Using centos 7, openstack train release.

Can´t find any error in the logs. Does someone have an idea what is happening?

edit retag flag offensive close merge delete


What do you mean by "DHCP doesn't work"? Did you configure DHCP, and how?

Which router do you try to ping? Are you trying to access static or floating IPs? Can you access those IP addresses from the controller? Have you configured instances' security groups?

Bernd Bausch gravatar imageBernd Bausch ( 2020-09-01 01:13:10 -0500 )edit

From what I know provider networks usually have their own DHCP server, outside of neutron and openstack. In that case you disable dhcp on that subnet and make sure your external dhcp serves requests. Also as @Bernd said security-groups always need to be checked.

eblock gravatar imageeblock ( 2020-09-01 04:20:32 -0500 )edit