how to show DHCP leases for reserve IP ?

Issues related to configuring your network
Post Reply
chatnan
Posts: 1
Joined: 2017/10/16 07:52:13

how to show DHCP leases for reserve IP ?

Post by chatnan » 2017/10/16 08:06:57

I used DHCP Server ISC DHCPd version 4.2.5 on CentOS Linux release 7.3.1611

I have config /etc/dhcp/dhcpd.conf Follow this.

subnet 172.20.0.32 netmask 255.255.255.224 {
max-lease-time 3600;
default-lease-time 3600;
authoritative;
option subnet-mask 255.255.255.224;
option broadcast-address 172.20.0.63;
option routers 172.20.0.33;
option domain-name-servers 172.16.4.245 , 172.19.0.124;
option domain-name "TEST.TH";
}
# ITO-Network 172.20.0.32/27
group ITO-Network{
# ARUN
host TIT_ARUN4045 {
hardware ethernet e0:db:55:ea:aa:aa;
fixed-address 172.20.0.52;
}

}


then PC MAC address e0:db:55:ea:aa:57 was resive IP 172.20.0.52 correct. But i don't found lease IP 172.20.0.52 on /var/lib/dhcpd/dhcpd.leases
Question : how to show DHCP leases detail for host that are reserved IP ?

Post Reply