logging relay agent IP address

Jerimiah Cole jcole at tbtc.net
Wed Oct 6 15:34:49 UTC 2010


Adam Moffett wrote:
> To this I want to also add the IP address of the relay agent we got the
> initial request from.  I would want something similar to an "option
> agent.relay-ip".  Is there any such thing?  Is there any other way to
> log that?

My Cisco relay agents stick the IP in the agent.remote-id field:

binary-to-ascii(10,8,".",substring(option agent.remote-id,4,4))

Jerimiah



More information about the dhcp-users mailing list