Hi All,
I am configuring a isc-dhcp-server on a Centos with the following settings
set vendor-string = option vendor-class-identifier;
set client-id = option dhcp-client-identifier;
authoritative;
deny duplicates;
default-lease-time 1200;
min-lease-time 1200;
max-lease-time 7200;
set serial = substring(option dhcp-client-identifier, 1, 11);
I have reset the Nexus/MDS switch to poap mode. When the switch tries to obtain the DHCP lease, i could find two entries in the lease database. One with a lease time of 12 seconds and other with the lease time of 2 hours which i have configured.
Please clarify on why the Nexus/MDS acquires the lease of 12 seconds which i have not configured anywhere.
lease 192.168.10.11 {
starts 3 2021/06/16 09:16:09;
ends 3 2021/06/16 09:16:21;
tstp 3 2021/06/16 09:16:21;
cltt 3 2021/06/16 09:16:09;
binding state free;
hardware ethernet 00:27:e3:ab:aa:a6;
uid "\000FDO21181EPA";
}
And the other one with all options which i have configured in the dhcp server.
lease 192.168.10.11 {
starts 3 2021/06/16 09:16:09;
ends 3 2021/06/16 11:16:09;
cltt 3 2021/06/16 09:16:09;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 00:27:e3:ab:aa:a6;
uid "\000FDO21181EPA";
set serial = "FDO21181EPA";
set mac-address = "00:27:e3:ab:aa:a6";
set dhcp-ip = "192.168.10.11";
set client-id = "\000FDO21181EPA";
set vendor-string = "Cisco N9K-C93180YC-EX";
}
Please see that the N9K acquires the lease with ipaddress 192.168.10.11 but there are two entries in the lease database and that two with two different lease durations.
Kindly clarify.