[Kea-users] dynamic router options in reply

Tomek Mrugalski tomek at isc.org
Fri Jul 17 09:46:04 UTC 2020

You can use flex-option for that. See

The expression you are looking for should be very simple: "pkt4.giaddr"
if you want to use the giaddr field or "pkt.src" if you want to use
source IP address of the packet.


On 17/07/2020 08:08, Anatoliy Kushner wrote:
> Hi , if we have network with multiply gw(relay) is it possible for kea
> return router (option 3) field based on giaddr ? 
> should be something like this
> "option-data":[
>         {
>           "name": "routers",
>           "data": relay.ip-address
>         },
> ]

More information about the Kea-users mailing list