Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Dhclient not logging DHCPDISCOVER, REQUESTS

    DHCP and DNS
    2
    5
    618
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      ltfrebac last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Gertjan
        Gertjan last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • L
          ltfrebac last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • Gertjan
            Gertjan last edited by

            @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)

            1 Reply Last reply Reply Quote 0
            • L
              ltfrebac last edited by

              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 ?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense Plus
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy