ich habe isc-dhcp.server auf meinem Debian 7.8 installiert. Dieser soll nun für das Subnetz 10.4.1.0 den DHCP Regeln.
Das ganze sieht aber so aus:
Debian Server --------------------------- Router ------------------------ Clients
Zwischen Server und Router liegt das Subnetz 10.6.1.0 auf eth1 des Servers (Server IP: 10.6.1.1).
Der Router routet zwischen 10.6.1.0 und 10.4.1.0 (und auch noch 10.5.1.0, hier aber unwichtig).
IP Helper ist auf dem Router eingestellt und zeigt auf den Server (10.6.1.1).
Code: Alles auswählen
dhcp.conf:
#
# Sample configuration file for ISC dhcpd for Debian
#
#
# 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.)
ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# 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;
# This is a very basic subnet declaration.
subnet 10.4.1.0 netmask 255.255.255.0 {
interface eth1;
range 10.4.1.100 10.4.1.150;
option routers 10.4.1.10;
option subnet-mask 255.255.255.0;
option broadcast-address 10.4.1.255;
option domain-name-servers 16.110.135.52;}
Code: Alles auswählen
INTERFACES=“eth1“
Code: Alles auswählen
[FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed!
failed!
Code: Alles auswählen
Mar 26 10:24:23 debianVPNServer dhcpd: No subnet declaration for eth1 (10.6.1.1).
Mar 26 10:24:23 debianVPNServer dhcpd: ** Ignoring requests on eth1. If this is not what
Mar 26 10:24:23 debianVPNServer dhcpd: you want, please write a subnet declaration
Mar 26 10:24:23 debianVPNServer dhcpd: in your dhcpd.conf file for the network segment
Mar 26 10:24:23 debianVPNServer dhcpd: to which interface eth1 is attached. **
Wie muss ich hier vorgehen?