dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0

Juergen Northe juergen.northe at googlemail.com
Fri Feb 4 07:24:20 UTC 2011


Hello Arun,
the subnet is declared in ldap but not found by dhcpd.

2011/2/4  <arun.sasi1 at wipro.com>:
> Hi,
>
> Please mention the server subnet in dhcpd.conf file.

>>
>> Can you check the logfile "/var/log/dhcp-ldap-startup.log".
>>
>> There you should be able to see with what the dhcp server is starting up
>> with.
>>
>>
> Hi,
> thank you for your quick response!
> I already checked this file. Nothing helpful in there ?!
> I forgot to mention that the host is a virtual one, running KVM.
> Iptables are not uses (flushed) and freeradius can connect to the ldap
> server using the same ip 172.17.5.254. ldapsearch is also successfully
> (copy / paste from dhcpd.conf). Hmmm.
>
> ------
> cat /var/log/dhcp-ldap-startup.log.trace
> ------
> dHCpMJÞþconnection-outputMJÞþconnection-inputMJÞþdisconnect
>
> MJÞþconnectMJÞþlistenMJÞþinterface
> MJÞoutpacket
> MJÞþ    readconfMJÞþ1
> readleasesMJÞþ
>               random-seedMJÞþ
> ddns-inputMJÞþicmp-inputMJÞþicmp-output
> ,MJÞþ/etc/dhcpd.confldap-server "jh-server254.intra.company.de";
> ldap-port       389;
> ldap-username   "uid=admindhcpd,ou=people,dc=company,dc=de";
> ldap-password   "xxxxxxxxxxx";
> ldap-base-dn    "dc=company,dc=de";
> ldap-method     static;
> ldap-debug-file "/var/log/dhcp-ldap-startup.log";
>
>
> MJÞþ/var/db/dhcpd.leases# The format of this file is documented in the
> dhcpd.leases(5) manual page.
>
> --
>
> Regards
> Jürgen Northe
>
> Hi,
>
> If the startup logfile is empty then it's not getting the info correctly.
> You should see some dhcp definitions in there.
>
> It's also possible the ldap function in 4.2.0 is buggy. ( i currently use
> 4.1.1 )
>
> Cheers,
>
> Richard
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



-- 



mit freundlichem Gruss
Jürgen Northe



More information about the dhcp-users mailing list