You are not logged in.
Hello,
I want to build a router with guest wifi access and have problems with dnsmasq and static/dynamic ranges.
I use the 192.168.1.0/24 for static assignments (known hosts) and 192.168.2.0/24 for the guest wifi.
Here is my (partly) dnsmasq-config:
interface=enp1s0u2u1
interface=wlan0
no-dhcp-interface=eth0
dhcp-range=set:known,192.168.1.0,static,255.255.255.0,12h
dhcp-range=set:guest,192.168.2.16,192.168.2.191,255.255.255.0,12h
dhcp-host=client1,set:known,MAC,192.168.1.64
dhcp-host=client2,set:known,MAC,192.168.1.17
dhcp-host=client3,set:known,MAC,192.168.1.65
dhcp-option=set:known,3,192.168.1.254
dhcp-option=set:guest,3,192.168.2.254
eth0 is the outgoing interface to the internet, enp1s0u2u1 is an usb3 network card.
As long there is a dhcp-request from a known client everything works.
If there is a dhcp-reqeust from an unknown client I got an error message:
Jun 15 21:17:52 router dnsmasq-dhcp[14464]: 3124376361 DHCPDISCOVER(enp1s0u2u1) 192.168.1.65 MAC no address available
I search google a lot and didn't find a solution.
What do I have to do that dnsmasq is assigning unknown clkients to the "guest" set?
Reagrds,
easy
Offline
Hi,
I want to build a router with guest wifi access
...
192.168.2.0/24 for the guest wifi.
Jun 15 21:17:52 router dnsmasq-dhcp[14464]: 3124376361 DHCPDISCOVER(enp1s0u2u1) 192.168.1.65 MAC no address available
Is your enp1s0u2u1 connected to guest wifi ? Or is it wlan0 ? Because, your log shows enp1s0u2u1 received DHCPDISCOVER.
Could you post the configuration of both network interfaces listenning (enp1s0u2u1 and wlan0) ? (I think enp1s0u2u1 is not on 192.168.2.0/24 network, so it serves only the «known» dhcp-range).
Offline