DHCP Server startet nicht
Hallo ich versuche jetzt schon seit zwei Tagen einen DHCP3 Server aufzusetzten, leider ist es bei dem Versuch geblieben.
Beim Starten des Servers erscheint immer ein FAIL.
Ein Blick ins Daemon.log zeigt folgendes:
Oct 3 22:48:39 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:48:39 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:48:39 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:48:39 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:48:41 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:48:41 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:48:41 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:48:41 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:48:41 gaensebluemchen dhcpd: Wrote 0 leases to leases file.
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd: No subnet declaration for eth0 (192.168.2.102).
Oct 3 22:48:41 gaensebluemchen dhcpd: Ignoring requests on eth0. If this is not what
Oct 3 22:48:41 gaensebluemchen dhcpd: you want, please write a subnet declaration
Oct 3 22:48:41 gaensebluemchen dhcpd: in your dhcpd.conf file for the network segment
Oct 3 22:48:41 gaensebluemchen dhcpd: to which interface eth0 is attached.
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd: Not configured to listen on any interfaces!
Oct 3 22:49:09 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:49:09 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:49:09 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:49:09 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:49:11 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:49:11 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:49:11 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:49:11 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:49:11 gaensebluemchen dhcpd: Wrote 0 leases to leases file.
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd: No subnet declaration for eth0 (192.168.2.102).
Oct 3 22:49:11 gaensebluemchen dhcpd: Ignoring requests on eth0. If this is not what
Oct 3 22:49:11 gaensebluemchen dhcpd: you want, please write a subnet declaration
Oct 3 22:49:11 gaensebluemchen dhcpd: in your dhcpd.conf file for the network segment
Oct 3 22:49:11 gaensebluemchen dhcpd: to which interface eth0 is attached.
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd: Not configured to listen on any interfaces!
Auch ein Blick in den DHCP WIKI Artikel brachte mich nicht wirklich weiter. Die Schnittstelle habe ich in der /etc/default/dhcp3-server auf "eth0" gesetzt.
Meine dhcpd.conf:
Code:
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.3 192.168.2.200;
option domain-name "widey.local";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
Beim Starten des Servers erscheint immer ein FAIL.
Ein Blick ins Daemon.log zeigt folgendes:
Oct 3 22:48:39 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:48:39 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:48:39 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:48:39 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:48:41 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:48:41 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:48:41 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:48:41 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:48:41 gaensebluemchen dhcpd: Wrote 0 leases to leases file.
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd: No subnet declaration for eth0 (192.168.2.102).
Oct 3 22:48:41 gaensebluemchen dhcpd: Ignoring requests on eth0. If this is not what
Oct 3 22:48:41 gaensebluemchen dhcpd: you want, please write a subnet declaration
Oct 3 22:48:41 gaensebluemchen dhcpd: in your dhcpd.conf file for the network segment
Oct 3 22:48:41 gaensebluemchen dhcpd: to which interface eth0 is attached.
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd:
Oct 3 22:48:41 gaensebluemchen dhcpd: Not configured to listen on any interfaces!
Oct 3 22:49:09 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:49:09 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:49:09 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:49:09 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:49:11 gaensebluemchen dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Oct 3 22:49:11 gaensebluemchen dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Oct 3 22:49:11 gaensebluemchen dhcpd: All rights reserved.
Oct 3 22:49:11 gaensebluemchen dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 3 22:49:11 gaensebluemchen dhcpd: Wrote 0 leases to leases file.
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd: No subnet declaration for eth0 (192.168.2.102).
Oct 3 22:49:11 gaensebluemchen dhcpd: Ignoring requests on eth0. If this is not what
Oct 3 22:49:11 gaensebluemchen dhcpd: you want, please write a subnet declaration
Oct 3 22:49:11 gaensebluemchen dhcpd: in your dhcpd.conf file for the network segment
Oct 3 22:49:11 gaensebluemchen dhcpd: to which interface eth0 is attached.
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd:
Oct 3 22:49:11 gaensebluemchen dhcpd: Not configured to listen on any interfaces!
Auch ein Blick in den DHCP WIKI Artikel brachte mich nicht wirklich weiter. Die Schnittstelle habe ich in der /etc/default/dhcp3-server auf "eth0" gesetzt.
Meine dhcpd.conf:
Code:
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.3 192.168.2.200;
option domain-name "widey.local";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
- LTSP, nötig damit die Clients booten können
option root-path "/opt/ltsp/i386";
}
Die IP meines Rechners: 192.168.2.102
Falls jemand auch auf dieses Problem gestoßen ist, wäre es nett wenn er seine Lösung posten könnte.
Gruß
Daniel
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 70086
Url: https://administrator.de/contentid/70086
Ausgedruckt am: 05.11.2024 um 17:11 Uhr
3 Kommentare
Neuester Kommentar