Where can I find the DHCP client logs in centos
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
Related videos on Youtube
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, 2022Comments
-
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 about 8 yearsPossible duplicate of How to see what DHCP client does?
-
ejbytes about 8 yearsI believe these logs are kept in your router. Log into your router, they should be logged there.
-
YuvalJ about 8 yearsThanks @DavidPostill the answer was for Ubuntu but it helped me to find the right way doing it on centos
-