IP Address Not Allocated To Instance by DHCP

Problem

  • Instance fails to receive IP address from the DHCP server after a reboot.
  • Packet capture on the tap device of the instance and the bond0 interface shows the Broadcast Request is leaving the tap device but no packets are seen on the bond0 interface.
Copy
  • Packet capture on bond0 interface.
Copy

Environment

  • Platform9 Managed OpenStack - v3.6.0 and Higher

Cause

There is no physical interface connected to the Bridge br-vlan.

Copy

Resolution

  1. Add the interface (bond 0) to the bridge (br-vlan).
Copy
  1. After adding the interface, force the instance to renew the IP address from DHCP.
Copy
  1. Following is the packet capture of the instance on the tap device and we can see that the DORA process for DHCP completed successfully.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard