Starting LSB: DHCP server...
isc-dhcp-server[4710]server[5786]: Launching IPv4 server only.
dhcpd[4723]dhcpd[5793]: Wrote 0/etc/dhcp/dhcpd.conf leasesline to13: leasessubnet file192.
dhcpd[4723]:168.2.101
dhcpd[4723]netmask 255.255.255.0: Nobad subnet declarationnumber/mask forcombination.
dhcpd[5793]: eth0subnet (no192.168.2.101 IPv4netmask addresses)255.255.255.0
dhcpd[4723]dhcpd[5793]: ** Ignoring requests on eth0. If this is not what
dhcpd[4723]: you want, please write a subnet declaration
dhcpd[4723]: in your dhcpd.conf file for the network segment
dhcpd[4723]: to which interface eth0 is attached. **
dhcpd[4723]:
dhcpd[4723]: ^
dhcpd[4723]dhcpd[5793]: Not configuredConfiguration tofile listenerrors onencountered any-- interfaces!exiting
dhcpd[4723]dhcpd[5793]:
dhcpd[4723]dhcpd[5793]: If you think you have received this message due to a bug rather
dhcpd[4723]dhcpd[5793]: than a configuration issue please read the section on submitting
dhcpd[4723]isc-dhcp-server[5786]: dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
isc-dhcp-server[5786]: The error was:
dhcpd[5793]: bugs on either our web page at www.isc.org or in the README file
dhcpd[4723]dhcpd[5793]: before submitting a bug. These pages explain the proper
dhcpd[4723]dhcpd[5793]: process and the information we find helpful for debugging.
dhcpd[4723]dhcpd[5793]:
dhcpd[4723]dhcpd[5793]: exiting.
dhcpd[5797]: Internet Systems Consortium DHCP Server 4.4.1
isc-dhcp-server[4710]server[5797]: StartingInternet ISCSystems DHCPv4Consortium serverDHCP Server 4.4.1
isc-dhcp-server[5797]: dhcpdcheckCopyright syslog2004-2018 forInternet diagnosticsSystems Consortium.
isc-dhcp-server[5797]: All rights reserved.
isc-dhcp-server[5797]: For info, please visit https://www.isc.org/software/dhcp/
dhcpd[5797]: Copyright 2004-2018 Internet Systems Consortium.
dhcpd[5797]: All rights reserved.
dhcpd[5797]: For info, please visit https://www.isc.org/software/dhcp/
dhcpd[5797]: /etc/dhcp/dhcpd.conf line 13: subnet 192.168.2.101 netmask 255.255.255.0: bad subnet number/mask combination.
dhcpd[5797]: subnet 192.168.2.101 netmask 255.255.255.0
isc-dhcp-server[4728]server[5797]: /etc/dhcp/dhcpd.conf failed!line 13: subnet 192.168.2.101 netmask 255.255.255.0: bad subnet number/mask combination.
isc-dhcp-server[4729]server[5797]: subnet failed!192.168.2.101 netmask 255.255.255.0
systemd[1]isc-dhcp-server[5797]: ^
isc-dhcp-server.serviceserver[5797]: ControlConfiguration processfile exited,errors code=exited,encountered status=1/FAILURE-- exiting
systemd[1]isc-dhcp-server[5797]: If you think you have received this message due to a bug rather
isc-dhcp-server.serviceserver[5797]: Failedthan witha resultconfiguration 'exitissue please read the section on submitting
isc-code'dhcp-server[5797]: bugs on either our web page at www.isc.org or in the README file
systemd[1]isc-dhcp-server[5797]: Failedbefore tosubmitting starta LSBbug. These pages explain the proper
isc-dhcp-server[5797]: DHCPprocess serverand the information we find helpful for debugging.
isc-dhcp-server[5797]: exiting.
sudo nano /etc/dhcp/dhcpd.conf
...
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers 8.8.8.8;
...
subnet 192.168.12.0101 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.10;
option routers pepper.spices.org;
}
...
authoritative;
...