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

Bill Shirley bill at
Sat Jan 27 05:04:33 UTC 2018

Shouldn't the netmask be ?

On 1/26/2018 4:57 PM, A wrote:
> iface enp4s5 inet static
>     address
>     gateway
>     network
>     netmask
>     broadcast

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

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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list