Exploring how instances get their addresses

When a network is created and DHCP is enabled on a subnet within the network, the network is scheduled to one or more DHCP agents in the environment. A dnsmasq process is spawned in a network namespace that corresponds to the network. If a dnsmasq process already exists for the network and a new subnet is added, the existing process is updated to support the additional subnet.

Note

When DHCP is not enabled on a subnet, a dnsmasq process is not spawned. An IP address is still associated with the Neutron port that corresponds to the interface within the instance, however. Without DHCP services, it is up to the user to manually configure the IP address on the interface within the guest operating system through ...

Get Learning OpenStack Networking (Neutron) - Second Edition 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.