[Dnsmasq-discuss] How to configure 2 different nets: 1 guestnet, 1 "known-host net"?
simon at thekelleys.org.uk
Tue Feb 16 09:43:59 GMT 2010
Lars Rohwedder wrote:
> I try to configure two IP ranges:
> "known host net":
> 192.168.8.x for "known hosts": Host with a known MAC address and a fixed
> IP address.
> "guest net":
> 192.168.9.x for all unknown MAC addresses. Hosts in this net just get a
> short-time (1h or so) lease from a dynamic IP range pool.
> So I added several lines for my known hosts:
> and one dhcp-range for the guest net:
> The router (that also runs dnsmasq) has (at the internal network
> interface) the IP addresses 192.168.8.1 and 192.168.9.1 (I plan to use
> VLANs some day, at the moment both IP subnets share one physical network)
> The problem: All hosts always get IP addresses from the guest net. The
> MAC addresses are verified many times so ... why don't get the known
> hosts their right IP address? How can I fix that?
You need a dhcp-range for the the "known hosts" net too
should do the trick.
More information about the Dnsmasq-discuss