-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 Issue again. #3053
Comments
same issue |
Hi, and thank you for the thorough report. From the logs, it seems like your installation's |
I see, thanks. This may be the same issue as #3056. We're planning a patch in the next few days for it. |
We've pushed a possible fix to the edge channel. Could you please check if our solution makes the DHCP server work better? |
I'll test this as soon as I get home 😉
Le jeu. 6 mai 2021 à 17:03, Ainar Garipov ***@***.***> a
écrit :
… We've pushed a possible fix to the edge channel. Could you please check if
our solution makes the DHCP server work better?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3053 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCRROWJXB25ZLGBTNMQHC3TMKVUFANCNFSM436KM7HA>
.
|
I updated to version 0.106.2 b1 and it seems to work. I deleted all the static leases that I had to set up manually and at the moment all of my devices got an IP quickly. I'll juste wait until all my dynamics leases renew. |
Finally I withdraw what I just said. Some of my devices still don't have internet access, despite having an IP assigned by DHCP. I'll post the log soon. |
The log is pretty similar as before :
It's this device that can't get internet access --^
And it's the same for all my leases, I have this two message in loop. |
Weird, we need verbose-level log to see what's happening.
|
Ok, I'll do that. Strangely, I had already activated the verbose mode, but apparently it was not saved after the update. |
@Black8all you need to stop AGH before changing verbose flag. |
I reproduce the issue with verbose mode on, I have posted below the log file only from the moment I removed the static lease to let DHCP assign an IP to my device. Despite getting an IP, the device has no access to the internet (it's a toshiba smart TV) and I guess that for a period of 45min the logs are huge. |
Today it's worst than ever, few of my devices can't obtain an IP, or if it obtain it, they don't have internet access. I need to set lot of statics lease for temporary solve the issue. |
Thank you for the log. We're still investigating the issue. It's really weird that the clients seem to be sending the same requests over and over. Do you use any additional options in |
No, I don't use any option. The only thing that I was configure is the IP range on the web GUI. There is no mysterious config. If you need more info or my complete log file, just ask me. |
We've pushed some DHCP changes to the Also, if you don't have a lot of static leases, and you don't mind adding them manually, you could also remove the Thanks. |
Okay, I'll test this right away. Normally when DHCP is working normally I only have 4 static leases, so it's not a big deal if I have to set them up again by hand. I have a lot more right now because of the problem with DHCP. Thanks for your work. |
It's ok, I done the update and removed my leases.db. Here is the log file from when I did the update and apparently I still have the same problem. For the moment only a few of my devices have tried to get an IP but the same messages keep coming up. On the other hand, those one get an IP (with difficulty) and internet connection but some others still don't. |
Thank you for the log. We will research it further. |
It was previously set to 1000, I increased it to 3000.
I'll wait for all my leases to be renewed. |
Thank you very much! I think that we have a couple of ways of improving the situation now. You should probably keep the new timeout value at least for now. |
Unfortunately always the same thing, all this log is only for one device. |
Is this a manually filtered log? If so, have you noticed any requests from that machine with the Also, just to be safe, there are no other DHCP servers in that network, correct? |
This is not a filtered log, I just selected the logs from when one of my hosts tried to get an IP, to the end of the file. The whole log file is over 90MB and not all of it is relevant. Because of my ISP, I had to configure two DHCP, because my TV set-top box only wants an IP from the ISP box. The DHCP range of the ISP box is 192.168.1.2 to 192.168.1.3. and I have set up two static leases on the ISP box. One for the decoder .2 and one for my NAS .3 (which hosts AGH). Then the DHCP of AGH takes over on a range from 192.168.1.5 to 192.168.1.150. I know it's not very clean but it's the only way I can use AGH and my IPTV. And as far as I remember it worked well with version 0.105.2. |
I see. Unfortunately, configurations with two DHCP servers in one network aren't really supported by AGH, sorry. We'll try to make a few more fixes in v0.106.3, but we cannot guarantee that they will fix the issue, as again, such configurations aren't currently supported. |
OK, it's a shame, I really appreciate AGH 😢, I'll try to rollback to 0.105.2 for see if it worked. If so I would stay on this version 😅. |
Updates #3053. Squashed commit of the following: commit eb68a21 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:58:15 2021 +0300 dhcpd: do not panic commit 4236789 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:18:49 2021 +0300 dhcpd: support decline and release msgs
The latest |
Nice 👍I'll test this this evening. |
I just updated to the v0.107.0-a.29+5acae6e2, I'll see if it's better. |
Apparently nothing has changed for me with this update. |
@Black8all, we've improved logging a bit in the most recent
The restart and the full log are very important. If you would like to make it more private, you could sent it to devteam@adguard.com with the subject line “AdGuard Home Issue 3053”. We still don't see why the DHCP clients would behave the way they behave and which changes in v0.106 branch caused it, but we're looking into it further. |
Thanks you very much for your hard work. I'll do that as soon as I get back to home. |
Updates #3053. Squashed commit of the following: commit eb68a21 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:58:15 2021 +0300 dhcpd: do not panic commit 4236789 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:18:49 2021 +0300 dhcpd: support decline and release msgs
We have received the logs, thanks. We will inspect them and see if we can improve something more in the nearest days. |
@Black8all, I remember I proposed that you increase |
But this is a completely valid configuration: two DHCP servers with different ranges (split scope) as you can read in this stackexchange question/answer Can I have multiple DHCP servers on one network? I have the same. My ISP's modem can't disable the DHCP server, so this server is only handling some non existent mac address, meaning it doesn't do anything on my network! On the other hand I'm using redundant AGH docker containers using bakito's adguardhome-sync to fully (config, dns, dhcp) sync the instances. So I have 3 DHCP servers running on my network using static leases, where the AGH containers are servicing the exact same DHCP range, which is - again - a valid DHCP configuration! |
could add option for it in the configuration. |
@Black8all I can't get IPs for my ESPs and some other IoT stuff as well. It seem to me that this issue is coming from the fact that ESPs etc. expect a Unicast response from the DHCP server, but currently the ADH DHCP is only responding with Broadcasts. After I changed some code in #3458, it worked was able to receive IPs with my ESPs etc. |
@Black8all, hello. We've made several improvements to the DHCP server during the v0.107 cycle. Could you please check one of our latest betas to see if there are still issues? |
@ainar-g Checked it as well. Seems to fixed my problem. |
@Black8all, hello. We've made another round of improvements to the DHCP server. We'll close this issue for now, but if you find any new issues with the latest |
Hi,
thanks for your hard works, I don't have the time right now to test that,
but I'll try ASAP 👍
Le jeu. 30 sept. 2021 à 19:05, Ainar Garipov ***@***.***> a
écrit :
… @Black8all <https://github.com/Black8all>, hello. We've made another
round of improvements to the DHCP server. We'll close this issue for now,
but if you find any new issues with the latest edge builds, please report
them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3053 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCRRORVMCUVCSF4FX4KLYLUESKE3ANCNFSM436KM7HA>
.
|
Updates AdguardTeam#3053. Squashed commit of the following: commit eb68a21 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:58:15 2021 +0300 dhcpd: do not panic commit 4236789 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri May 14 18:18:49 2021 +0300 dhcpd: support decline and release msgs
Hi, after few test, I have some trouble again with the DHCP. Some of my devices can't obtain an IP and I need to set a static lease if I want it to work.
I also encounter some of disconnection with few other. In the end, my log file are flooded by message about normalisation error.
I run now the 1.0.6.1 b1
Best regards
AdGuard.log
Originally posted by @Black8all in #2978 (comment)
The text was updated successfully, but these errors were encountered: