[Dnsmasq-discuss] dhcp helper and unicast requests

Jon Nelson jnelson+dnsmasq at jamponi.net
Tue Jun 22 16:47:21 BST 2010


I have a network like this:

192.168.2.XX   <->  router  <->  192.168.1.XX

There are a bunch of machines in the 192.168.2.0/24 network, and
(most) of them use DHCP. The router *currently* runs dhcrelay to relay
dhcp requests to 192.168.1.1, which is where the DHCP server (dnsmasq)
is.

I tried using dhcp-helper but it appeared to work only with
broadcasts. Once clients in the 192.168.2.x network got an address,
they periodically issued DHCPREQUEST requests *unicasted* to
192.168.1.1.  No matter what I did, dhcp-helper didn't see them
(confirmed with strace). What should be going on here? Should
dhcp-helper be fiddling with the packets to set the server address to
the address it received the initial request on (192.168.2.1), or
should I be using firewall tricks, or what? I even see some
dhcp/bootp-related bits in /proc, and I'm not sure what I should do
(if anything!) with those.



-- 
Jon



More information about the Dnsmasq-discuss mailing list