Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a redundant DHCP server per OpenStack Network


The DHCP server plays a critical role in the IP address management and initial network connectivity for a VM instance. The DHCP server is enabled via an agent on the network node. As it is a critical component, it is a good idea to have a redundant DHCP server per OpenStack Network. This recipe shows you how to configure Neutron to start more than one DHCP agent for each OpenStack Network.

Getting ready

In order to create more than one DHCP agent for each OpenStack Network, we will need to update a setting in the Neutron configuration file.

How to do it…

The following steps will show you how to configure multiple DHCP agents per OpenStack Network:

  1. With the appropriate credentials, SSH into the node where the Neutron server is running. In our setup, it will be the Controller and Network node.

  2. Open the Neutron configuration file using your desired editor. For example, the command for the vi editor will be as follows:

    openstack@controller:~$ sudo...