logging relay agent IP address
Randall C Grimshaw
rgrimsha at syr.edu
Tue Oct 5 19:06:54 UTC 2010
Would that be the option relay-agent-information
>From man dhcp-options
Examples of encapsulated options in the DHCP protocol as it currently exists include the vendor-encapsulated-options option, the netware-suboptions option and the relay-agent-information
From: dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org [mailto:dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org] On Behalf Of Adam Moffett
Sent: Tuesday, October 05, 2010 2:20 PM
To: Users of ISC DHCP
Subject: logging relay agent IP address
I want to log a few specific things about DHCP assignments, and I've got most of what I want.
log(info, concat( "RID",
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?
I do of course get "DHCPDISCOVER from <MAC> via <relay agent>" lines, but I was hoping to get everything on one line. If I can't then I can't, no biggie.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users