[Kea-users] Option 82 Remote-ID

Sylvan Miles Sylvan.Miles at connectctc.com
Mon Oct 10 18:47:10 UTC 2016

Yes, the lease4 table. All I need it to do is just write the Remote-ID sent with the discover to the lease database, just as Client-ID is being written now.

-----Original Message-----
From: Kea-users [mailto:kea-users-bounces at lists.isc.org] On Behalf Of Tomek Mrugalski
Sent: Monday, October 10, 2016 1:42 PM
To: kea-users at lists.isc.org
Subject: Re: [Kea-users] Option 82 Remote-ID

W dniu 10.10.2016 o 18:16, Sylvan Miles pisze:
> Is it possible to get the Remote ID written to the database when a 
> lease is written?
I presume you're asking about DHCPv4, right? It's not possible with the current code. You would need to write a hook for that. Depending on how flexible you want it to be, that may be anything between easy and very complex.

In v6 you can use a trick that could possibly put remote-id in your database. You can treat Remote-ID as a MAC address. If the Remote-ID option is present, Kea would extract its content and put it in the hwaddr field of each lease.

For details of this, see Section 8.9:

Hope that helps,

Kea-users mailing list
Kea-users at lists.isc.org

More information about the Kea-users mailing list