No subnet declaration; Can't open /var/lib/dhcp/dhcpd.leases for append

Bill Shirley bill at c3po.polymerindustries.biz
Sat Jan 27 05:04:33 UTC 2018


Shouldn't the netmask be 255.255.255.0 ?

On 1/26/2018 4:57 PM, A wrote:
> iface enp4s5 inet static
>     address 10.1.1.2/24
>     gateway 10.1.1.1
>     network 10.1.1.0
>     netmask 255.255.255.255
>     broadcast 10.1.1.255


Also in your first post:
subnet 10.1.1.0 netmask 255.255.255.0 {
*interface wlp2s0;*
         option domain-name-servers 10.1.1.1;
         max-lease-time 7200;
         default-lease-time 600;
         range 10.1.1.10 10.1.1.250;
         option subnet-mask 255.255.255.0;
         option broadcast-address 10.1.1.255;
         option routers 10.1.1.1;

As far as I know there is no interface directive.  Plus wlp2s0 is the wrong
interface.  You should remove that line.

What does 'ip -4 -o addr' show?

Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180127/8735e5ca/attachment.html>


More information about the dhcp-users mailing list