dhcp relay responses

glenn.satchell at uniq.com.au glenn.satchell at uniq.com.au
Fri Jan 31 06:50:50 UTC 2020


Hi Alan,

Yeah, you're out of luck. The initial broadcast can be relayed through a 
NAT, but for ACKs and REQUESTs the dhcp server communicates directly 
with the client dhcp client device.

regards,
-glenn

On 2020-01-31 10:33, Alan Batie wrote:
> We are setting up a private network with dhcp.  The router for the
> private network is setup to relay dhcp to an external isc dhcpd server.
> The requests to the dhcpd server come from the public address of the
> router, however dhcpd is replying to the private address.  I don't see
> anything in the docs for managing the replies.  We are trying to avoid
> routing the private network even internally.  Are we out of luck?
> 
> 
> dhcp01             router
> 1.1.1.1  - 2.2.2.2        10.1.1.1
> 
> request 2.2.2.2 -> 1.1.1.1
> reply 1.1.1.1 -> 10.1.1.1
> 
> I do see in the request:
> 
>     Relay agent IP address: 10.47.87.1 (10.47.87.1)
> 
> However this is the only information that can be used to determine 
> which
> pool of addresses the dhcp server should assign leases from, so I don't
> see that changing that would be workable.
> 
> 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list