[Dnsmasq-discuss] DHCP setup
Philippe Faure
philippe at faure.ca
Mon Oct 4 02:15:04 BST 2010
Hello,
I didn't hear back from anyone, so I thought that I would try to see
if my request makes sense.
I have dnsmasq running on 3 separate servers, each in different
cities. They are all connected via a secure tunnel. I was finding
that DHCP request made in location A is being answered by the DHCP
server in location B.
Currently to avoid this issue, I am using:
dhcp-host=00:0e:35:f6:d8:af,ignore
as a way to stop server B handling requests that typically should be
handled by server A. This means that each time new hardware is brought
online, the dnsmasq.conf files need to be updated in the other two
locations so that they ignore hardware that doesn't belong to them.
Do you know if there is a better way of handling this issue? Since what
does happen from time to time, is that devices normally associated
with Location A do visit Location B. so hen the DHCP assignment comes
from the hardware's home location, and not the closest server.
Is there a way to use the IP of the local router to accept DHCP
request, if the request comes from a router from a different location,
pr the tunnel then ignore that request? I believe that this would be
a cleaner solution, but just not sure of how to implement it. Even if
it is possible.
Thank you
Philippe
More information about the Dnsmasq-discuss
mailing list