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

    Where does DHCP6 client keep its lease info etc.? And can I force a refresh of the DHCP6 lease from the command line?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 384 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.
    • C Offline
      ChrisJenk
      last edited by

      I'm troubleshooting some ISP DHCP6 issues. I'd like to look at the WAN DHCP6 lease info but I can't find where it is stored (or a command to display it).

      Also, is it possible to force a DHCP6 refresh for an interface (the WAN in my case) via some command? I can do it by toggling the WAN interface to disabled and then back to enabled in the GUI, but that disrupts IPv4 traffic, which I want to avoid.

      GertjanG 1 Reply Last reply Reply Quote 0
      • stephenw10S Online
        stephenw10 Netgate Administrator
        last edited by

        You should see that info in the dhcp log under the dhcp6c process.

        To get more info there enable 'DHCP6 Debug' in System > Advanced > Networking.

        Steve

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

          @ChrisJenk said in Where does DHCP6 client keep its lease info etc.? And can I force a refresh of the DHCP6 lease from the command line?:

          Also, is it possible to force a DHCP6 refresh for an interface (the WAN in my case) via some command? I can do it by toggling the WAN interface to disabled and then back to enabled in the GUI, but that disrupts IPv4 traffic, which I want to avoid.

          This could be

          /usr/local/bin/php-cgi -f /etc/rc.newwanipv6
          

          Note : haven't try this myself.

          Btw : when I check the ( Status > System Logs > DHCP )

          eaa4a625-d194-4690-b0cd-e88d86f9da51-image.png

          I see that the DHCP6C renews very often - every 10 minutes ( 😵 ) or so.
          Not sure if this is normal. The DHCP6 server is in my ISP box, that's the one handing out "20 min" leases ... Not something I can change.
          The WAN IPv6 and prefix didn't change for the last 9 months or so ( ouf ...).

          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 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.