Sinon voila mon fichier de conf :
option domain-name-servers 126.0.0.100;
option domain-name "mondomaine.fr";
subnet 126.0.50.0 netmask 255.255.255.0 {
option routers 126.0.50.254;
option domain-name-servers 126.0.0.100;
option subnet-mask 255.255.255.0;
range 126.0.50.50 126.0.50.100;
}
Et voici l’erreur que ca me met lorsque je démarre le service dhcpd :
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit [www.isc.org...](http://www.isc.org/sw/dhcp/)
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
** You must add a global ddns-update-style statement to /var/lib/dhcp///etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad-hoc;"
Please read the dhcpd.conf manual page for more information. **
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
failed
J’ai donc rajouter la ligne “ddns-update-style ad-hoc;” a mon fichier de conf et lorsque je veut démarrer voici la nouvelle erreur :
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit [www.isc.org...](http://www.isc.org/sw/dhcp/)
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.
No subnet declaration for eth0 (192.168.36.150).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
failed
Une idée ?
Ici sur eth0 je suis sur 192.168.36.50 mais est-il possible que cette mm interface envoi des trame dhcp sur un reseau 126.0.50.0 sur la mm interface ?
Merci
Edité le 10/03/2008 à 07:57