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, 8.8.8.8;
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
Tiras25Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware 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.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.