Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHCP server ignores static assignment. #1005

Closed
davidbdyer opened this issue Sep 15, 2019 · 12 comments
Closed

DHCP server ignores static assignment. #1005

davidbdyer opened this issue Sep 15, 2019 · 12 comments
Assignees
Milestone

Comments

@davidbdyer
Copy link

The DHCP server ignore the assignment of static IPs with the built in DHCP server.

@ameshkov
Copy link
Member

To troubleshoot this issue we need to see AdGuard Home logs.

  1. Configure AdGuard Home to collect logs:
    • Specify log_file
    • Set verbose to True
  2. Restart AdGuard Home and reproduce the issue
  3. Post the log file here.

We also need to know what exact static assignment is ignored.

@davidbdyer
Copy link
Author

is it because i'm running adguard home in a docker?

@ameshkov
Copy link
Member

It shouldn't matter. The log file could help us figure what exactly is wrong

@davidbdyer
Copy link
Author

I set it up so it's recording a log. How long should I let it run before attaching the log to this thread?

@ameshkov
Copy link
Member

Just reproduce the issue and that would be enough.

We need to know as much details about the issue as possible

@davidbdyer
Copy link
Author

Right now it's my shield TV not getting the correct IP address. I stopped trying to assign a static IP to my PC because it caused the custom client settings to not apply.
logfile.txt

@szolin
Copy link
Contributor

szolin commented Nov 15, 2019

What is the MAC address of your device and what IP address did you configure for it as static?

@davidbdyer
Copy link
Author

00:04:4b:39:8c:32 - 192.168.1.80

It's currently using 192.168.1.62. When i use my router for DHCP it assigns to the correct IP address. I sometime use the shield as a secondary plex server.

@szolin
Copy link
Contributor

szolin commented Nov 18, 2019

Thank you for the logs! Your device requests the server to assign 192.168.1.62 to it and the server does it. Instead, it should reject .62 and assign .80.

@szolin szolin self-assigned this Nov 18, 2019
@davidbdyer
Copy link
Author

I'm using AdGuards DHCP server and assigned the IP in AdGuard, so why doesn't AdGuard reject .62 and assign .80? I am not a noob i know how to setup a DHCP server. When I use my router for DHCP it works fine. I have never assigned .62 using my router. I've also had issues with assigning the correct IP to my NAS and when using a static IP for my desktop the custom client settings don't apply. I can't constantly switch back and not have my stuff work to create logs.

@ameshkov ameshkov added this to the v0.100 milestone Nov 19, 2019
@ameshkov
Copy link
Member

Marked as bug, assigned to v0.100 milestone

@szolin
Copy link
Contributor

szolin commented Nov 25, 2019

so why doesn't AdGuard reject .62 and assign .80?

it's a bug

@adguard adguard closed this as completed in 89cc171 Dec 4, 2019
adguard pushed a commit that referenced this issue Feb 15, 2021
Merge in DNS/adguard-home from 2675-larger-requests to master

Updates #2675.

Squashed commit of the following:

commit 2b45c9b
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Feb 15 13:38:44 2021 +0300

    home: imp names

commit dad39ae
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Feb 15 13:31:53 2021 +0300

    home: imp large req handling
heyxkhoa pushed a commit to heyxkhoa/AdGuardHome that referenced this issue Mar 20, 2023
Merge in DNS/adguard-home from 2675-larger-requests to master

Updates AdguardTeam#2675.

Squashed commit of the following:

commit 2b45c9b
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Feb 15 13:38:44 2021 +0300

    home: imp names

commit dad39ae
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Feb 15 13:31:53 2021 +0300

    home: imp large req handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants