PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ISC-DHCP-Server startet nicht!



Holywarrior1
22.07.14, 14:48
Hallo Leute! Wollte mal einen DHCP-Server in Linux installieren. Benutze den Isc-dhcp-server. Habe alles konfiguriert, doch wenn ich den DHCP neustarten will, dann erscheint diese Meldung:

20644

Habe in der /etc/dhcp/dhcpd.conf mal nachgeschaut, aber weiß nicht wo das semicolon hin soll!

20645

Danke im Vorraus!

:)

Sauerland1
22.07.14, 16:52
Ist das jetzt noch aktuell:
http://www.linuxforen.de/forums/showthread.php?277136-Debian-Wheezy-7-3-0-DHCP-Startet-nicht!

PS:
Konsolenausgaben bitte per Copy/Paste in Codetags posten, nicht als Bilder.

Holywarrior1
22.07.14, 19:24
Ne, ist nicht mehr aktuell. Kannst du mir sagen wie ich Copy & Paste in Debian? Läuft ja in einer VM.

Sauerland1
22.07.14, 19:44
Ne, ist nicht mehr aktuell.

Dann solltest Du das aber auch dort erwähnen.


Kannst du mir sagen wie ich Copy & Paste in Debian? Läuft ja in einer VM.

Wenn die VM eingerichtet ist, genau so wie sonst auch, mit der Maus oder mit Strg+Shift+C oder V oder......

Holywarrior1
22.07.14, 19:58
/etc/dhcp/dhcpd.conf:


subnet 192.168.178.0 netmask 255.255.255.0 {
range 192.168.178.100 192.168.178.200;
option domain-name-servers 192.168.178.1 (DHCP + DNS)
option domain-name "testdomain.local";
option routers 192.168.178.2 ( DNS + AD Server)
option broadcast-address 192.168.178.255
max-lease-time 7200;
....

host debian-server2 (servername) {
hardware ethernet 00:0c:29:35:72:17;
fixed-address 192.168.178.2;
option-host-name "debian-server2";
}
...

key dhcpkey {
algorithm hmac-md5;
secret "TOgWHlnCwY/ITsKNiajszLqNM1v41tIC4c5LASekas==";
}

zone testdomain.local. {
primary 192.168.178.1
key dhcpkey;
}
zone 178.168.192.in-addr.arpa. {
primary 192.168.178.1
key dhcpkey;
}

ddns-update-style interim
ddns-domainname "testdomain.local";
ddns-updates on;
do-forward-updates on;

FM_81
27.07.14, 12:03
Die fehlenden Semikolons einfügen?
subnet 192.168.178.0 netmask 255.255.255.0 {
range 192.168.178.100 192.168.178.200;
option domain-name-servers 192.168.178.1; # (DHCP + DNS)
option domain-name "testdomain.local";
option routers 192.168.178.2; # ( DNS + AD Server)
option broadcast-address 192.168.178.255;
max-lease-time 7200;
....

host debian-server2 (servername) {
hardware ethernet 00:0c:29:35:72:17;
fixed-address 192.168.178.2;
option-host-name "debian-server2";
}
...

key dhcpkey {
algorithm hmac-md5;
secret "TOgWHlnCwY/ITsKNiajszLqNM1v41tIC4c5LASekas==";
}

zone testdomain.local. {
primary 192.168.178.1;
key dhcpkey;
}
zone 178.168.192.in-addr.arpa. {
primary 192.168.178.1;
key dhcpkey;
}

ddns-update-style interim;
ddns-domainname "testdomain.local";
ddns-updates on;
do-forward-updates on;

MfG, FM_81