Da ist die dhcpd.conf
#
# Sample configuration file for ISC dhcpd for Debian
#
# th at linuxmuster.net
# 24.07.2015
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
server-identifier server;
update-static-leases true;
# option definitions common to all supported networks...
server-name "server.linuxmuster-net.lokal";
option domain-name "linuxmuster-net.lokal";
option domain-name-servers 10.16.1.1;
option netbios-name-servers 10.16.1.1;
option ntp-servers 10.16.1.1;
option routers 10.16.1.254;
option font-servers 10.16.1.1;
option subnet-mask 255.240.0.0;
option broadcast-address 10.31.255.255;
use-host-decl-names on; #rembo
default-lease-time 86400;
max-lease-time 86400;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
allow booting;
allow bootp;
# pxelinux options
option vendor-encapsulated-options
09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = string;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
site-option-space "pxelinux";
option pxelinux.magic f1:00:74:7e;
if exists dhcp-parameter-request-list {
# Always send the PXELINUX options (specified in hexadecimal)
option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-list,d0,d1,d2,d3);
}
option configfile code 150 = string;
# Define option 150 for the grub menu
option grubmenu code 150 = text;
option arch code 93 = unsigned integer 16; #RFC4578
# arch specific (pretty useless, need to tag filename on a per host basis)
if option arch = 00:06 {
filename "boot/grub/i386-efi/core.efi";
} else if option arch = 00:07 {
filename "boot/grub/x86_64-efi/core.efi";
} else {
filename "boot/grub/i386-pc/core.0";
}
next-server 10.16.1.1;
### linuxmuster - begin ### DON'T REMOVE THIS LINE ###
# subnet for workstation import
subnet 10.16.0.0 netmask 255.240.0.0 {
range 10.16.1.100 10.16.1.200;
max-lease-time 3600;
default-lease-time 3600;
option host-name "pxeclient";
}
### linuxmuster - end ### DON'T REMOVE THIS LINE ###
group {
# groessere lease time fuer feste ips
default-lease-time 172800;
max-lease-time 172800;
# dynamically created stuff by import_workstations is included
include "/etc/dhcp/dhcpd.conf.linuxmuster";
# put your custom stuff in this included file
include "/etc/dhcp/dhcpd.conf.custom";
}
Am 11. September 2016 um 10:22 schrieb Alois Raunheimer <
[email protected]>:
> Hallo Michael,
>
> bei meiner Version 6.2 ist Abschnitt genau so da. Wenn der dhcp nicht
> laufen würde, dann würde bei Dir im Netz gar nichts laufen.
>
> Ich schick Dir gleich die Datei.
>
> Gruß
>
> Alois
>
> Am 11. September 2016 um 08:56 schrieb Michael Hagedorn <
> [email protected]>:
>
>>
>>
>> > ich möchte daran erinnern, dass die IP 10.16.1.100 ebenso wie
>> > 10.16.1.200 genau im Lease des DHCP sind (die beiden Enden): beide
>>
>> Hallo nochmal ... ich hatte mich in einem anderen Beitrag ja schon
>> darüber gewundert, dass seit der Umstellung auf 6.1 kein DHCP-Server in
>> grün mehr zu laufen scheint?!?
>> Nach deinem Beitrag von gestern dachte ich, dass ich die Range in grün
>> ja auch kleiner einstellen kann um nicht mit den IP-Adressen in Konflikt
>> zu kommen ... und siehe da: Ich bin auf einen alten Beitrag von 2014
>> gestoßen:
>>
>> http://www.linuxmuster.net/forum/forum.php?req=thread&postid=2697
>>
>> Es scheint auch hier so zu sein, dass der ganze Abschnitt in der
>> /etc/dhcp/dhcpd.conf fehlt und deshalb dhcp in grün nicht funktioniert!?
>>
>> Der Bug sollte ja eigentlich laut Forum längst gefixt sein -- dennoch
>> fehlt der Abschnitt hier. Ich habe das Verzeichnis bereits nach dem
>> Suchbegriff "10.16.1.100" durchsuchen lassen -- auch in anderen Dateien
>> steckt es nicht.
>>
>> Also daher nochmal die Frage: Ist das noch ein Bug? Wer kann man seine
>> vollständig funktionierende dhcpd.conf-Datei posten, damit ich
>> vergleichen kann?
>>
>> Danke nochmal,
>> Michael
>>
>>
>> _______________________________________________
>> linuxmuster-user mailing list
>> [email protected]
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
>>
>
>
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user