Hallo,
ich habe Probiert einen DHCP Server unter Debian 8.3 mit isc-dhcp-server einzurichten. Leider bekomme ich beim starten des Service folgenden Fehler:
Befehl: systemctl status isc-dhcp-server.service
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ? isc-dhcp-server.service - LSB: DHCP server Loaded: loaded (/etc/init.d/isc-dhcp-server) Active: failed (Result: exit-code) since Mo 2017-05-15 13:11:10 CEST; 8min ago Process: 455 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE) Mai 15 13:11:08 ****** dhcpd[526]: bugs on either our web page at www.isc.or...le Mai 15 13:11:08 ****** dhcpd[526]: before submitting a bug. These pages exp...er Mai 15 13:11:08 ****** dhcpd[526]: process and the information we find helpf..... Mai 15 13:11:08 ****** dhcpd[526]: Mai 15 13:11:08 ****** dhcpd[526]: exiting. Mai 15 13:11:10 ****** isc-dhcp-server[455]: Starting ISC DHCP server: dhcpdc...! Mai 15 13:11:10 ****** isc-dhcp-server[455]: failed! Mai 15 13:11:10 ****** systemd[1]: isc-dhcp-server.service: control process ...=1 Mai 15 13:11:10 ****** systemd[1]: Failed to start LSB: DHCP server. Mai 15 13:11:10 ****** systemd[1]: Unit isc-dhcp-server.service entered fail...e. Hint: Some lines were ellipsized, use -l to show in full. |
die Konfiguration des System ist wie Folgt:
/etc/network/interfaces
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.1.1 netmask 255.255.255.192 gateway 192.168.1.1 |
/etc/default/isc-dhcp-server
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Defaults for isc-dhcp-server initscript # sourced by /etc/init.d/isc-dhcp-server # installed at /etc/default/isc-dhcp-server by the maintainer scripts # # This is a POSIX shell fragment # # Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf). #DHCPD_CONF=/etc/dhcp/dhcpd.conf # Path to dhcpd's PID file (default: /var/run/dhcpd.pid). #DHCPD_PID=/var/run/dhcpd.pid # Additional options to start dhcpd with. # Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead #OPTIONS="" # On what interfaces should the DHCP server (dhcpd) serve DHCP requests? # Separate multiple interfaces with spaces, e.g. "eth0 eth1". INTERFACES="eth0" |
/etc/dhcp/dhcp.conf
1 2 3 4 5 6 7 8 | subnet 192.168.1.0 netmask 255.255.255.192{ option subnet-mask 255.255.255.192; option broadcast-address 192.168.1.63; option routers 192.168.1.1; pool{ range 192.168.1.2 192.168.1.60; } } |
Habe ich ein Fehler in der Konfiguration? Liegt mein Fehler ganz wo anders? Vorab Danke für die Hilfe!