DHCP relay - process replies (DHCP-Offer, DHCP-Ack...)

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Thu Oct 12 10:25:25 CEST 2017


Hello,


I'm trying to set up a DHCP relay with FreeRADIUS (3.0.15).
I've started with the virtual server example "dhcp.relay" provided in the package.

The DHCP relaying itself works fine.

I would like to do stuff when receiving the response from the server, so I've tried to add this in the virtual server configuration:

server dhcp.relay {
(...)
		dhcp DHCP-Offer {
			linelog_dhcp
		}
		
		dhcp DHCP-Ack {
			linelog_dhcp
		}

I see this is correctly loaded when the server is started:

Thu Oct 12 10:10:55 2017 : Debug:  # Loading dhcp DHCP-Offer {...}
Thu Oct 12 10:10:55 2017 : Debug:   group {
Thu Oct 12 10:10:55 2017 : Debug:    linelog_dhcp
Thu Oct 12 10:10:55 2017 : Debug:   }
Thu Oct 12 10:10:55 2017 : Debug:  # Loading dhcp DHCP-Ack {...}
Thu Oct 12 10:10:55 2017 : Debug:   group {
Thu Oct 12 10:10:55 2017 : Debug:    linelog_dhcp
Thu Oct 12 10:10:55 2017 : Debug:   }


However, this is never called when such a message is received. (contrary to "dhcp DHCP-Discover" and "dhcp DHCP-Request" sub-sections)
Am I missing something ?


Thanks.

Regards,
Nicolas.



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



More information about the Freeradius-Users mailing list