i'd like to know if it's possible for the internet to be between a DHCP server and the network it's "assigned" to? so basically, something like this:

 --------------                    -------------        -------------
|  DHCP Server |                  |    DHCP     |      |   Clients   |
|              |-----Internet-----| Relay Agent |------| 192.168.0.* |
|              |                  | |      |             |
 --------------                    -------------        -------------

the behavior i'm seeing is that the DHCP server is offering 192.168.0.* IPs and sending them back to, which it can't reach. i tried masquerading the packets sent by the relay agent but that doesn't seem to work. from what i've been reading, this is normal behavior since the DHCP server uses the GIADDR as the destination address for its OFFERs, and not the actual source IP of the packets it receives from the relay agent.

sooo, given that my DHCP server needs to be "on the other side of the internet" as depicted above, how can i get this working? are there settings for dhcpd to do this or is creating a VPN containing the DHCP server and the relay agent the only way?



I'm not aware of any other way than creating a proper VPN for this configuration.

| improve this answer | |
  • for anyone attempting this setup, creating a VPN that contains the DHCP server and the relay agent indeed does work! – rmanna May 28 '14 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.