How to setup the dhcp-plugin

FIXME part of this are obsolete and should be redone FIXME


In order to use dhcp plugin, you need to have a dhcp server installed and configured in your infrastructure environnement. You can do that installing the following:



root@dhcp-server:~# apt-get install dhcp3-server-ldap


root@dhcp-server:~# apt-get install isc-dhcp-server-ldap


yum install isc-dhcp-server-ldap

In order to install dns plugin, you need to have installed and configured Systems plugin. If you don't know how to install him, you can take a look at:

Install required packages


root@fd-server:~# apt-get install fusiondirectory-plugin-dhcp


rpm user, please edit

Install required schemas


root@fd-server:~# apt-get install fusiondirectory-plugin-dhcp-schema
root@fd-server:~# fusiondirectory-insert-schema -i /etc/ldap/schema/fusiondirectory/dhcp-fd.schema


yum install fusiondirectory-plugin-dhcp-schema
fusiondirectory-insert-schema -i /etc/openldap/schema/fusiondirectory/dhcp-fd.schema


In your dhcp-server add at the end of /etc/dhcp/dhcpd.conf file the following ldap configuration lines :

ldap-server "localhost";
ldap-port 389;
ldap-username "cn=ldapadmin,dc=my-domain,dc=com";
ldap-password "secret";
ldap-base-dn "dc=my-domain,dc=com";
ldap-method dynamic;
ldap-debug-file "/var/log/dhcp-ldap-startup.log";

Note: Adjust ldap-server, ldap-port, ldap-username, … to your environment.

rpm <TODO>

rpm user, please edit

Add dhcp service to a system in fusiondirectory

1. If not already done, create a new server in fusiondirectory. If you don't know, see how to create a new server.

2. Click on the new server:

3. Click on Services:

4. Create DHCP Service via Actions –> Create:

5. Insert a new dhcp section:

6. Choose new section “subnet” and click “Create”:

7. Fill in required fields and click “Save”:

8. Click “Save” again:

9. Click “Ok”:

NOTE: The hostname of the dhcp-server (machine running dhcpd) MUST BE the same as the name of the server you assigned the dhcp service in fusiondirectory !! Check your /etc/hosts and the interface defined in /etc/default/isc-dhcp-server

Note on tftp setup and ddns

The tftp settings may need to be set at the Global Option 'dhcp' level of the DHCP Service.

If you define it in the subnet, make sure to save all screens untill the one listing all system's services

The Dynamic DNS update style need to be set at the Global Option level.

Generic section:

  • check out “Authoritative service”
  • Dynamic DNS update: “interim”

Bootup section :

Must include

  • “filename”: Path/to/your/pxelinux.0 within your tftp root
  • “next server”: servername or IP
en/documentation/plugin/dhcp_plugin/how_to_setup_dhcp_plugin_1.0.5.txt · Last modified: 2017/10/31 10:32 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0