Discussion:
[Dnsmasq-discuss] DHCP Logging
Tony White
2018-10-28 02:15:17 UTC
Permalink
Hi folks,
 I am hoping I have missed the option to log all
dhcp assignments.
  The only one I have found id --log-dhcp which seems
to log a lot more than time,date,ipaddress, mac address
and lease time etc.
--
best wishes
Tony White
Petr Mensik
2018-11-01 09:39:11 UTC
Permalink
Hi Tony,

I think dhcp-script can be used to log any information related to dhcp
assignments in custom format. I think basic dhcp request informations is
logged even without log-dhcp. Have you checked syslog or journalctl?

Example from libvirt instance:
DHCPOFFER(virbr0) 192.168.122.161 52:54:00:4b:aa:67

Is that enough? Is something important missing?
Post by Tony White
Hi folks,
 I am hoping I have missed the option to log all
dhcp assignments.
  The only one I have found id --log-dhcp which seems
to log a lot more than time,date,ipaddress, mac address
and lease time etc.
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: ***@redhat.com PGP: 65C6C973
Loading...