Hi Tomek, thank you 


\ AK

> On 17 Jul 2020, at 15:46, Tomek Mrugalski <to...@isc.org> wrote:
> 
> You can use flex-option for that. See
> https://kea.readthedocs.io/en/kea-1.7.9/arm/hooks.html#flex-option-flexible-option-for-option-value-settings
> 
> 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.
> 
> Tomek
> 
>> 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
>>         },
>> ]
> _______________________________________________
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> 
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to