Denis Taranushin tda at suttk.ru
Thu Jun 9 04:40:37 UTC 2016

I have dhcp and I'd like to use it as dhcp v6. Now I use static config 
(and it works):
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 2A02:0:400::/40 {
         # Range for clients
         range6 2A02:0:400::100 2A02:0:400::1000;

         # Range for clients requesting a temporary address
         range6 2A02:0:400::/64 temporary;

         # Additional options
         option dhcp6.name-servers 2001:4860:4860::8888;
         option dhcp6.domain-search "suttk.ru";

         # Prefix range for delegation to sub-routers
         prefix6 2A02:0:401:: 2a02:0:4ff:ff00:: /56;

But now I'd like to use LDAP (LDAP already used for ipv4. yes I know 
different instance needed).

For now I've added (my dhcp.ldif):
#dhcp server
dn: cn=dhcp1.v6.domain.ru,dc=domain,dc=ru
objectClass: top
objectClass: dhcpServer
cn: dhcp1.v6.domain.ru
dhcpServiceDN: cn=DHCP Service Config, dc=ipv6,dc=domain,dc=ru

#new instance
dn: dc=ipv6,dc=domain,dc=ru
dc: ipv6
o: domain.ru
objectClass: top
objectClass: dcObject
objectClass: organization

# Here is the config tree
dn: cn=DHCP Service Config, dc=ipv6,dc=domain,dc=ru
cn: DHCP Service Config
objectClass: top
objectClass: dhcpService
dhcpPrimaryDN: dc=ipv6,dc=domain,dc=ru
dhcpStatements: ddns-update-style none
dhcpStatements: default-lease-time 600
dhcpStatements: max-lease-time 7200

and.... what next?
how can I add range6, prefix6  etc?
Can someone provide example of ldif-file with some networks and 1-2 
static hosts?

More information about the dhcp-users mailing list