I am running a PC with centos Linux. I have two ethernet ports. One configured as DHCP server and the other to use DHCP to obtain IP address(client). I am interested in getting the history of lease times I got and provided. Is there a log file with that data?
-
Possible duplicate of How to see what DHCP client does?– DavidPostill ♦Jun 3, 2016 at 21:55
-
I believe these logs are kept in your router. Log into your router, they should be logged there.– ejbytesJun 4, 2016 at 1:37
-
1Thanks @DavidPostill the answer was for Ubuntu but it helped me to find the right way doing it on centos– YuvalJJun 7, 2016 at 20:25
Add a comment
|
1 Answer
it is in /var/log/messages (thanks to David for mentioning How to see what DHCP client does?) var/log/syslog in Ubuntu equivalent to var/log/messages in centos