Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Re: Failover peers Issue (kraishak) 2. balanced pool logs (Kraishak Mahtha) 3. reuse_lease: lease age logs (Surya Teja) 4. Re: reuse_lease: lease age logs (glenn.satch...@uniq.com.au) 5. Re: reuse_lease: lease age logs (Surya Teja) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Oct 2019 01:37:09 -0500 (CDT) From: kraishak <kraishak....@gmail.com> To: dhcp-users@lists.isc.org Subject: Re: Failover peers Issue Message-ID: <1572244629472-0.p...@n4.nabble.com> Content-Type: text/plain; charset=us-ascii Hi I have stopped both the dhcpd.services on the primary and failover and started one after the other, now it is working fine but just want to sure what would be the reason of not giving the lease at that time These are logs at that time Oct 25 12:47:51 server1 dhcpd[11541]: *failover: link startup timeout* Oct 25 12:47:51 server1 dhcpd[11541]: DHCPDISCOVER from a3:4c:12:b6:d0:1e via xxx.xx.xx.x: peer holds all free leases Oct 25 12:47:51 server1 dhcpd[11541]: DHCPDISCOVER from 6d:8b:d4:aa:9b:9a via xxx.xx.xx.x: peer holds all free leases Oct 25 12:47:51 server1 dhcpd[11541]: DHCPDISCOVER from 8a8:f0:30:0e:a9:e2 via xxx.xx.xx.x: peer holds all free leases ---> Post the output of "head -15 /var/lib/dhcpd/dhcpd.leases" for each server.---------------> server 2--------------------- head -15 dhcpd.leases # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.4.1 # authoring-byte-order entry is generated, DO NOT DELETE authoring-byte-order little-endian; failover peer "failover-peer-1" state { my state communications-interrupted at 5 2019/10/25 12:43:56; partner state normal at 4 2019/09/19 13:12:50; } lease 192.168.0.6 { starts 1 2019/08/19 17:27:54; ends 1 2019/09/02 17:27:54; tstp 1 2019/09/02 17:27:54; ----------------------------------------------------------------------- server-1 head -15 dhcpd.leases # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.4.1 # authoring-byte-order entry is generated, DO NOT DELETE authoring-byte-order little-endian; failover peer "failover-peer-1" state { my state normal at 5 2019/10/25 14:17:57; partner state normal at 5 2019/10/25 14:17:57; mclt 1800; } lease 192.168.0.6 { starts 1 2019/08/19 17:27:54; ends 1 2019/09/02 17:27:54; ------------------------------------------------------------------------- The above contents are from the previous lease files which i have, Currently both are in normal, normal state for both -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ ------------------------------ Message: 2 Date: Mon, 28 Oct 2019 12:24:37 +0530 From: Kraishak Mahtha <kraishak....@gmail.com> To: dhcp-users@lists.isc.org Subject: balanced pool logs Message-ID: <caddat86adrov3aqugv8m-tz1cm_+q9obrwfdo5esu7sqkpf...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi I am running the isc dhcpd in primary-failover mode with 50:50 percent on my two different lab environments with a test tool, I am seeing the balancing pool messages so frequently in the lab-1 environments EX: Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c9be20 192.168.0.0/24 total 229 free 63 backup 64 lts 0 max-misbal 19 Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c88680 192.168.3.0/24 total 213 free 42 backup 42 lts 0 max-own (+/-)8 Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c88680 192.168.6.0/24 total 213 free 42 backup 42 lts 0 max-misbal 13 Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c740b0 192.168.101.0/24 total 225 free 110 backup 109 lts 0 max-own (+/-)22 - - - - - - - - - - - - and so on These logs are printing for one to two seconds duration totally, at this time I am not seeing any dhcp traffic logs like discover, offer, renew (yes it is less duration of two seconds no need to worry but just want to make sure, is the dhcp server wont serve the lease for the clients while it balancing the pools ?) In the second lab (lab-2) I see these messages but not that frequent of which i see on lab-1, Does one have any idea that, In general do we have any fixed time interval at which the dhcpd server balance the pools ?just want to know why i am getting the these logs so frequently in lab-1 Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191028/b18b007a/attachment-0001.htm> ------------------------------ Message: 3 Date: Mon, 28 Oct 2019 13:10:38 +0530 From: Surya Teja <suryateja...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: reuse_lease: lease age logs Message-ID: <ca+0ac3zcc9uzpzbvap_hxslo4et8uz46cnvcyufy-peo3iy...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi In the log messages of the dhcpd I see few strange messages like reuse_lease: lease age 173843 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.1.6 reuse_lease: lease age 713 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.1.81 Does any one has any idea what does this reuse lease means ? Just FYI: I have added a statement one-lease-per-client true; to my conf recently as i am facing no free lease issues because of roaming clients, does this impact the environment and cause problem which leading the above log messages? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191028/d3b82e93/attachment-0001.htm> ------------------------------ Message: 4 Date: Mon, 28 Oct 2019 19:11:26 +1100 From: glenn.satch...@uniq.com.au To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: reuse_lease: lease age logs Message-ID: <711baa20c02a309f74e0465b1aee4...@uniq.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Surya, It's a server optimisation for when only a small amount of the lease time has passed. Rather than go through the whole process to creatge a new lease and update the leases file, the server replies with the existing lease information and the time remaining. It makes no real difference to the client, but for a busy server it can save a lot of I/O and processing as the lease file doesn't need to be updated. It's probably unrelated to the one-lease-per-client setting. regards, Glenn On 2019-10-28 18:40, Surya Teja wrote: > Hi > In the log messages of the dhcpd I see few strange messages like > reuse_lease: lease age 173843 (secs) under 25% threshold, reply with > unaltered, existing lease for 192.168.1.6 > reuse_lease: lease age 713 (secs) under 25% threshold, reply with > unaltered, existing lease for 192.168.1.81 > > Does any one has any idea what does this reuse lease means ? > Just FYI: I have added a statement one-lease-per-client true; to my > conf recently as i am facing no free lease issues because of roaming > clients, does this impact the environment and cause problem which > leading the above log messages? > > Thanks in advance > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ Message: 5 Date: Mon, 28 Oct 2019 14:38:05 +0530 From: Surya Teja <suryateja...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: reuse_lease: lease age logs Message-ID: <ca+0ac3whbpu1imdzyn2hkz38nb0snhx4m_bj54sfvp58gt2...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi Glenn Thanks for reply but I have few basic doubts, when only a small amount of the lease time has passed ----> when can we see this type of situation ? FYI: The lease time for the scopes is one hour in my config, Do I need to add any config statement in dhcpd.conf or increase lease-time to stabilize the environment Thanks in advance On Mon, Oct 28, 2019 at 1:41 PM <glenn.satch...@uniq.com.au> wrote: > Hi Surya, > > It's a server optimisation for when only a small amount of the lease > time has passed. Rather than go through the whole process to creatge a > new lease and update the leases file, the server replies with the > existing lease information and the time remaining. It makes no real > difference to the client, but for a busy server it can save a lot of I/O > and processing as the lease file doesn't need to be updated. It's > probably unrelated to the one-lease-per-client setting. > > regards, > Glenn > > On 2019-10-28 18:40, Surya Teja wrote: > > Hi > > In the log messages of the dhcpd I see few strange messages like > > reuse_lease: lease age 173843 (secs) under 25% threshold, reply with > > unaltered, existing lease for 192.168.1.6 > > reuse_lease: lease age 713 (secs) under 25% threshold, reply with > > unaltered, existing lease for 192.168.1.81 > > > > Does any one has any idea what does this reuse lease means ? > > Just FYI: I have added a statement one-lease-per-client true; to my > > conf recently as i am facing no free lease issues because of roaming > > clients, does this impact the environment and cause problem which > > leading the above log messages? > > > > Thanks in advance > > _______________________________________________ > > dhcp-users mailing list > > dhcp-users@lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191028/cfedf7cf/attachment.htm> ------------------------------ Subject: Digest Footer _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 132, Issue 23 *******************************************