-
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
No Internet when enabling DHCP #3742
Comments
Can you please check if the DNS Server is answering correctly and which IP is resolved for www.google.com. |
@bntsp Below is the static configuration for Pi OS Example static IP configuration:interface wlan0 Also below are images for errors I could see when checking the DNS upstream server. Please help to check. Thank you so much! |
@diepnt90, the gateway IP doesn't seem to be within the same subnet. Is that the intention? We've introduced some changes to the DHCP server's behavior during the v0.107.0 cycle (See #3443, #3538). Briefly, the list of DHCP options returned within the lease is now expanded to satisfy the RFC-2131. It says that all the requested options should be returned with either explicitly configured value or the default one. So the problem may be caused by unexpected values in the lease. Could you please try to specify the subnet mask to cover both |
I changed the local LAN IP to 192.168.10.1 255.255.255.0 and AGH works fine now. But I think 172.16.10.1/24 255.255.255.0 is the correct setup and should work :D |
@diepnt90, what do you mean by "local LAN IP", what exactly did you changed?
This is the correct setup itself, the problems begin when you're trying to work outside of a single subnet. |
Internet -> my modem -> PI So my change the LAN of the modem from 172.16.10.10/24 to 192.168.10.10/24 |
@diepnt90, are other settings remained the same? If it works with the address of AGH's host being |
Hi @EugeneOne1 Change IP range 192.168.10.1/24 with gateway192.168.10.1 before it was 172.16.10.1/24 and gateway 172.168.10.1 all are the same just change the LAN IP range on openwrt of my modem |
Have a question or an idea? Please search it on our forum to make sure it was not yet asked. If you cannot find what you had in mind, please submit it here.
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
Expected Behavior
DHCP works and can access the internet
Actual Behavior
DHCP works but no internet access
Screenshots
Hi,
I installed AGH on my PI. It can give PC, mobile IPs but these devices do not have internet access.
I tried to install an old version like https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz and it worked well but the newest version does not work.
You can see my screenshot
Please help. Thank you.
Screenshot:
Additional Information
The text was updated successfully, but these errors were encountered: