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

    Printer losing its DHCP lease in 25.07.1

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.0k Views 3 Watching
    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.
    • T Offline
      terryzb
      last edited by terryzb

      I have a Canon MF743C laser printer connected via WiFi that has generally been working well. A short time after updating my 2100 to 25.07.1 I noticed the printer has been losing its static DHCP lease after some number of hours and reverting to a self-assigned link-local address. If I reboot the printer it gets its IP again.

      There's a LAN, a PRIVATE_WIFI and a GUEST_WIFI. The AP is an Airport Extreme set to bridge mode so pfSense is handling DHCP via Kea. The printer sits on the PRIVATE_WIFI.

      I've been running Kea since 24.11 and haven't run into this issue before. The System DHCP logs don't mention the printer's IP at all. Any suggestions for troubleshooting? At first I thought it was an
      Avahi problem and discussed it here: https://forum.netgate.com/topic/198524/25.07-and-avahi

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @terryzb
        last edited by

        @terryzb said in Printer losing its DHCP lease in 25.07.1:

        The System DHCP logs don't mention the printer's IP at all

        Recently, a question was asked : is it possible to log lease handling with kea, as the default kea (DHCP server) log doesn't show much.

        Read this : How to change Kea DHCP log level to end end and you'll know how to create a DHCP IPv4 lease log that will show the initial, and subsequent lease renewals.
        A reminder : a (DHCP) server process does nothing but "waiting". It waits until it receive a (DHCP) request from a client, like a printer, PC, etc.

        The old way at looking DHCP info :

        c01d6c14-7dab-4968-8219-4adcb16441bb-image.png

        Select the interface, with full details use UDP, ports 67 & 68, IPv4.
        Consider adding here :

        8089b2b3-a44c-426f-8f5c-678b8b67d1e9-image.png
        the MAC of the printer.
        Hit start.
        Reboot the printer.
        You should see DHCP traffic from the printer : first : the initial DHCP 'boot' lease, with the lease duration.
        Come back a little bit before '50 %' of the lease duration : you should see a lease renewal from the printer.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          terryzb @Gertjan
          last edited by

          @Gertjan
          Thank you very much Gertjan. I ended up manually setting the IP on the printer because with DHCP it would fail back to link-local after 6 hours or so. But I did add the JSON from your linked thread because it's nice to see what the DHCP server is doing. Thank you for doing the investigation!

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan @terryzb
            last edited by

            @terryzb said in Printer losing its DHCP lease in 25.07.1:

            printer because with DHCP it would fail back to link-local after 6 hours or so

            So around 3 hours from the initial printer power up == initial 'BOOT' DHCP request, start some time before, like 30 minutes or so, like at initial lease+150 minutes, you should be able to packet capture with the printer MAC to see if pfSense actually receives a DHCP request from the printer.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.