Dhclient not logging DHCPDISCOVER, REQUESTS



  • Hi
    I am on 2.2.4 and dhclient is not logging any requests anymore. Actually, it logs these intermittently, but last was several weeks ago. Dhclient works flawlessly otherwise. Anyone else experiencing this? And why?

    This is a snip from dhcp.log from earlier:

    Jul  6 04:28:39 gw2 dhclient[39443]: DHCPREQUEST on re0 to 185.31.140.11 port 67
    Jul  6 04:28:39 gw2 dhclient[39443]: DHCPACK from 185.31.140.11
    Jul  6 04:28:39 gw2 dhclient: RENEW
    Jul  6 04:28:39 gw2 dhclient: Creating resolv.conf
    Jul  6 04:28:39 gw2 dhclient[39443]: bound to 185.57.xx.xx – renewal in 14400 seconds.
    Jul  6 08:28:39 gw2 dhclient[39443]: DHCPREQUEST on re0 to 185.31.140.11 port 67
    Jul  6 08:28:39 gw2 dhclient[39443]: DHCPACK from 185.31.140.11
    Jul  6 08:28:39 gw2 dhclient: RENEW
    Jul  6 08:28:39 gw2 dhclient: Creating resolv.conf
    Jul  6 08:28:39 gw2 dhclient[39443]: bound to 185.57.xx.xx – renewal in 14400 seconds.
    Jul  6 12:28:39 gw2 dhclient[39443]: DHCPREQUEST on re0 to 185.31.140.11 port 67
    Jul  6 12:28:39 gw2 dhclient[39443]: DHCPACK from 185.31.140.11
    Jul  6 12:28:39 gw2 dhclient: RENEW
    Jul  6 12:28:39 gw2 dhclient: Creating resolv.conf
    Jul  6 12:28:39 gw2 dhclient[39443]: bound to 185.57.xx.xx – renewal in 14400 seconds.
    Jul  6 16:28:39 gw2 dhclient[39443]: DHCPREQUEST on re0 to 185.31.140.11 port 67
    Jul  6 16:28:39 gw2 dhclient[39443]: DHCPACK from 185.31.140.11
    Jul  6 16:28:39 gw2 dhclient: RENEW

    and non working snippet:

    Aug  5 14:02:33 gw2 dhclient[5804]: bound to 185.57.xx.xx – renewal in 14400 seconds.
    Aug  5 18:02:33 gw2 dhclient: RENEW
    Aug  5 18:02:33 gw2 dhclient: Creating resolv.conf
    Aug  5 22:02:33 gw2 dhclient: RENEW
    Aug  5 22:02:33 gw2 dhclient: Creating resolv.conf
    Aug  6 02:02:33 gw2 dhclient: RENEW
    Aug  6 02:02:33 gw2 dhclient: Creating resolv.conf
    Aug  6 06:02:33 gw2 dhclient: RENEW
    Aug  6 06:02:33 gw2 dhclient: Creating resolv.conf
    Aug  6 10:02:33 gw2 dhclient: RENEW
    Aug  6 10:02:33 gw2 dhclient: Creating resolv.conf
    Aug  6 14:02:33 gw2 dhclient: RENEW
    Aug  6 14:02:33 gw2 dhclient: Creating resolv.conf
    Aug  6 18:02:33 gw2 dhclient: RENEW
    Aug  6 18:02:33 gw2 dhclient: Creating resolv.conf



  • Hi,

    Upstream link stays up ?
    Who is the upstream DHCP server ? If this server becomes out of order or unreachable, I do understand your logs.

    edit : obtained IP is good ? Maybe only something is wrong with the logging part.



  • DHCP works ok for me, its just the logging part that I believe is somehow silenced as there should be a lot of DHCPREQ/DHCPACK to from dhcp-server.



  • @ltfrebac:

    …. there should be a lot of DHCPREQ/DHCPACK to from dhcp-server.

    What about a longer (server DHCP) lease time ;)
    Right now, you have 8 hours (lease will be renewed by client half way, = 4 hours or 14400 sec)



  • I think you misunderstand my issue here. I NEED dhclient to log more info to syslog as I am troubleshooting dhcp issues with my ISP. How can I get dhclient to, consistently log, all these DHCPREQUESTS and ACKS ?