Get relay's address from within script

Simon Hobson dhcp1 at
Wed Jul 27 08:05:09 UTC 2016

Tiago SR <listas at> wrote:

> After some searches, looks like MikroTik routers actually set GI-Addr

If they didn't they wouldn't work as relay agents !

> and this can be extracted by packet(24,4) or even better binary-to-ascii(10, 8, ".", packet(24,4)).

Yes, that sounds about right.

More information about the dhcp-users mailing list