2

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.* |
|              |                  | 192.168.0.1 |      |             |
 --------------                    -------------        -------------

the behavior i'm seeing is that the DHCP server is offering 192.168.0.* IPs and sending them back to 192.168.0.1, 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?

thanks!

1

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.