Where can I find the DHCP client logs in centos

20,064

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

Share:
20,064

Related videos on Youtube

YuvalJ
Author by

YuvalJ

I am an experienced software developer with passion to software security. Since I started my career in Intel in early 2004, I wrote thousands lines of code in many programming languages and for different processors. From embedded C to modern languages as Go I always insist my code to be clear, readable, maintainable and most important secure.

Updated on September 18, 2022

Comments

  • YuvalJ
    YuvalJ almost 2 years

    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?

    • DavidPostill
      DavidPostill about 8 years
      Possible duplicate of How to see what DHCP client does?
    • ejbytes
      ejbytes about 8 years
      I believe these logs are kept in your router. Log into your router, they should be logged there.
    • YuvalJ
      YuvalJ about 8 years
      Thanks @DavidPostill the answer was for Ubuntu but it helped me to find the right way doing it on centos