<div dir="ltr">Hi,<div><br></div><div>The dnsmasq manpage says:</div><div><br></div><div>"Addresses allocated like this [via dhcp-host] are not constrained to be in the range given by the --dhcp-range option, but they must be in the same subnet as some valid dhcp-range."</div><div><br></div><div>Unfortunately, the manpage does not appear to specify what exactly a "valid dhcp-range" is.  In order to be "valid", does a dhcp-range require an (active) network interface on the same subnet as the range?</div><div><br></div><div>My situation is as follows:</div><div><br></div><div>I am running two logical IP subnets on a single four port home wireless router.  This works fine.</div><div><br></div><div>The logical subnets are:</div><div>192.168.0.0</div><div><div>192.168.2.0</div><div><br></div><div>dnsmasq is running on a Raspberry Pi with eth0 of 192.168.0.1.  I have configured two dhcp-ranges, one on each subnet.</div></div><div><br></div><div>My goal is for dnsmasq to assign the IP address of 192.168.2.3 to a client based upon that client's MAC address.  This IP address is on the other subnet from the Pi.</div><div><br></div><div>However, dnsmasq is instead assigning an IP address from the dhcp-range on 192.168.0.0.</div><div><br></div><div>If I run "ifconfig eth0:1 192.168.2.1", then the Pi has active interfaces on both logical subnets, and then dnsmasq will assign 192.168.2.3 to the client.  However, I would like this assignment to happen even when the Pi does not have an interface on 192.168.2.0.</div><div><br></div><div>It appears I am running dnsmasq version 2.62-3+deb7u3.</div><div><br></div><div>The below thread may discuss a similar issue:</div><div><a href="http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q3/004412.html" target="_blank">http://lists.thekelleys.org.<wbr>uk/pipermail/dnsmasq-discuss/<wbr>2010q3/004412.html</a><br></div><div><br></div><div>Thanks in advance for any advice or suggestions.</div><div><br></div><div>Cheers,</div><div><br></div><div>Parke</div><div><br></div></div>