"peer holds all free leases"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

"peer holds all free leases"

Marc Haber
Hi,

I am running a redundant DHCP setup on Debian stable, ISC DHCP version
4.4.1, with a handful of pools for a handful of different VLANs.

Yesterday afternoon, no configuration change, both servers
simultaneously began logging

Sep 16 07:22:46 chasse dhcpd[9806]: DHCPDISCOVER from b4:e6:2d:5b:99:19 via 192.168.184.254: peer holds all free leases

for one pool. I do not understand this error message.

(1) Replication is fine:
Sep 16 07:02:24 chasse dhcpd[9806]: balancing pool 5617e1957e80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 07:02:24 chasse dhcpd[9806]: balanced pool 5617e1957e80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
Sep 16 07:02:24 cadencia dhcpd[10213]: balancing pool 1269af8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 07:02:24 cadencia dhcpd[10213]: balanced pool 1269af8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
I also see both machines talking to each other on TCP port 647,
restarting either server tears down the TCP session an rebuilds it again

(2) The pool has ample free addresses
I even increased the pool size by 20 addresses. This didn't change the
issue, no IP addresses are handed out to clients.

(3) classes are not in use.
There are on "class" statements in configuration

Why do my servers suddenly think that clients are not eligible for a
lase from this pool? I have moved one of the affected clients to a
different VLAN and it immediately got a lease assigned.

Greetings
Marc



Here is the relevant configuration. pool 184 is the one that doesn't
work, pool 189 is the one that works.

chasse:
failover peer "chasse-cadencia" {
  primary;
  address chasse.ka51.example.com;
  peer address unt381.cadencia.ka51.example.com;
  max-response-delay 60;
  max-unacked-updates 10;
  mclt 3600; # 300 if redundancy is in place
  split 192;
  load balance max seconds 3;
}

cadencia:
failover peer "chasse-cadencia" {
  secondary;
  address unt381.cadencia.ka51.example.com;
  peer address chasse.ka51.example.com;
  max-response-delay 60;
  max-unacked-updates 10;
  load balance max seconds 3;
}

identical on both (included and rsynced):
option domain-name "ka51.example.com";
option domain-search "ka51.example.com", "example.com";
option domain-name-servers dnsrec1.ka51.example.com, dnsrec2.ka51.example.com;
option ntp-servers ntp1.ka51.example.com, ntp2.ka51.example.com;

default-lease-time 14400; # 12 hours
max-lease-time 14400;  # 12 hours

not authoritative;

log-facility local7;

deny bootp;
adaptive-lease-time-threshold 80;

ddns-update-style standard;

ddns-rev-domainname "in-addr.arpa.";

zone ka51.example.com. {
  primary lasso.ka51.example.com;
  key lasso-chasse-dhcp;
}

subnet 192.168.184.0 netmask 255.255.255.0 {
  # int184
  pool {
    range 192.168.184.130 192.168.184.249;
    failover peer "chasse-cadencia";
    deny known-clients;
  }
  option routers v4gw.int184.ka51.example.com;
  ddns-domainname "ka51.example.com";
  authoritative;
}

zone 184.168.192.in-addr.arpa. {
  primary lasso.ka51.example.com;
  key lasso-chasse-dhcp;
}

subnet 192.168.189.0 netmask 255.255.255.0 {
  # int189
  pool {
    range 192.168.189.150 192.168.189.249;
    failover peer "chasse-cadencia";
    deny known-clients;
  }
  option routers v4gw.int189.ka51.example.com;
  ddns-domainname "ka51.example.com";
  authoritative;
}

zone 189.168.192.in-addr.arpa. {
  primary lasso.ka51.example.com;
  key lasso-chasse-dhcp;
}

Here is what the servers log on startup:
Sep 16 07:58:42 chasse systemd[1]: Stopping ISC DHCP Server for IPv4 (dhcpd.conf)...
Sep 16 07:58:42 chasse systemd[1]: isc-dhcp-server-v4.service: Main process exited, code=killed, status=15/TERM
Sep 16 07:58:42 chasse systemd[1]: isc-dhcp-server-v4.service: Succeeded.
Sep 16 07:58:42 chasse systemd[1]: Stopped ISC DHCP Server for IPv4 (dhcpd.conf).
Sep 16 07:58:48 chasse systemd[1]: Starting ISC DHCP Server for IPv4 (dhcpd.conf)...
Sep 16 07:58:48 chasse dhcpd[19535]: Internet Systems Consortium DHCP Server 4.4.1
Sep 16 07:58:48 chasse dhcpd[19535]: Copyright 2004-2018 Internet Systems Consortium.
Sep 16 07:58:48 chasse dhcpd[19535]: All rights reserved.
Sep 16 07:58:48 chasse dhcpd[19535]: For info, please visit https://www.isc.org/software/dhcp/
Sep 16 07:58:48 chasse systemd[1]: Started ISC DHCP Server for IPv4 (dhcpd.conf).
Sep 16 07:58:48 chasse dhcpd[19536]: Internet Systems Consortium DHCP Server 4.4.1
Sep 16 07:58:49 chasse dhcpd[19536]: Copyright 2004-2018 Internet Systems Consortium.
Sep 16 07:58:49 chasse dhcpd[19536]: All rights reserved.
Sep 16 07:58:49 chasse dhcpd[19536]: For info, please visit https://www.isc.org/software/dhcp/
Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 0 deleted host decls to leases file.
Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 0 new dynamic host decls to leases file.
Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 1012 leases to leases file.
Sep 16 07:58:49 chasse dhcpd[19536]: failover peer chasse-cadencia: I move from normal to startup
Sep 16 07:58:49 chasse dhcpd[19536]: Server starting service.
Sep 16 07:58:49 chasse dhcpd[19536]: failover peer chasse-cadencia: peer moves from normal to communications-interrupted
Sep 16 07:58:49 chasse dhcpd[19536]: failover peer chasse-cadencia: I move from startup to normal
Sep 16 07:58:49 chasse dhcpd[19536]: balancing pool 5650a31a3ac0 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
Sep 16 07:58:49 chasse dhcpd[19536]: balanced pool 5650a31a3ac0 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
Sep 16 07:58:49 chasse dhcpd[19536]: balancing pool 5650a316be80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 07:58:49 chasse dhcpd[19536]: balanced pool 5650a316be80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
Sep 16 07:58:49 chasse dhcpd[19536]: failover peer chasse-cadencia: peer moves from communications-interrupted to normal
Sep 16 07:58:49 chasse dhcpd[19536]: failover peer chasse-cadencia: Both servers normal

Sep 16 07:58:42 cadencia dhcpd[10213]: peer chasse-cadencia: disconnected
Sep 16 07:58:42 cadencia dhcpd[10213]: failover peer chasse-cadencia: I move from normal to communications-interrupted
Sep 16 07:58:47 cadencia ippl: ICMP message type redirect - for host from 192.168.251.254
Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer chasse-cadencia: peer moves from normal to normal
Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer chasse-cadencia: I move from communications-interrupted to normal
Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer chasse-cadencia: Both servers normal
Sep 16 07:58:49 cadencia dhcpd[10213]: balancing pool 128ae38 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
Sep 16 07:58:49 cadencia dhcpd[10213]: balanced pool 128ae38 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
Sep 16 07:58:49 cadencia dhcpd[10213]: balancing pool 1269af8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 07:58:49 cadencia dhcpd[10213]: balanced pool 1269af8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18

Sep 16 08:00:57 cadencia systemd[1]: Stopping ISC DHCP Server for IPv4 (dhcpd.conf)...
Sep 16 08:00:57 cadencia systemd[1]: isc-dhcp-server-v4.service: Main process exited, code=killed, status=15/TERM
Sep 16 08:00:57 cadencia systemd[1]: isc-dhcp-server-v4.service: Succeeded.
Sep 16 08:00:57 cadencia systemd[1]: Stopped ISC DHCP Server for IPv4 (dhcpd.conf).
Sep 16 08:01:10 cadencia ippl: ICMP message type redirect - for host from 192.168.251.254
Sep 16 08:01:14 cadencia systemd[1]: Starting ISC DHCP Server for IPv4 (dhcpd.conf)...
Sep 16 08:01:14 cadencia dhcpd[5819]: Internet Systems Consortium DHCP Server 4.4.1
Sep 16 08:01:14 cadencia dhcpd[5819]: Copyright 2004-2018 Internet Systems Consortium.
Sep 16 08:01:14 cadencia dhcpd[5819]: All rights reserved.
Sep 16 08:01:14 cadencia dhcpd[5819]: For info, please visit https://www.isc.org/software/dhcp/
Sep 16 08:01:14 cadencia systemd[1]: Started ISC DHCP Server for IPv4 (dhcpd.conf).
Sep 16 08:01:14 cadencia dhcpd[5820]: Internet Systems Consortium DHCP Server 4.4.1
Sep 16 08:01:14 cadencia dhcpd[5820]: Copyright 2004-2018 Internet Systems Consortium.
Sep 16 08:01:14 cadencia dhcpd[5820]: All rights reserved.
Sep 16 08:01:14 cadencia dhcpd[5820]: For info, please visit https://www.isc.org/software/dhcp/
Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 0 deleted host decls to leases file.
Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 0 new dynamic host decls to leases file.
Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 1012 leases to leases file.
Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer chasse-cadencia: I move from normal to startup
Sep 16 08:01:14 cadencia dhcpd[5820]: Server starting service.
Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer chasse-cadencia: peer moves from normal to communications-interrupted
Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer chasse-cadencia: I move from startup to normal
Sep 16 08:01:14 cadencia dhcpd[5820]: balancing pool 121fe38 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
Sep 16 08:01:14 cadencia dhcpd[5820]: balanced pool 121fe38 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
Sep 16 08:01:14 cadencia dhcpd[5820]: balancing pool 11feaf8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 08:01:14 cadencia dhcpd[5820]: balanced pool 11feaf8 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
Sep 16 08:01:15 cadencia dhcpd[5820]: failover peer chasse-cadencia: peer moves from communications-interrupted to normal
Sep 16 08:01:15 cadencia dhcpd[5820]: failover peer chasse-cadencia: Both servers normal


Sep 16 08:00:57 chasse dhcpd[19536]: peer chasse-cadencia: disconnected
Sep 16 08:00:57 chasse dhcpd[19536]: failover peer chasse-cadencia: I move from normal to communications-interrupted
Sep 16 08:01:01 chasse dhcpd[814]: Relay-forward message from 2a01:238:42bc:a181::70:100 port 547, link address 2a01:238:42bc:a18c::70:100, peer ad
Sep 16 08:01:01 chasse dhcpd[814]: No subnet found for link-address 2a01:238:42bc:a18c::70:100.
Sep 16 08:01:02 chasse dhcpd[19536]: DHCPDISCOVER from 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
Sep 16 08:01:04 chasse dhcpd[19536]: DHCPDISCOVER from 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
Sep 16 08:01:08 chasse dhcpd[19536]: DHCPDISCOVER from 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
Sep 16 08:01:13 chasse dhcpd[19536]: DHCPDISCOVER from 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
Sep 16 08:01:14 chasse dhcpd[814]: Solicit message from fe80::5054:ff:fe9e:9a15 port 546, transaction ID 0x1D67E000
Sep 16 08:01:14 chasse dhcpd[814]: Lease for b55e:67ff:0:0:0:0 leased to d6:16:75:5:f2:ba
Sep 16 08:01:14 chasse dhcpd[814]: Unable to pick client address: no IPv6 pools on this shared network
Sep 16 08:01:14 chasse dhcpd[814]: Sending Reply to fe80::5054:ff:fe9e:9a15 port 546
Sep 16 08:01:14 chasse dhcpd[814]: Relay-forward message from 2a01:238:42bc:a181::70:100 port 547, link address 2a01:238:42bc:a181::70:100, peer ad
Sep 16 08:01:14 chasse dhcpd[814]: Lease for b55e:67ff:0:0:0:0 leased to d6:16:75:5:f2:ba
Sep 16 08:01:14 chasse dhcpd[814]: Unable to pick client address: no IPv6 pools on this shared network
Sep 16 08:01:14 chasse dhcpd[814]: Sending Relay-reply to 2a01:238:42bc:a181::70:100 port 547
Sep 16 08:01:14 chasse dhcpd[19536]: failover peer chasse-cadencia: peer moves from normal to normal
Sep 16 08:01:14 chasse dhcpd[19536]: failover peer chasse-cadencia: I move from communications-interrupted to normal
Sep 16 08:01:14 chasse dhcpd[19536]: failover peer chasse-cadencia: Both servers normal
Sep 16 08:01:14 chasse dhcpd[19536]: balancing pool 5650a31a3ac0 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
Sep 16 08:01:14 chasse dhcpd[19536]: balanced pool 5650a31a3ac0 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
Sep 16 08:01:14 chasse dhcpd[19536]: balancing pool 5650a316be80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
Sep 16 08:01:14 chasse dhcpd[19536]: balanced pool 5650a316be80 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: "peer holds all free leases"

Gregory Sloop
Re: "peer holds all free leases" Top posting.

Is it possible you have "host" (or other "global") statements that are connected to a different subnet than the "fixed address" in the host statement?
[i.e. A host statement that has a fixed address of 10.0.0.1 in a 10.2.0.0/24 network/subnet.]

I *think* (IIRC) that will give the "peer holds all free leases" messages. [And it points you off in this weird direction...trying to figure out what's wrong with your pools, when nothing's wrong at all.]

(And yes, that client won't get any IP address at all.)
The solution is either to remove the host statement or connect the client to the "correct" subnet/network.

-Greg


MH> Hi,

MH> I am running a redundant DHCP setup on Debian stable, ISC DHCP version
MH> 4.4.1, with a handful of pools for a handful of different VLANs.

MH> Yesterday afternoon, no configuration change, both servers
MH> simultaneously began logging

MH> Sep 16 07:22:46 chasse dhcpd[9806]: DHCPDISCOVER from
MH> b4:e6:2d:5b:99:19 via 192.168.184.254: peer holds all free leases

MH> for one pool. I do not understand this error message.

MH> (1) Replication is fine:
MH> Sep 16 07:02:24 chasse dhcpd[9806]: balancing pool 5617e1957e80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 07:02:24 chasse dhcpd[9806]: balanced pool 5617e1957e80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
MH> Sep 16 07:02:24 cadencia dhcpd[10213]: balancing pool 1269af8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 07:02:24 cadencia dhcpd[10213]: balanced pool 1269af8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
MH> I also see both machines talking to each other on TCP port 647,
MH> restarting either server tears down the TCP session an rebuilds it again

MH> (2) The pool has ample free addresses
MH> I even increased the pool size by 20 addresses. This didn't change the
MH> issue, no IP addresses are handed out to clients.

MH> (3) classes are not in use.
MH> There are on "class" statements in configuration

MH> Why do my servers suddenly think that clients are not eligible for a
MH> lase from this pool? I have moved one of the affected clients to a
MH> different VLAN and it immediately got a lease assigned.

MH> Greetings
MH> Marc



MH> Here is the relevant configuration. pool 184 is the one that doesn't
MH> work, pool 189 is the one that works.

MH> chasse:
MH> failover peer "chasse-cadencia" {
MH>   primary;
MH>   address chasse.ka51.example.com;
MH>   peer address unt381.cadencia.ka51.example.com;
MH>   max-response-delay 60;
MH>   max-unacked-updates 10;
MH>   mclt 3600; # 300 if redundancy is in place
MH>   split 192;
MH>   load balance max seconds 3;
MH> }

MH> cadencia:
MH> failover peer "chasse-cadencia" {
MH>   secondary;
MH>   address unt381.cadencia.ka51.example.com;
MH>   peer address chasse.ka51.example.com;
MH>   max-response-delay 60;
MH>   max-unacked-updates 10;
MH>   load balance max seconds 3;
MH> }

MH> identical on both (included and rsynced):
MH> option domain-name "ka51.example.com";
MH> option domain-search "ka51.example.com", "example.com";
MH> option domain-name-servers dnsrec1.ka51.example.com, dnsrec2.ka51.example.com;
MH> option ntp-servers ntp1.ka51.example.com, ntp2.ka51.example.com;

MH> default-lease-time 14400; # 12 hours
MH> max-lease-time 14400;  # 12 hours

MH> not authoritative;

MH> log-facility local7;

MH> deny bootp;
MH> adaptive-lease-time-threshold 80;

MH> ddns-update-style standard;

MH> ddns-rev-domainname "in-addr.arpa.";

MH> zone ka51.example.com. {
MH>   primary lasso.ka51.example.com;
MH>   key lasso-chasse-dhcp;
MH> }

MH> subnet 192.168.184.0 netmask 255.255.255.0 {
MH>   # int184
MH>   pool {
MH>     range 192.168.184.130 192.168.184.249;
MH>     failover peer "chasse-cadencia";
MH>     deny known-clients;
MH>   }
MH>   option routers v4gw.int184.ka51.example.com;
MH>   ddns-domainname "ka51.example.com";
MH>   authoritative;
MH> }

MH> zone 184.168.192.in-addr.arpa. {
MH>   primary lasso.ka51.example.com;
MH>   key lasso-chasse-dhcp;
MH> }

MH> subnet 192.168.189.0 netmask 255.255.255.0 {
MH>   # int189
MH>   pool {
MH>     range 192.168.189.150 192.168.189.249;
MH>     failover peer "chasse-cadencia";
MH>     deny known-clients;
MH>   }
MH>   option routers v4gw.int189.ka51.example.com;
MH>   ddns-domainname "ka51.example.com";
MH>   authoritative;
MH> }

MH> zone 189.168.192.in-addr.arpa. {
MH>   primary lasso.ka51.example.com;
MH>   key lasso-chasse-dhcp;
MH> }

MH> Here is what the servers log on startup:
MH> Sep 16 07:58:42 chasse systemd[1]: Stopping ISC DHCP Server for IPv4 (dhcpd.conf)...
MH> Sep 16 07:58:42 chasse systemd[1]: isc-dhcp-server-v4.service:
MH> Main process exited, code=killed, status=15/TERM
MH> Sep 16 07:58:42 chasse systemd[1]: isc-dhcp-server-v4.service: Succeeded.
MH> Sep 16 07:58:42 chasse systemd[1]: Stopped ISC DHCP Server for IPv4 (dhcpd.conf).
MH> Sep 16 07:58:48 chasse systemd[1]: Starting ISC DHCP Server for IPv4 (dhcpd.conf)...
MH> Sep 16 07:58:48 chasse dhcpd[19535]: Internet Systems Consortium DHCP Server 4.4.1
MH> Sep 16 07:58:48 chasse dhcpd[19535]: Copyright 2004-2018 Internet Systems Consortium.
MH> Sep 16 07:58:48 chasse dhcpd[19535]: All rights reserved.
MH> Sep 16 07:58:48 chasse dhcpd[19535]: For info, please visit
MH> https://www.isc.org/software/dhcp/
MH> Sep 16 07:58:48 chasse systemd[1]: Started ISC DHCP Server for IPv4 (dhcpd.conf).
MH> Sep 16 07:58:48 chasse dhcpd[19536]: Internet Systems Consortium DHCP Server 4.4.1
MH> Sep 16 07:58:49 chasse dhcpd[19536]: Copyright 2004-2018 Internet Systems Consortium.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: All rights reserved.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: For info, please visit
MH> https://www.isc.org/software/dhcp/
MH> Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 0 deleted host decls to leases file.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 0 new dynamic host decls to leases file.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: Wrote 1012 leases to leases file.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: I move from normal to startup
MH> Sep 16 07:58:49 chasse dhcpd[19536]: Server starting service.
MH> Sep 16 07:58:49 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: peer moves from normal to communications-interrupted
MH> Sep 16 07:58:49 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: I move from startup to normal
MH> Sep 16 07:58:49 chasse dhcpd[19536]: balancing pool 5650a31a3ac0
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
MH> Sep 16 07:58:49 chasse dhcpd[19536]: balanced pool 5650a31a3ac0
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
MH> Sep 16 07:58:49 chasse dhcpd[19536]: balancing pool 5650a316be80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 07:58:49 chasse dhcpd[19536]: balanced pool 5650a316be80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
MH> Sep 16 07:58:49 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: peer moves from communications-interrupted to normal
MH> Sep 16 07:58:49 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: Both servers normal

MH> Sep 16 07:58:42 cadencia dhcpd[10213]: peer chasse-cadencia: disconnected
MH> Sep 16 07:58:42 cadencia dhcpd[10213]: failover peer
MH> chasse-cadencia: I move from normal to communications-interrupted
MH> Sep 16 07:58:47 cadencia ippl: ICMP message type redirect - for host from 192.168.251.254
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer
MH> chasse-cadencia: peer moves from normal to normal
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer
MH> chasse-cadencia: I move from communications-interrupted to normal
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: failover peer
MH> chasse-cadencia: Both servers normal
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: balancing pool 128ae38
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: balanced pool 128ae38
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: balancing pool 1269af8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 07:58:49 cadencia dhcpd[10213]: balanced pool 1269af8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18

MH> Sep 16 08:00:57 cadencia systemd[1]: Stopping ISC DHCP Server for IPv4 (dhcpd.conf)...
MH> Sep 16 08:00:57 cadencia systemd[1]: isc-dhcp-server-v4.service:
MH> Main process exited, code=killed, status=15/TERM
MH> Sep 16 08:00:57 cadencia systemd[1]: isc-dhcp-server-v4.service: Succeeded.
MH> Sep 16 08:00:57 cadencia systemd[1]: Stopped ISC DHCP Server for IPv4 (dhcpd.conf).
MH> Sep 16 08:01:10 cadencia ippl: ICMP message type redirect - for host from 192.168.251.254
MH> Sep 16 08:01:14 cadencia systemd[1]: Starting ISC DHCP Server for IPv4 (dhcpd.conf)...
MH> Sep 16 08:01:14 cadencia dhcpd[5819]: Internet Systems Consortium DHCP Server 4.4.1
MH> Sep 16 08:01:14 cadencia dhcpd[5819]: Copyright 2004-2018 Internet Systems Consortium.
MH> Sep 16 08:01:14 cadencia dhcpd[5819]: All rights reserved.
MH> Sep 16 08:01:14 cadencia dhcpd[5819]: For info, please visit
MH> https://www.isc.org/software/dhcp/
MH> Sep 16 08:01:14 cadencia systemd[1]: Started ISC DHCP Server for IPv4 (dhcpd.conf).
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Internet Systems Consortium DHCP Server 4.4.1
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Copyright 2004-2018 Internet Systems Consortium.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: All rights reserved.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: For info, please visit
MH> https://www.isc.org/software/dhcp/
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 0 deleted host decls to leases file.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 0 new dynamic host decls to leases file.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Wrote 1012 leases to leases file.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer
MH> chasse-cadencia: I move from normal to startup
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: Server starting service.
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer
MH> chasse-cadencia: peer moves from normal to communications-interrupted
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: failover peer
MH> chasse-cadencia: I move from startup to normal
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: balancing pool 121fe38
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: balanced pool 121fe38
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: balancing pool 11feaf8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 08:01:14 cadencia dhcpd[5820]: balanced pool 11feaf8
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18
MH> Sep 16 08:01:15 cadencia dhcpd[5820]: failover peer
MH> chasse-cadencia: peer moves from communications-interrupted to normal
MH> Sep 16 08:01:15 cadencia dhcpd[5820]: failover peer
MH> chasse-cadencia: Both servers normal


MH> Sep 16 08:00:57 chasse dhcpd[19536]: peer chasse-cadencia: disconnected
MH> Sep 16 08:00:57 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: I move from normal to communications-interrupted
MH> Sep 16 08:01:01 chasse dhcpd[814]: Relay-forward message from
MH> 2a01:238:42bc:a181::70:100 port 547, link address
MH> 2a01:238:42bc:a18c::70:100, peer ad
MH> Sep 16 08:01:01 chasse dhcpd[814]: No subnet found for
MH> link-address 2a01:238:42bc:a18c::70:100.
MH> Sep 16 08:01:02 chasse dhcpd[19536]: DHCPDISCOVER from
MH> 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
MH> Sep 16 08:01:04 chasse dhcpd[19536]: DHCPDISCOVER from
MH> 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
MH> Sep 16 08:01:08 chasse dhcpd[19536]: DHCPDISCOVER from
MH> 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
MH> Sep 16 08:01:13 chasse dhcpd[19536]: DHCPDISCOVER from
MH> 2c:f4:32:db:c3:06 via 192.168.184.254: peer holds all free leases
MH> Sep 16 08:01:14 chasse dhcpd[814]: Solicit message from
MH> fe80::5054:ff:fe9e:9a15 port 546, transaction ID 0x1D67E000
MH> Sep 16 08:01:14 chasse dhcpd[814]: Lease for b55e:67ff:0:0:0:0 leased to d6:16:75:5:f2:ba
MH> Sep 16 08:01:14 chasse dhcpd[814]: Unable to pick client address:
MH> no IPv6 pools on this shared network
MH> Sep 16 08:01:14 chasse dhcpd[814]: Sending Reply to fe80::5054:ff:fe9e:9a15 port 546
MH> Sep 16 08:01:14 chasse dhcpd[814]: Relay-forward message from
MH> 2a01:238:42bc:a181::70:100 port 547, link address
MH> 2a01:238:42bc:a181::70:100, peer ad
MH> Sep 16 08:01:14 chasse dhcpd[814]: Lease for b55e:67ff:0:0:0:0 leased to d6:16:75:5:f2:ba
MH> Sep 16 08:01:14 chasse dhcpd[814]: Unable to pick client address:
MH> no IPv6 pools on this shared network
MH> Sep 16 08:01:14 chasse dhcpd[814]: Sending Relay-reply to
MH> 2a01:238:42bc:a181::70:100 port 547
MH> Sep 16 08:01:14 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: peer moves from normal to normal
MH> Sep 16 08:01:14 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: I move from communications-interrupted to normal
MH> Sep 16 08:01:14 chasse dhcpd[19536]: failover peer
MH> chasse-cadencia: Both servers normal
MH> Sep 16 08:01:14 chasse dhcpd[19536]: balancing pool 5650a31a3ac0
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-own (+/-)10
MH> Sep 16 08:01:14 chasse dhcpd[19536]: balanced pool 5650a31a3ac0
MH> 192.168.189.0/24  total 100  free 49  backup 49  lts 0  max-misbal 15
MH> Sep 16 08:01:14 chasse dhcpd[19536]: balancing pool 5650a316be80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-own (+/-)12
MH> Sep 16 08:01:14 chasse dhcpd[19536]: balanced pool 5650a316be80
MH> 192.168.184.0/24  total 120  free 58  backup 59  lts 0  max-misbal 18


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: "peer holds all free leases"

Marc Haber
Hi Greg,

thanks for your answer.

On Wed, Sep 16, 2020 at 10:21:49AM -0700, Gregory Sloop wrote:
> Is it possible you have "host" (or other "global") statements that are connected to a different subnet than the "fixed address" in the host statement?
> [i.e. A host statement that has a fixed address of 10.0.0.1 in a 10.2.0.0/24 network/subnet.]

I believed not, but prompted by your answer I looked into the
configuration and into my logs again for one more time. I found out that
it was not all clients that were denied, but just a bunch of Wifi
clients (Tasmotized Smart Power Plugs) that were SUPPOSED to be in an
entirely different VLAN and have reservations there.

The reason that they were in the wrong VLAN was that my Ubiquiti WiFi
setup had a major glitch the day before and I had to do spontaneous
maintenance, and I had two digits swapped in the VLAN ID.

After this was fixed, everything is fine again now.

With the noise from the DHCP server removed, I was able to identify the
actual problem that prevented my phone from connecting, this is not DHCP
related but another issue in the Ubiquiti stuff.

Thank you for pointing me into the right direction again.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: "peer holds all free leases"

Gregory Sloop
Re: "peer holds all free leases" Woot woot!

I may never be as good as Simon/Bil/Glenn/Stan/Niall et al., but I can actually answer a question or two accurately, at least occasionally!
LOL

Glad that was helpful!
[And don't get me started on Unifi/Ubiquiti foibles!]

Cheers!
-Greg


MH> Hi Greg,

MH> thanks for your answer.

MH> On Wed, Sep 16, 2020 at 10:21:49AM -0700, Gregory Sloop wrote:
>> Is it possible you have "host" (or other "global") statements that are connected to a different subnet than the "fixed address" in the host statement?
>> [i.e. A host statement that has a fixed address of 10.0.0.1 in a 10.2.0.0/24 network/subnet.]

MH> I believed not, but prompted by your answer I looked into the
MH> configuration and into my logs again for one more time. I found out that
MH> it was not all clients that were denied, but just a bunch of Wifi
MH> clients (Tasmotized Smart Power Plugs) that were SUPPOSED to be in an
MH> entirely different VLAN and have reservations there.

MH> The reason that they were in the wrong VLAN was that my Ubiquiti WiFi
MH> setup had a major glitch the day before and I had to do spontaneous
MH> maintenance, and I had two digits swapped in the VLAN ID.

MH> After this was fixed, everything is fine again now.

MH> With the noise from the DHCP server removed, I was able to identify the
MH> actual problem that prevented my phone from connecting, this is not DHCP
MH> related but another issue in the Ubiquiti stuff.

MH> Thank you for pointing me into the right direction again.

MH> Greetings
MH> Marc


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users