[Kea-users] kea answers to relay using giaddr instead of source address. any way to fix?

Sergey Klusov _lion_2000 at mail.ru
Thu Sep 28 11:22:19 UTC 2017


On Чт 28.09.2017 16:09, Francis Dupont wrote:
>   "test": "relay4[2].text == '100.101.101.0'"
>
> => please try "test": "relay4[2].hex == 100.101.101.0"
> (.text does not return what you want if the (sub-)option is not a string
> and IP address litterals are supported).
> 			
> Regards
>
> Francis Dupont <fdupont at isc.org>
>
Didn't work, because it converts 100.101.101.0 into 4-byte IP address.

For now it works this way "relay4[2].hex==0x3130302e3130312e3130312e30", 
but it rather clumsy.

Mikrotik does not allow to specify binary value either.

Some function like relay4[2].string would be nice.





More information about the Kea-users mailing list