I want to configure my Raspberrypi as DNS / DHCP Server. DNS works fine, but I have some problems with the DHCP configuration.
The problem is:
Code: Select all
root@raspberrypi:/etc/dhcp# dhcpd -t -cf dhcpd.conf
Internet Systems Consortium DHCP Server 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
WARNING: Host declarations are global. They are not limited to the scope you declared them in.
dhcpd.conf line 33: expecting numeric value.
hardware ethernet?
Configuration file errors encountered -- exiting
Code: Select all
host raspi {
hardware ethernet b8:27:eb:69:25:cc;
fixed-address 192.168.2.82;
option host-name "raspi";
}
Code: Select all
Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
Thanks in advance