I have a fritzbox with his own dhcp server and a managed switch.
now i want to create a addional VPN ID on my switch with his own dhcp server over raspberry.
the raspberry is connected over wifi with the fritzbox and has internet.
the raspberry is connected over lan with VLAN002.
now my first step was configured static ips for wlan0 and eth0
Code: Select all
File: /etc/dhcpcd.conf
# vlan ip gateway
interface eth0
static ip_address=192.168.17.1/24
static routers=192.168.17.1
static domain_name_servers=192.168.17.1
# connect to fritzbox
interface wlan0
static ip_address=192.168.178.15/24
static routers=192.168.178.1
static domain_name_servers=192.168.178.1Code: Select all
authoritative;
option domain-name "zesa.int";
option domain-name-servers 192.168.17.253;
option broadcast-address 192.168.17.0;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.17.0 netmask 255.255.240.0 {
range 192.168.17.10 192.168.17.250;
option routers 192.168.17.253;
interface eth0;
}
and i dont know why:
Code: Select all
isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-07-06 22:11:19 UTC; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 1579 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
CGroup: /system.slice/isc-dhcp-server.service
└─894 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf eth0
Jul 06 22:11:19 emil isc-dhcp-server[1579]: Configuration file errors encountered -- exiting
Jul 06 22:11:19 emil isc-dhcp-server[1579]: If you think you have received this message due to a bug r
Jul 06 22:11:19 emil isc-dhcp-server[1579]: than a configuration issue please read the section on subm
Jul 06 22:11:19 emil isc-dhcp-server[1579]: bugs on either our web page at www.isc.org or in the READM
Jul 06 22:11:19 emil isc-dhcp-server[1579]: before submitting a bug. These pages explain the proper
Jul 06 22:11:19 emil isc-dhcp-server[1579]: process and the information we find helpful for debugging.
Jul 06 22:11:19 emil isc-dhcp-server[1579]: exiting.
Jul 06 22:11:19 emil systemd[1]: Failed to start LSB: DHCP server.
Jul 06 22:11:19 emil systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Jul 06 22:11:19 emil systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.thanks