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. test (spammailbox) 2. Failover host stops releasing IP's if the peer is down. (p0wn3rs) ---------------------------------------------------------------------- Message: 1 Date: Sun, 08 Dec 2019 21:49:58 +0100 From: "spammailbox" <s...@umutkuepeli.eu> To: dhcp-users@lists.isc.org Subject: test Message-ID: <44-5ded6200-7-5a689480@245376047> Content-Type: text/plain; charset="utf-8" -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191208/d351533f/attachment-0001.htm> ------------------------------ Message: 2 Date: Mon, 9 Dec 2019 10:59:50 +0100 From: p0wn3rs <p0wn...@gmail.com> To: dhcp-users@lists.isc.org Subject: Failover host stops releasing IP's if the peer is down. Message-ID: <8662b328-6c30-443d-853d-32d6b8db1...@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Hello, we have different DHCP clusters and sometimes happens for a system to be down for a long time (the location doesn't grant us immediate physical access and the hw doesn't support WOL). Whenever this happens the main host stops releasing IP's... Dec? 9 10:39:36 fw-01 dhcpd: DHCPDISCOVER from 00:a0:ba:0f:d6:ff via br1: not responding (recovering) Dec? 9 10:39:37 fw-01 dhcpd: DHCPDISCOVER from 00:a0:ba:0f:d7:29 via br1: not responding (recovering) Dec? 9 10:39:39 fw-01 dhcpd: DHCPDISCOVER from 00:a0:ba:0f:d6:ff via br1: not responding (recovering) Dec? 9 10:39:41 fw-01 dhcpd: DHCPDISCOVER from 00:a0:ba:0f:d7:29 via br1: not responding (recovering) Dec? 9 10:39:43 fw-01 dhcpd: DHCPDISCOVER from 00:a0:ba:0f:d6:ff via br1: not responding (recovering) Configuration : cat /etc/dhcpd.conf ddns-update-style none; deny bootp; authoritative; option wpad code 252 = text; failover peer "CLUSTER" { ??? primary; ??? mclt 600; ??? split 128; ??? address 192.168.177.1; ??? peer address 192.168.177.2; ??? port 519; ??? peer port 519; ??? max-response-delay 30; ??? max-unacked-updates 10; ??? load balance max seconds 3; } shared-network SERVERS { ??? interface br1; ??? server-identifier 192.168.18.1; ??? subnet 192.168.18.0 netmask 255.255.255.0 { ??????? pool { ??????????? failover peer "CLUSTER"; ??????????? deny dynamic bootp clients; ??????????? range 192.168.18.100 192.168.18.200; ??????? } ??????? default-lease-time 3600; ??????? max-lease-time 7200; ??????? option subnet-mask 255.255.255.0; ??????? option domain-name "mydomain.com"; ??????? option routers 192.168.18.1; ??????? option wpad "http://192.168.18.1/proxy.pac"; ??????? option domain-name-servers 192.168.18.1; ??? } } lease-file-name "/var/lib/dhcp/dhcpd.leases"; cat /var/lib/dhcp/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.2.5-P1 failover peer "CLUSTER" state { ? my state recover at 1 2019/12/09 08:52:57; ? partner state unknown-state at 1 2019/12/09 08:52:57; } failover peer "CLUSTER" state { ? my state recover at 1 2019/12/09 08:52:57; ? partner state unknown-state at 1 2019/12/09 08:52:57; } server-duid "\000\001\000\001%\200\307\351\200\306\312\001\015\354"; failover peer "CLUSTER" state { ? my state recover at 1 2019/12/09 08:52:57; ? partner state unknown-state at 1 2019/12/09 08:52:57; } So, the partner state is in "unknown-state" because of course is down, but shouldn't the host be releasing IP's after some time? How can we solve this problem? thanks, Robert. ------------------------------ 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 134, Issue 2 ******************************************