Option82 - question about sending sub-options

Ľudovít Mikula ludovit.mikula at mikori.sk
Thu Sep 25 20:22:59 UTC 2025


Hmm are there any rules to be followed when setting the suboptions, does 
the order of setting them in reply make any difference?

I've tried now with 3.2.8 (official docker image - 
freeradius/freeradius-server:3.2.8) but still see the same, it's split 
into 3 Option82 attributes from what I can see in the packet capture.

Ludo

On 25. 9. 2025 20:46, Alan DeKok wrote:
>    Nick looked into it, it works in 3.2.8.
> 
>> On Sep 25, 2025, at 2:33 PM, Ľudovít Mikula via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
>>
>> Hi Alan,
>>
>>   is there any estimate when it might land in 3.2.x branch?
>>
>> Ludo
>>
>> On 18. 9. 2025 16:37, Alan DeKok via Freeradius-Users wrote:
>>> On Sep 18, 2025, at 8:55 AM, Ľudovít Mikula <ludovit.mikula at mikori.sk> wrote:
>>>>
>>>> I have a question about sending Option82 - I am setting sub-options 1,2 and 9 in response to DISCOVER:
>>>>
>>>>     update reply {
>>>>         &DHCP-Relay-Remote-Id := &request:DHCP-Relay-Remote-Id
>>>>         &DHCP-Relay-Circuit-Id := &request:DHCP-Relay-Circuit-Id
>>>>         &DHCP-Vendor-Specific-Information := &request:DHCP-Vendor-Specific-Information
>>>>     }
>>>>
>>>>
>>>> and see it being set in the freeradius log:
>>>>
>>>> (1702)   DHCP-Relay-Remote-Id := 0xacdb489f87af
>>>> (1702)   DHCP-Relay-Circuit-Id := 0xacdb489f87af
>>>> (1702)   DHCP-Vendor-Specific-Information := 0x0000118b060104010203010000061b34030a444d5a2d434f532d3032010e4554492d5250442d504f52542d300207756e69636173740e07000100000079000d040a666f07
>>>> ...
>>>> However the relay agent vendor requires the sub-options to be set in one Option 82 block (like they send it to us in DISCOVER):
>>>> ..
>>>> Is this possible (or am I doing something wrong), we're using freeradius v3.2.3 ?
>>>    We can push a fix, but it will have to go into 3.2.9.
>>>    Alan DeKok.
>>> -
>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 

-- 
Ľudovít Mikula

Mikori s.r.o
------------------------
Fatranská 3100/4
01008 Žilina
Slovenská Republika
------------------------
... aby korenie
     chutilo, ako má ...
------------------------
      Web: https://www.mikori.sk/
   E-Shop: https://www.cerstvekorenie.sk/
   E-mail: ludovit.mikula at mikori.sk
Facebook: https://www.facebook.com/mikori.korenie/



More information about the Freeradius-Users mailing list