#107 DHCP Plugin does not work well with DHCP Failover feature

dhcp ldap (1)

when the failover feature is activated (a part of LDAP DHCP configuration), the DHCP module for LAM is not working well with this configuration:
- I cannot manage IP ranges for DHCP subnets - as they are not directly included in "subnet" object, but instead, the ranges are part of "pool" sub-object of "subnet". currently the "Ranges" tab is empty even if there is range really defined.
- Deleting existing "host" LDAP objects (which are leafs of "pool" subobject) are not working. I am able to add new "host" object, but unable to delete existing one.



  • michal.bruncko

    michal.bruncko - 2013-09-24

    when you try to delete "host" object - the LAM is trying to delete it without "pool" object subtree RDN.

    It is deleting following entry:
    Sep 25 00:44:35 auth1 slapd[758]: conn=1021 op=2 DEL dn="cn=gd3,cn=,cn=DHCP Config,dc=exmaple,dc=local"

    but the real entry is: dn="cn=gd3,cn=pool1,cn=,cn=DHCP Config,dc=exmaple,dc=local"

    all new "host" entries are added (using LAM) directly inside the "cn=,cn=DHCP Config,dc=exmaple,dc=local" container.

  • Roland Gruber

    Roland Gruber - 2013-09-26

    Can you provide an LDIF with some example values? I need the dhcpServer/Service, subnet, pool and host entries.

    Then I can check if pools can be supported with the current LAM modules.

  • michal.bruncko

    michal.bruncko - 2013-10-01

    attaching ldif file. with simple subnet structure - dynamic range is a part of pool sub-object. according all information "host" entries should be inside the "pool" object according example here: https://deepthought.isc.org/article/AA-00502/0/A-Basic-Guide-to-Configuring-DHCP-Failover.html - "6) Add peer references to each subnet / pool for which you want to do failover. e.g.".

    Currently we moved host entries from "pool" object directly to "subnet" object like without failover feature (we wanted to have LAM working with DHCP) but it seems that it is not completely valid with failover feature.

    "failover peer" sections are a part of dhcpd.conf file configuration directly (but maybe there could be stored in LDAP, not checked).

  • Roland Gruber

    Roland Gruber - 2013-10-04

    Ticket moved from /p/lam/bugs/155/

  • Roland Gruber

    Roland Gruber - 2013-10-04

    Can you give me some details how this failover is working? Is "failover-partner" visible as LDAP-entry? Where is the primary server specified that servers the DHCP pools?
    Any additional changes needed besides moving host entries below the pool entries?

    This is a large structural change, moving to feature requests...
    I think this can be supported in 4.5. A new pooling module will be needed and the LAM user can then select which mode should be used.

  • Roland Gruber

    Roland Gruber - 2014-02-28

    Too much effort for 4.5, moving to 4.6.

  • Roland Gruber

    Roland Gruber - 2014-05-31
    • Group: v4.3 --> 4.7
  • fredof

    fredof - 2014-08-07


    I have the same problem about « DHCP Ranges » and « DHCP Failover ».

    You will find attached my ldap tree.

    The question is, is it possible to use LAM to run isc-dhcp with the « DHCP FailOver » feature ?

  • Roland Gruber

    Roland Gruber - 2014-08-12

    It is planned to support pools in the next release.

    The current method may also work with your LDAP server. You need to try.

  • Roland Gruber

    Roland Gruber - 2014-09-13

    Implemented, please try the release candidate that will be published the next few days.

    Sorry that it took so long.

  • Roland Gruber

    Roland Gruber - 2014-09-15
    • status: open --> closed-fixed
    • assigned_to: Roland Gruber

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks