PXE booting with 3.2.x: DHCP-Server-IP-Address

Nick Porter nick at portercomputing.co.uk
Mon Jun 24 10:28:58 UTC 2024


On 24/06/2024 10:03, Hermann.Lauer at uni-heidelberg.de wrote:
> So I never thought that I need to use "DHCP-Server-IP-Address" for the
> TFTP server (which is not the same as the dhcp server at our site).

What should work is, in the virtual server "listen" section, set the 
ipaddr or src_ipaddr to that of the DHCP server.

Then in your policy set the value of &reply:DHCP-Server-IP-Address to be 
the TFTP server.

Note, in FreeRADIUS v3, all DHCP options have a DHCP- prefix - this is 
to distinguish them from RADIUS attributes.

In FreeRADIUS v4, virtual servers operate in a protocol name space, so 
those prefixes are removed, making this particular option less confusing 
- it does not refer to the "DHCP server IP address", but rather the DHCP 
option "server IP address"

Nick

-- 
Nick Porter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20240624/4e04fdf0/attachment.sig>


More information about the Freeradius-Users mailing list