5

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?

3
  • 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.
    – ejbytes
    Jun 4, 2016 at 1:37
  • 1
    Thanks @DavidPostill the answer was for Ubuntu but it helped me to find the right way doing it on centos
    – YuvalJ
    Jun 7, 2016 at 20:25

1 Answer 1

4

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .