DHCP howto

Igor Smitran sigor at blic.net
Tue Feb 19 16:22:19 CET 2013


On 02/19/2013 03:41 PM, Alan DeKok wrote:
>    Use +=, not =
>
>    Alan DeKok.

Request from client is this:

     DHCP-Parameter-Request-List = DHCP-Subnet-Mask
     DHCP-Parameter-Request-List = DHCP-Router-Address
     DHCP-Parameter-Request-List = DHCP-NTP-Servers

Freeradius puts everything into ENV. Because of the same key only last 
value is used, other ones are overwritten.
So, ENV in this example will have only this:

     DHCP-Parameter-Request-List = DHCP-NTP-Servers

PHP script will be able to read that client asked only for 
DHCP-NTP-Servers value.
This is PHP error or Freeradius error?
Or am i missing something?

Igor


More information about the Freeradius-Users mailing list