dhcp on linux server

Striggling with dhcp on linux.  
Need to know scope range, reservations, lease hours/days, % scope used, etc.

Here is what I have:   can can you take  apeek and help with commands?

# File managed by Chef

# set this to store vendor strings.
set vendor-string = option vendor-class-identifier;

allow booting;
allow bootp;
allow unknown-clients;
allow client-updates;

authoritative ;
ddns-domainname "corp.companyname.com.";
ddns-update-style interim;
ddns-updates on;
default-lease-time 6400;
filename "pxelinux.0";
max-lease-time 86400;
next-server 10.x.x.x;
one-lease-per-client true;
ping-check true;
update-static-leases true;

option domain-name "corp.companyname.com";
option domain-name-servers 10.x.x.x,;
option domain-search "corp.companyname.com", "i.companyname.com", "someothername";
option host-name  = binary-to-ascii (16, 8, "-", substring (hardware, 1, 6));

zone corp.companyname.com {
 primary 10.x.x.x;
 # uses name format could use IP address format
# zone 42.10.in-addr.arpa {
#  primary serverhostname;
# }

include "/etc/dhcp/groups.d/list.conf";
include "/etc/dhcp/subnets.d/list.conf";
include "/etc/dhcp/hosts.d/list.conf";
                                                                                                                         6,1           All
LVL 17
Who is Participating?
nociConnect With a Mentor Software EngineerCommented:
This looks like the ISC-DHCP daemon.

In this configuration there is no scope visible, nor leases or reservations.

Leases are kept in a file in probably in /var/lib/dhcp/dhcp.leases     (at least a file named dhcp.leases somewhere in /var...)
can be found with:  find / -name dhcp.leases

scopes are: shared network "xx" {     } blocks.
reservations are: host { } blocks.
in the config file or includes.
network ranges are in pool {  } blocks.
Tiras25Author Commented:
@Dr. Klahn   I think it BIND9.  Not sure on DHCP daemon yet..
So based on this output max-lease-time 86400; if its seconds that would be 24 hours.

I checked my adaptor properties it shows Lease Obtained: Wednesday, March 14, 2018 4:32:14 PM
Lease Expires: Thursday, March 15, 2018 12:29:30 PM

That would be 20 hours.  Seems short for regular operations.  Right?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.