Div | ||
---|---|---|
| ||
Admin Guide 1. Abiquo: DHCP |
Div | ||
---|---|---|
| ||
|
Introduction
...
For private, external and public networks, Abiquo uses can manage their corresponding VLANs with an ISC DHCP server to manage VLANs (or VXLANs). Abiquo recommends one DHCP server per physical datacenter, registered in remote services. Additional DHCP servers may be incorporated in network virtualization solutions. The types of DHCP server configuration are as follows: For these networks you can use a Remote services DHCP server supplied with Abiquo or other compatible server
...
. If you have many virtual
...
networks, you might need a separate relay server to manage VLANs for the DHCP server
...
. Add the DHCP service to Abiquo when creating or editing a datacenter
...
- In an Abiquo datacenter, create a logical device that will enable Abiquo to connect via the API of the network virtualization system to its DHCP server. See Manage Devices for SDN.
- If the network virtualization system DHCP server is not available, Abiquo will fall back to the datacenter remote services DHCP server
For unmanaged networks, Abiquo does not use a DCHP server. So if your platform will only use unmanaged networks, you do not need to configure a DHCP server. However, you must provide the network addresses to the virtual machines outside of Abiquo .
To display the version of DHCP used by Abiquo, run the following command on the Abiquo remote services :
Code Block |
---|
# /usr/sbin/dhcpd --version
isc-dhcpd-4.1.1-P1 |
Abiquo uses the DHCP server to:
- Manage the VLANs (or VXLANS), serving IP addresses to virtual machines
- Serve static routes to virtual machines using the DHCP option
- Serve information from the Chef integration using the vendor encapsulated options
- The Chef integration is not available with NSX
...
and you do not need to configure a DHCP server.
How Abiquo uses DHCP
The connections in DHCP are as follows:
- When you deploy a virtual machine, Abiquo (Remotes Services) supplies the network settings for the new VM to the DHCP Server.
- When the new virtual machine powers on, it broadcasts a DHCP request for network configuration.
- The hypervisor passes the DHCP request through a VLAN to the DHCP server.
- The DHCP server broadcasts a lease with the network configuration for the virtual machine over the same VLAN
...
When configuring DHCP for a datacenter using the remote services, the possible DHCP configurations are:
...
Configuration
...
Capacity (per Datacenter)
- DHCP Server only
...
- for < 200 VLANs
- DHCP Server with DHCP Relay
...
- for < 1000 VLANs
- DHCP Server with
...
- muliptle DHCP Relays
...
- for > 1000 VLANs
...
- .
...
...
title | Recommended Configuration |
---|
Abiquo recommends that you use a separate machine for VLAN support, not the DHCP Server included with the Remote Services. Remember to enter the DHCP Server address in the Remote Services for your physical datacenter in the Abiquo GUI. If you are using a DHCP Relay Server, do not configure support for VLANs on the DHCP Server. If you need to add more VLANs to this configuration, you can add more relay servers at a later date.
DHCP Server
The DHCP Server listens to all the VLANs. Abiquo recommends that you use a separate DHCP Server (not the Remote Services DHCP Service) in this configuration.
...
The DHCP relay server listens to all the VLANs and forwards the DHCP requests to the DHCP Server. In this configuration you can use the DHCP server on the Remote Services server.
DHCP Server with multiple DHCP Relays
...
The DHCP Relay Server (or DHCP Server if no relays are used) must be able to listen to VLANs. So it must be a separate physical machine or specially configured a virtual machine .
If you wish to use a virtual machine, follow one of these configuration guides to prepare the virtual machine:
...
on a hypervisor with VLAN support, such as VMware ESXi (see How to configure an ESXi host to support VLAN tagging)
...
or
...
Then continue with the appropriate install section for your configurationRedHat KVM.
Install DHCP Server
- Install CentOS
Install a separate DHCPD server
Code Block yum install dhcpd
- Do the steps in Configuring a DHCP Server
...