Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

#277286 6-Oct-2020 08:36
Send private message

I'm having trouble getting my Pixel 4a to pick up a static DHCP reservation from the pi hole. It works fine for every other device on the network - Moto G8, random home automation devices, etc. Helps make it easier to view statistics - not really that important but curious why it's not working.

 

I've turned off MAC randomisation for my home network, so the MAC is always the same. The DHCP lease is 24 hours, but I made the change about three days ago. I have confirmed that my DNS and DHCP are both coming from the Pi Hole using the "IPConfig" app on my phone.

 

Any ideas? I've checked Pi Hole is at latest version.

 

Here's the pi hole UI - irrelevant parts removed sorry. I also deleted the last four digits of the device MAC, but I can confirm they're exactly the same (tested with copy / find)

 


Filter this topic showing only the reply marked as answer Create new topic
jamesrt
1663 posts

Uber Geek
+1 received by user: 941

ID Verified
Trusted
Lifetime subscriber

  #2579879 6-Oct-2020 09:31
Send private message

The only thing that immediately comes to mind is that the Pixel is renewing it's existing lease/IP, rather than requesting a new one for some reason.

 

I assume you've toggled WiFi off and on since making the change; and/or rebooted the pixel; and/or left the house (i.e. gone out of WiFi range) ?




timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2579882 6-Oct-2020 09:44
Send private message

Yeah I've done all that multiple times thanks. It's an odd one.


littlehead
222 posts

Master Geek
+1 received by user: 102


  #2579890 6-Oct-2020 10:06
Send private message

Apparently you need to restart the pihole-FTL service for it to issue the new static IP address, see here. There are other reports of this as an issue around as well. I'm guessing this would be due to how Pi-Hole calculates a non-static IP for a given MAC address and wants to issue that one all the time. Once created it won't flick to a static assigned IP until the service is restarted and it looks at the static IP allocation table again.

 

 

 

 




timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2579897 6-Oct-2020 10:25
Send private message

Solved! Thanks @littlehead, I'm gona knickname you big head for today :) Weird bug.


Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.