Troubleshooting a VM that does not get a DHCP IP address

In this recipe, we will troubleshoot a scenario where a VM on OpenStack that is connected to a DHCP enabled virtual network is unable to obtain an IP address.

When a tenant attaches the first VM to a DHCP enabled virtual network in OpenStack, Neutron automatically starts a DHCP server for the virtual network. This DHCP server is responsible for providing an IP address to the VM instances created on the virtual network.

Once a VM instance attached to a virtual network boots up, it is assigned an IP address from the DHCP server. In this recipe, we will see some of the possible reasons for a VM instance failing to receive an IP address.

Getting ready

The following information is required for this ...

Get OpenStack Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.