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

WAN_DHCP6 pending / unknown and dhcpv6 server not working

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
26 Posts 4 Posters 5.5k Views 5 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.
  • B Offline
    bimmerdriver @jimp
    last edited by May 3, 2022, 5:24 PM

    @jimp said in WAN_DHCP6 pending / unknown and dhcpv6 server not working:

    It is entirely possible it's related to the "do not wait for RA" option. There are not many people who need it, and if the setup doesn't need it, it's not really an accurate test to just check the box and see what happens. There is some code that is duplicated when that option is set and it's possible a change was made to the code path without that option that didn't get mirrored inside that block.

    Does it log anything noteworthy in the DHCP log or the system log?

    I originally thought this might be related to the "do not wait for RA" option, but if that was the problem, IPv6 would not be working at all. The ISP router does not send an RA in response to an RS until after the DHCP solicit has been done. Since IPv6 is working, it must have been done. So there must be some other problem, which I think is related to the missing /tmp/hn0_defaultgwv6 file for the IPv6 gateway.

    I can make my hyper-v system available for you or someone else if you want to take a look. I can also send you the packet capture from wireshark.

    1 Reply Last reply Reply Quote 0
    • B Offline
      bimmerdriver @jimp
      last edited by May 19, 2022, 7:53 PM

      @jimp I can see that you're busy with so many developments going on. If there is anything that I can do to help to identify the problem, let me know. If you or someone else from the development team wants to take a look at my system, I just need to know when.

      N 1 Reply Last reply May 23, 2022, 5:45 PM Reply Quote 0
      • N Offline
        nedyah700 Rebel Alliance @bimmerdriver
        last edited by May 23, 2022, 5:45 PM

        @bimmerdriver I tried a past development release of 22.05 and had the exact same issue you are experiencing. Traffic flows without any issue but the gateway shows pending. I rolled back when I noticed the issue and haven't tried since.

        I also have "Do not wait for a RA" and "Request only an IPv6 prefix" selected.

        N 1 Reply Last reply May 24, 2022, 5:49 PM Reply Quote 0
        • N Offline
          nedyah700 Rebel Alliance @nedyah700
          last edited by May 24, 2022, 5:49 PM

          @nedyah700 said in WAN_DHCP6 pending / unknown and dhcpv6 server not working:

          @bimmerdriver I tried a past development release of 22.05 and had the exact same issue you are experiencing. Traffic flows without any issue but the gateway shows pending. I rolled back when I noticed the issue and haven't tried since.

          I also have "Do not wait for a RA" and "Request only an IPv6 prefix" selected.

          @bimmerdriver and @jimp I would also add that my Gateway / Monitor IP is an fe80, link-local, address. I swear I remember having this issue a year or so ago and it was resolved with an update.

          B 1 Reply Last reply May 24, 2022, 9:13 PM Reply Quote 0
          • B Offline
            bimmerdriver @nedyah700
            last edited by May 24, 2022, 9:13 PM

            @nedyah700 said in WAN_DHCP6 pending / unknown and dhcpv6 server not working:

            @nedyah700 said in WAN_DHCP6 pending / unknown and dhcpv6 server not working:

            @bimmerdriver I tried a past development release of 22.05 and had the exact same issue you are experiencing. Traffic flows without any issue but the gateway shows pending. I rolled back when I noticed the issue and haven't tried since.

            I also have "Do not wait for a RA" and "Request only an IPv6 prefix" selected.

            @bimmerdriver and @jimp I would also add that my Gateway / Monitor IP is an fe80, link-local, address. I swear I remember having this issue a year or so ago and it was resolved with an update.

            In my situation, it has always been the case the gateway address is a link-local address. That does not cause a problem on 2.6.0 and it didn't cause a problem on 2.7.0 up to the point where this regression was introduced. As I pointed out above, I think this problem is related to the missing file /tmp/hn0_defaultgwv6.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bimmerdriver
              last edited by May 31, 2022, 10:09 PM

              I created a new bug in redmine, https://redmine.pfsense.org/issues/13238.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jimp Rebel Alliance Developer Netgate
                last edited by Jun 1, 2022, 1:23 PM

                I think I've spotted the problem here. In #6880 the scripts were changed around a bit and the withoutra path isn't getting the script header that should be setting the router file(s).

                Try the attached patch and see if it helps for you.

                13238.diff

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jimp Rebel Alliance Developer Netgate
                  last edited by Jun 2, 2022, 1:47 PM

                  The fix on #13238 fixed the gateway with "do not wait for RA"

                  The DHCPv6 daemon not running was a regression from https://redmine.pfsense.org/issues/12527 and it wasn't related to "do not wait for RA".

                  The attached patch here should fix the DHCPv6 daemon problem. It worked for me in my lab on several systems.

                  814.diff

                  Fixes for both are going to be in 22.05.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  N B 2 Replies Last reply Jun 2, 2022, 2:19 PM Reply Quote 2
                  • N Offline
                    nedyah700 Rebel Alliance @jimp
                    last edited by Jun 2, 2022, 2:19 PM

                    @jimp Thank you! I haven't had a chance to try yet but I will in the next day or so if I can. Thanks again for your help!

                    1 Reply Last reply Reply Quote 1
                    • B Offline
                      bimmerdriver @jimp
                      last edited by Jun 2, 2022, 7:53 PM

                      @jimp said in WAN_DHCP6 pending / unknown and dhcpv6 server not working:

                      The fix on #13238 fixed the gateway with "do not wait for RA"

                      The DHCPv6 daemon not running was a regression from https://redmine.pfsense.org/issues/12527 and it wasn't related to "do not wait for RA".

                      The attached patch here should fix the DHCPv6 daemon problem. It worked for me in my lab on several systems.

                      814.diff

                      Fixes for both are going to be in 22.05.

                      I installed the second patch and I can confirm that it fixes the dhcpv6 problem.

                      1 Reply Last reply Reply Quote 3
                      • B Offline
                        bimmerdriver
                        last edited by Jun 3, 2022, 7:26 PM

                        @jimp I backed out both patches, then upgraded to the latest snapshot. Pleased to report that both issues are resolved. Thank you very much.

                        L 1 Reply Last reply Jun 17, 2022, 12:03 AM Reply Quote 2
                        • L Offline
                          luckman212 LAYER 8 @bimmerdriver
                          last edited by Jun 17, 2022, 12:03 AM

                          Wondering if those recent changes could somehow be related to rtsold not running, IPv6 WAN (DHCP) keeps losing connectivity

                          N 1 Reply Last reply Jun 17, 2022, 12:09 AM Reply Quote 0
                          • N Offline
                            nedyah700 Rebel Alliance @luckman212
                            last edited by Jun 17, 2022, 12:09 AM

                            @luckman212 What version are you on? I believe this issue was specific to 22.05 / 2.7.0

                            L 1 Reply Last reply Jun 17, 2022, 12:17 AM Reply Quote 0
                            • L Offline
                              luckman212 LAYER 8 @nedyah700
                              last edited by luckman212 Jun 17, 2022, 12:40 AM Jun 17, 2022, 12:17 AM

                              @nedyah700 I'm on the latest 22.05 RC snapshot: 22.05.r.20220614.1944

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received