Lieber Besucher, herzlich willkommen bei: Linux Forum Linux-Web.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Zitat
Original von johannesabrunner
wenn nein
dann IP Adresse aus Range zuweisen
und einen Eintrag in der dhcp.conf anlegen das der Rechner
diese IP ab dann als static innehat.
Zitat
Original von johannesabrunner
Für mich ist weniger die Anpassung der dyn Ranges das Problem als vielmehr die Frage wie kann ich den DHCP-Server dazu bringen ein entsprechendes Skript immer dann auszuführen wenn ein Client ankommt und nachfragt.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
log-facility facility; This statement causes the DHCP server to do all of its logging on the specified log facility once the dhcpd.conf file has been read. By default the DHCP server logs to the daemon facility. Possible log facilities include auth, authpriv, cron, daemon, ftp, kern, lpr, mail, mark, news, ntp, security, syslog, user, uucp, and local0 through local7. Not all of these facilities are available on all systems, and there may be other facilities available on other sys tems. In addition to setting this value, you may need to modify your syslog.conf file to configure logging of the DHCP server. For example, you might add a line like this: local7.debug /var/log/dhcpd.log |