Posted: Fri Aug 22, 2014 1:41 Post subject: [Solved] R7000 Guest Wifi Setup -- What am I doing wrong??
I am not able to get an IP when I unbridge the guest wifi. Here are the screen shots of the virtual interface, the physical interface, and the DHCPd info.
Do I need to do something with the bridging? I haven't read anywhere that I do. I followed Kong's guide and it's not working.
Output from "cat /tmp/dnsmasq.conf":
user=root
interface=br0,wl0.1
resolv-file=/tmp/resolv.dnsmasq
all-servers
stop-dns-rebind
strict-order
Output from "cat /tmp/dnsmasq.resolv":
cat: can't open '/tmp/dnsmasq.resolv': No such file or directory
I did not see DNSMasq running when I ran the "ps" command.
Also, I am able to get the guest wifi working as long as I don't set any static IP addresses while having the "Use DNSMasq for DHCP" box checked. If I have static IPs and uncheck the "Use DNSMasq for DHCP" box, my internet connection works, but guest wifi does not obtain an IP.
So: Static IPs = "Use DNSMasq for DHCP" box unchecked (which in turn unchecks "DHCP-Authoritative") = no IP obtained on guest wifi
No static IPs = "Use DNSMasq for DHCP" box checked = guest wifi gives out IPs correctly but no internet on main WLAN
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Fri Aug 22, 2014 6:10 Post subject:
HalfBit wrote:
I am using only the R7000 as DHCP for the LAN.
Output from "cat /tmp/dnsmasq.conf":
user=root
interface=br0,wl0.1
resolv-file=/tmp/resolv.dnsmasq
all-servers
stop-dns-rebind
strict-order
Output from "cat /tmp/dnsmasq.resolv":
cat: can't open '/tmp/dnsmasq.resolv': No such file or directory
I did not see DNSMasq running when I ran the "ps" command.
Also, I am able to get the guest wifi working as long as I don't set any static IP addresses while having the "Use DNSMasq for DHCP" box checked. If I have static IPs and uncheck the "Use DNSMasq for DHCP" box, my internet connection works, but guest wifi does not obtain an IP.
So: Static IPs = "Use DNSMasq for DHCP" box unchecked (which in turn unchecks "DHCP-Authoritative") = no IP obtained on guest wifi
No static IPs = "Use DNSMasq for DHCP" box checked = guest wifi gives out IPs correctly but no internet on main WLAN
Is this normal behavior?
First off I reversed file. It should have resolv.dnsmasq
No it's not normal.
First off if you run ps and you can't see dnsmasq then I can't see how your getting dhcp via the r7000. You don't have another ap on the network?
Your loosing ip sorta sounds like it's either conflicting with another device or there are not enough addresses. Try setting # addresses to like 100
You should be seeing entries like these when you enable dhcp
Joined: 25 Dec 2010 Posts: 295 Location: Twin Cities, MN
Posted: Fri Aug 22, 2014 12:01 Post subject: Re: R7000 Guest Wifi Setup -- What am I doing wrong??
HalfBit wrote:
I am not able to get an IP when I unbridge the guest wifi. Here are the screen shots of the virtual interface, the physical interface, and the DHCPd info.
Do I need to do something with the bridging? I haven't read anywhere that I do. I followed Kong's guide and it's not working.
Can anyone tell me what I am missing??
according to Kongs guide, AP Isolation needs to be disabled on wl0.1..it is in my guest setup, and it works.. _________________ NETGEAR R9000 | RT | 40134 NETGEAR R7800 | AP | 40134
When you static you mean you are assigning an ip directly on the device?
No, I'm managing all IPs on the router under the Services>Services tab(s)--not on the individual devices. I could assign the IP on the devices, but I would rather have it centralized on the router. _________________ R7000 Nighthawk - DD-WRT v3.0-r50308
R7000 Nighthawk - DD-WRT v3.0-r50308
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x https://pi-hole.net/ https://github.com/DNSCrypt/dnscrypt-proxy
Posted: Fri Aug 22, 2014 13:59 Post subject: Re: R7000 Guest Wifi Setup -- What am I doing wrong??
NiTrus wrote:
HalfBit wrote:
I am not able to get an IP when I unbridge the guest wifi. Here are the screen shots of the virtual interface, the physical interface, and the DHCPd info.
Do I need to do something with the bridging? I haven't read anywhere that I do. I followed Kong's guide and it's not working.
Can anyone tell me what I am missing??
according to Kongs guide, AP Isolation needs to be disabled on wl0.1..it is in my guest setup, and it works..
I've tried both enabled and disabled. I will leave it disabled from now on. Thanks for the confirmation. _________________ R7000 Nighthawk - DD-WRT v3.0-r50308
R7000 Nighthawk - DD-WRT v3.0-r50308
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x https://pi-hole.net/ https://github.com/DNSCrypt/dnscrypt-proxy
To use multiple DHCPD, enable DNSMasq as a DHCP server.
Yes, and it works as long as I don't have ANY static IPs set. Once I enable DNSMasq as a DHCP server and set any static IPs (even for APs not in use, the wireless printer and a wired NAS) the laptops, iPod Touch, and Kindle Fire lose internet connectivity.
If I disable DNSMasq as a DHCP server with static IPs set, internet connectivity works for the main WLAN, but IPs are not obtained on Guest wifi (understandably so with no DHCP server for that network). Guest wifi still doesn't work even if I manually set the IP on the device I am trying to connect to it.
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Fri Aug 22, 2014 16:24 Post subject:
HalfBit wrote:
alllexx wrote:
Well, according to dd-wrt help,
Quote:
To use multiple DHCPD, enable DNSMasq as a DHCP server.
Yes, and it works as long as I don't have ANY static IPs set. Once I enable DNSMasq as a DHCP server and set any static IPs (even for APs not in use, the wireless printer and a wired NAS) the laptops, iPod Touch, and Kindle Fire lose internet connectivity.
If I disable DNSMasq as a DHCP server with static IPs set, internet connectivity works for the main WLAN, but IPs are not obtained on Guest wifi (understandably so with no DHCP server for that network). Guest wifi still doesn't work even if I manually set the IP on the device I am trying to connect to it.
Keep the ideas coming guys!
So your saying with dnsmasq for dhcp disabled and you run ps there is no instance of dnsmasq. Yet you say that your laptop still gets an ip assigned. Can you provide a copy of the output from ps.
You also mention APs not in use. Are you 100% sure that none of those APs is running a dhcp server?
As dnsmasq is the dhcp server and it's not running, the IP has to be coming from somewhere.
So your saying with dnsmasq for dhcp disabled and you run ps there is no instance of dnsmasq. Yet you say that your laptop still gets an ip assigned. Can you provide a copy of the output from ps.
You also mention APs not in use. Are you 100% sure that none of those APs is running a dhcp server?
As dnsmasq is the dhcp server and it's not running, the IP has to be coming from somewhere.
The original output from a day or so ago did not have anything with DNSMasq. I will provide the output from today with the "Use DNSMasq for DHCP" and consequently the "Authoritative-DHCP" boxes unchecked below.
The APs I mentioned are two wrt54g routers (v2 and v8.2) that are currently unplugged and in a drawer. I have static IPs 192.168.1.2 and 192.168.1.3 assigned for them should they be turned on.
Above the "Use DNSMasq for DHCP/DNS" and "Authoritative-DHCP" checkboxes is where the DHCP server is enabled with the specified start address and range (192.168.1.150-159, for a maximum of 10 devices). The static IPs are set to 192.168.1.2-3 and 192.168.1.100-109 (11 devices statically defined in these ranges).