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 recipe:
- SSH-based login credentials for the Controller and Network node
- SSH-based login credentials for the Compute node
How to do it…
The following steps will show you how to troubleshoot your setup when the VM does not get an IP address:
- With...