DHCP listing duplicate IP's for same device #5884

Open
opened 2026-03-04 06:42:12 -05:00 by deekerman · 7 comments
Owner

Originally created by @nishikant on GitHub (Jan 17, 2026).

Prerequisites

Platform (OS and CPU architecture)

Custom (please mention in the description)

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On a router, DHCP is handled by AdGuard Home

AdGuard Home version

Version: 0.107.71

Action

DHCP should assign a IP only once to a MAC.

Expected result

No IP conflict and single IP assignment

Actual result

Image

Additional information and/or screenshots

My setup is ISP (192.168.1.1) -> Raspberry PI 5 (192.168.1.5 [wan] & 192.168.3.1 [lan]) -> eero mesh (bridge mode: 1 main and 2 extenders). Adguardhome runs on Openwrt installed on Raspberry pi 5. DHCP runs on 192.168.3.1 and is supposed to assign IP's to all devices.

Originally created by @nishikant on GitHub (Jan 17, 2026). ### Prerequisites - [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer - [x] I have searched other issues and found no duplicates - [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) - [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.) ### Platform (OS and CPU architecture) Custom (please mention in the description) ### Installation Custom package (OpenWrt, HomeAssistant, etc; please mention in the description) ### Setup On a router, DHCP is handled by AdGuard Home ### AdGuard Home version Version: 0.107.71 ### Action DHCP should assign a IP only once to a MAC. ### Expected result No IP conflict and single IP assignment ### Actual result <img width="1174" height="586" alt="Image" src="https://github.com/user-attachments/assets/13b3bf9b-0c3f-47e5-b8fc-85f7313e1dc3" /> ### Additional information and/or screenshots My setup is ISP (192.168.1.1) -> Raspberry PI 5 (192.168.1.5 [wan] & 192.168.3.1 [lan]) -> eero mesh (bridge mode: 1 main and 2 extenders). Adguardhome runs on Openwrt installed on Raspberry pi 5. DHCP runs on 192.168.3.1 and is supposed to assign IP's to all devices.
Author
Owner

@tjharman commented on GitHub (Jan 17, 2026):

I don't see any duplicates there? They're the same MAC address assigned to the same IP. Yes, the hostname has changed but there's no IP Address conflict or actual problem here, is there?
Or do I miss something?

Image
@tjharman commented on GitHub (Jan 17, 2026): I don't see any duplicates there? They're the same MAC address assigned to the same IP. Yes, the hostname has changed but there's no IP Address conflict or actual problem here, is there? Or do I miss something? <img width="1635" height="792" alt="Image" src="https://github.com/user-attachments/assets/7cd73d9d-a954-4664-a63b-738fcada193a" />
Author
Owner

@nishikant commented on GitHub (Jan 17, 2026):

This throws error on device trying to connect. It throws IP already assigned message. Don't have a screenshot of that.

I have switched to dnsmasq dhcp for now.

@nishikant commented on GitHub (Jan 17, 2026): This throws error on device trying to connect. It throws IP already assigned message. Don't have a screenshot of that. I have switched to dnsmasq dhcp for now.
Author
Owner

@tjharman commented on GitHub (Jan 17, 2026):

What is throwing the error? If AdGuardHome can you upload the log file please?

@tjharman commented on GitHub (Jan 17, 2026): What is throwing the error? If AdGuardHome can you upload the log file please?
Author
Owner

@nishikant commented on GitHub (Jan 19, 2026):

Image This is what I see on my mac.

Will try to capture adguardhome logs and share.

@nishikant commented on GitHub (Jan 19, 2026): <img width="269" height="317" alt="Image" src="https://github.com/user-attachments/assets/2bed51be-46b5-4d14-ac9c-74751efa6b21" /> This is what I see on my mac. Will try to capture adguardhome logs and share.
Author
Owner

@tjharman commented on GitHub (Jan 19, 2026):

This sounds like you have some other device handing out DHCP addresses. What does your routers arp table show?
Are you sure you didn't statically set an IP address somewhere?

I am almost certain this is a local network problem and not an AdGuardHome issue.

Did you just turn off one DHCP server and then turn on AdguardHomes? That would cause this.

@tjharman commented on GitHub (Jan 19, 2026): This sounds like you have some other device handing out DHCP addresses. What does your routers arp table show? Are you sure you didn't statically set an IP address somewhere? I am almost certain this is a local network problem and not an AdGuardHome issue. Did you just turn off one DHCP server and then turn on AdguardHomes? That would cause this.
Author
Owner

@tjharman commented on GitHub (Jan 29, 2026):

Hi - any progress on this one?

@tjharman commented on GitHub (Jan 29, 2026): Hi - any progress on this one?
Author
Owner

@nishikant commented on GitHub (Jan 30, 2026):

I switched the dhcp to adguardhome and faced same issue. I could not figure out how to enable dhcp logging in adguardhome. So I found a work around for this problem.

I am running this on openwrt, where the data directory is in /tmp, and it gets wiped after every reboot.

  1. I changed adguardhome's data directory to /adguardhome by editting /etc/config/adguardhome.
    option work_dir '/adguardhome'
  2. Added /adguardhome/data/leases.json to backup config.
  3. Configured static leases to all the devices.
  4. This works even after unattended upgrade.

And things seems to be stable.

@nishikant commented on GitHub (Jan 30, 2026): I switched the dhcp to adguardhome and faced same issue. I could not figure out how to enable dhcp logging in adguardhome. So I found a work around for this problem. I am running this on openwrt, where the data directory is in /tmp, and it gets wiped after every reboot. 1. I changed adguardhome's data directory to /adguardhome by editting /etc/config/adguardhome. option work_dir '/adguardhome' 2. Added /adguardhome/data/leases.json to backup config. 3. Configured static leases to all the devices. 4. This works even after unattended upgrade. And things seems to be stable.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#5884
No description provided.