not able to access dhcp option82.9
Nick Porter
nick at portercomputing.co.uk
Wed Jan 3 09:04:15 UTC 2024
On 03/01/2024 08:14, Chinnapaiyan, Nagamani wrote:
> Debug : (0) dhcp {
>
> Debug : (0) Received Request XID 4051b530 from 10.43.18.160:67 to 10.43.18.51:67 via eth1
>
>
> Debug : (0) Vendor-Class-Identifier = 0x766961736174312e30
>
> Debug : (0) Relay-Agent-Information {
>
> Debug : (0) Subscriber-Id =00A0BD112233 at biz.res.viasat.com<mailto:00A0BD112233 at biz.res.viasat.com>
>
> Debug : (0) Remote-Id = 0x00a0bc00101a
>
> Debug : (0) Circuit-Id = 0x00a0bcaaffbb
>
> Debug : (0) }
>
> Debug : (0) Requested-IP-Address = 173.21.0.104
>
> Debug : (0) Server-Identifier = 10.43.18.96
>
> Debug : (0) Maximum-Msg-Size = 1500
>
> Debug : (0) Relay-Agent-Information {
>
> Debug : (0) Vendor-Specific-Information = 0x000021fa12636974657374732d697067726f75702d3231
>
> Debug : (0) }
>
> Debug : (0) Network-Subnet = 10.43.18.160/32
>
> Debug : (0) Packet-Type = Request
>
This debug output shows two instances of Relay-Agent-Information, and
Vendor-Specific-Information is in the second.
This means you will need to use
&Relay-Agent-Information[1].Vendor-Specific-Information
If the sequence is not consistent, replace [1] with [*]
It would be worth inspecting packet captures to verify that this
representation corresponds with how the data is being received.
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/20240103/7227e119/attachment.sig>
More information about the Freeradius-Users
mailing list