<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#333333" bgcolor="#FFFFFF">
<font face="Calibri">All, <br>
I ran into an interesting bug that I thought I'd share here. I set
up one of my Raspberry Pi computers as a Pi-hole and also
configured it to act as my DHCP server.<br>
After the Pi was acting as a my DHCP router I noticed hundreds of
log entries in the pihole.log file. <br>
The Pi was being flooded with these kind of requests:<br>
<br>
10:17:10 dnsmasq-dhcp[20546]: DHCPINFORM(eth0) 192.168.1.41
dc:a6:32:65:89:d9<br>
10:17:10 dnsmasq-dhcp[20546]: DHCPACK(eth0) 192.168.1.41
dc:a6:32:65:89:d9 desertpi<br>
<br>
Literally dozens of entries per second. As it turns out, I set my
other two PIs to static IP addresses using the GUI interface,
which put this into dhcpcd.conf file:<br>
interface eth0<br>
inform 192.168.1.41<br>
static routers=192.168.1.1<br>
static domain_name_servers=192.168.1.1<br>
<br>
When I changed it to this there were no more log entries as listed
above (i.e. changed 'inform' to 'static')<br>
interface eth0<br>
static ip_address=192.168.1.41/24<br>
static routers=192.168.1.1<br>
static domain_name_servers=192.168.1.1<br>
<br>
As it turns out there is a bug in dhcp that causes INFORM messages
to flood the router. Since my Netgear router acted as the dhcp
server previously, I never saw these entries (the netgear log must
not display them). But, I had always wondered why my PI's network
LED was always blinking so much....<br>
<br>
I could only find two article discussing this:<br>
<a class="moz-txt-link-freetext" href="https://raspberrypi.stackexchange.com/questions/116121/huge-syslog-filled-with-dhcpcd-lines">https://raspberrypi.stackexchange.com/questions/116121/huge-syslog-filled-with-dhcpcd-lines</a><br>
<a class="moz-txt-link-freetext" href="https://forums.raspberrypi.com/viewtopic.php?t=265516">https://forums.raspberrypi.com/viewtopic.php?t=265516</a><br>
<br>
My take away: Don't use the GUI to configure things. :)<br>
<br>
Hope this helps someone...<br>
Thanks,<br>
Peter<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
</body>
</html>