DHCP relay - process replies (DHCP-Offer, DHCP-Ack...)

Alan DeKok aland at deployingradius.com
Thu Oct 12 15:41:53 CEST 2017

On Oct 12, 2017, at 8:44 AM, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
> But in the virtual server configuration, the giaddr is supposed to be changed:
> 		update request {
> 			# IP Address of the DHCP relay (ourselves)
> 			&DHCP-Gateway-IP-Address :=
> 		}

  That should work...  the code path isn't complicated.

> This doesn't work, however. The network capture shows that giaddr was not changed in the relayed packet.
> I thought maybe it's because "request" is the initial packet received, so I need to update the "proxy request".

  No, the DHCP relay forwards the original request.  It's all a bit backwards.

> What is the correct way to have FreeRADIUS behave as a DHCP relay ?

  It should work.  What does the debug output show?

  Alan DeKok.

More information about the Freeradius-Users mailing list