<HTML dir=ltr><HEAD><TITLE>Re: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17093" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText94267 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Example ....</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>subnet 163.183.48.0 netmask 255.255.255.128 {</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>}</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Arun Sasi V (WI01 - Manage IT)<BR><B>Sent:</B> Fri 2/4/2011 1:47 PM<BR><B>To:</B> Users of ISC DHCP; Users of ISC DHCP<BR><B>Subject:</B> RE: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText47845 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I think there is no V-LAN concept... Try to declare the server subnet in dhcp.conf file... and restart the service...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Let me know the status</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> dhcp-users-bounces+arun.sasi1=wipro.com@lists.isc.org on behalf of Juergen Northe<BR><B>Sent:</B> Fri 2/4/2011 12:54 PM<BR><B>To:</B> Users of ISC DHCP<BR><B>Subject:</B> Re: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hello Arun,<BR>the subnet is declared in ldap but not found by dhcpd.<BR><BR>2011/2/4 <arun.sasi1@wipro.com>:<BR>> Hi,<BR>><BR>> Please mention the server subnet in dhcpd.conf file.<BR><BR>>><BR>>> Can you check the logfile "/var/log/dhcp-ldap-startup.log".<BR>>><BR>>> There you should be able to see with what the dhcp server is starting up<BR>>> with.<BR>>><BR>>><BR>> Hi,<BR>> thank you for your quick response!<BR>> I already checked this file. Nothing helpful in there ?!<BR>> I forgot to mention that the host is a virtual one, running KVM.<BR>> Iptables are not uses (flushed) and freeradius can connect to the ldap<BR>> server using the same ip 172.17.5.254. ldapsearch is also successfully<BR>> (copy / paste from dhcpd.conf). Hmmm.<BR>><BR>> ------<BR>> cat /var/log/dhcp-ldap-startup.log.trace<BR>> ------<BR>> dHCpMJÞþconnection-outputMJÞþconnection-inputMJÞþdisconnect<BR>><BR>> MJÞþconnectMJÞþlistenMJÞþinterface<BR>> MJÞoutpacket<BR>> MJÞþ readconfMJÞþ1<BR>> readleasesMJÞþ<BR>> random-seedMJÞþ<BR>> ddns-inputMJÞþicmp-inputMJÞþicmp-output<BR>> ,MJÞþ/etc/dhcpd.confldap-server "jh-server254.intra.company.de";<BR>> ldap-port 389;<BR>> ldap-username "uid=admindhcpd,ou=people,dc=company,dc=de";<BR>> ldap-password "xxxxxxxxxxx";<BR>> ldap-base-dn "dc=company,dc=de";<BR>> ldap-method static;<BR>> ldap-debug-file "/var/log/dhcp-ldap-startup.log";<BR>><BR>><BR>> MJÞþ/var/db/dhcpd.leases# The format of this file is documented in the<BR>> dhcpd.leases(5) manual page.<BR>><BR>> --<BR>><BR>> Regards<BR>> Jürgen Northe<BR>><BR>> Hi,<BR>><BR>> If the startup logfile is empty then it's not getting the info correctly.<BR>> You should see some dhcp definitions in there.<BR>><BR>> It's also possible the ldap function in 4.2.0 is buggy. ( i currently use<BR>> 4.1.1 )<BR>><BR>> Cheers,<BR>><BR>> Richard<BR>><BR>> Please do not print this email unless it is absolutely necessary.<BR>><BR>> The information contained in this electronic message and any attachments to<BR>> this message are intended for the exclusive use of the addressee(s) and may<BR>> contain proprietary, confidential or privileged information. If you are not<BR>> the intended recipient, you should not disseminate, distribute or copy this<BR>> e-mail. Please notify the sender immediately and destroy all copies of this<BR>> message and any attachments.<BR>><BR>> WARNING: Computer viruses can be transmitted via email. The recipient should<BR>> check this email and any attachments for the presence of viruses. The<BR>> company accepts no liability for any damage caused by any virus transmitted<BR>> by this email.<BR>><BR>> www.wipro.com<BR>><BR>> _______________________________________________<BR>> dhcp-users mailing list<BR>> dhcp-users@lists.isc.org<BR>> <A href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</A><BR>><BR><BR><BR><BR>--<BR><BR><BR><BR>mit freundlichem Gruss<BR>Jürgen Northe<BR>_______________________________________________<BR>dhcp-users mailing list<BR>dhcp-users@lists.isc.org<BR><A href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</A></FONT> </P></DIV></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>
<p> 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. </p>
<p>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. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>