Stashed agent options are discarded
ISC DHCP can be configured with stash-agent-options true;
. This instructs the server to store agent options received from relayed clients on the lease as shown:
lease 178.16.1.100 {
starts 5 2020/08/07 18:16:31;
ends 5 2020/08/07 18:21:31;
cltt 5 2020/08/07 18:16:31;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 08:00:27:25:d3:f4;
option agent.circuit-id "enp0s10"; <--- server stashed circuit id received as part of option 82
client-hostname "ISChclient1";
}
Currently these values are discarded. These values would have to be stored in Kea via the lease's user-context. It may be simplest just to site this as known issue. Kea sites interested in lease-query can probably live with a transition period. As clients return, the server would add the relay information to the lease.