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

    IPv6 stops working after about 30 mins

    Scheduled Pinned Locked Moved IPv6
    31 Posts 6 Posters 3.6k Views
    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.
    • JKnottJ
      JKnott @Wholelottapfsense
      last edited by

      @Wholelottapfsense

      Take the whole /56. That's what I did, even though I've only used 4 /64s. With 64, you're only asking for a single /64. With 128 bit IPv6 addresses, the least significant 64 bits are for the host address within a /64 and the most significant bits, specify your network.

      Incidentally, some ISPs hand out /48s, which provide 65536 /64s.

      Also, with IPv6 we no longer have to worry about an address shortage. With only 1/8th of the IPv6 address space allocated for Global Unique Addresses, there are enough /48s for every single person on earth to have over 4000 of them.

      One other thing you might notice is that routeable addresses are not needed for routing. You'll often see link local (start with fe80) addresses used.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      1 Reply Last reply Reply Quote 0
      • W
        Wholelottapfsense @JKnott
        last edited by

        OK, I've set 'Prefix Delegation Size' in the DHCPv6 Options to /56.

        Unfortunately, the problem came back, as before ☹

        @JKnott said in IPv6 stops working after about 30 mins:

        Also, do the devices still have valid IPv6 addresses after it fails?

        The IPv6 addresses don't change after it fails.

        W 1 Reply Last reply Reply Quote 0
        • W
          Wholelottapfsense @Wholelottapfsense
          last edited by Wholelottapfsense

          I found this topic which points to OpenVPN as the culprit.

          I have only configured OpenVPN for IPv4, but notice that in 'Advanced configuration' under VPN>OpenVPN>Servers, the option 'Gateway creation' is set by default to 'both' IPv4 and IPv6. Could this be the problem?

          JKnottJ 2 Replies Last reply Reply Quote 0
          • JKnottJ
            JKnott @Wholelottapfsense
            last edited by

            @Wholelottapfsense said in IPv6 stops working after about 30 mins:

            Could this be the problem?

            I wouldn't think so. OpenVPN has nothing to do with connecting to your ISP. Can you ping6 from pfSense to, for example. ipv6.google.com?

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            W 1 Reply Last reply Reply Quote 0
            • kiokomanK
              kiokoman LAYER 8
              last edited by kiokoman

              and what version of pfsense is it ? the symptom is very similar to the problem we have with radvd on 2.5.0

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              W 1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott @Wholelottapfsense
                last edited by

                @Wholelottapfsense said in IPv6 stops working after about 30 mins:

                I have only configured OpenVPN for IPv4

                I have OpenVPN configured to use only IPv4, but to carry both IPv4 and IPv6.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • W
                  Wholelottapfsense @JKnott
                  last edited by

                  @JKnott said in IPv6 stops working after about 30 mins:

                  Can you ping6 from pfSense to, for example. ipv6.google.com?

                  Yes (until it stops working after about 30 mins):

                  Picture16.png

                  JKnottJ 2 Replies Last reply Reply Quote 0
                  • W
                    Wholelottapfsense @kiokoman
                    last edited by

                    @kiokoman

                    It's the latest stable version: 2.4.4-RELEASE-p3 (amd64)

                    1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @Wholelottapfsense
                      last edited by

                      @Wholelottapfsense said in IPv6 stops working after about 30 mins:

                      Yes (until it stops working after about 30 mins):

                      It's beginning to sound like an ISP problem. Can you connect a computer directly to the modem, with the modem in bridge mode? If you're worried about putting a computer directly on the Internet, you can use a Linux live USB stick or disc.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

                      1 Reply Last reply Reply Quote 0
                      • JKnottJ
                        JKnott @Wholelottapfsense
                        last edited by

                        @Wholelottapfsense

                        One other thing. Does the problem happen with the modem in gateway mode? If it fails there too, it's an ISP problem.

                        PfSense running on Qotom mini PC
                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                        UniFi AC-Lite access point

                        I haven't lost my mind. It's around here...somewhere...

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

                          I saw this in another recent thread also - a with 2.5.0 as the version :

                          b78502e5-42b1-4752-aa26-9752a13adf8c-image.png

                          If the "defined range" is defined - it should be defined, why doesn't it show it ?
                          It should mention your 'base' IPv6 /56 .....
                          I don't know if this is actually an issue. Or just a visual issue.
                          I'm using a ISP that gives me a fixed /48 so I actually hard code my LAN IPv6 first /64 - ending with xxxx.xxxx.xxxx.xxx0::1
                          The second LAN has xxxx.xxxx.xxxx.xxx1::1 /64 etc.

                          Your ISP might change the IPv6 base address - (but why ??? seems only useful for people that also have to change their phone number x times a day) so : what about changing for some time - to expeient - your IP6 as static ?
                          Your DHCPv6 pool should look alright now - and DHCPv6 starts to work - it does so for me.

                          Btw : your IPv6 gateway is a fe80::..... mine is a 'real'" 2001:470:1f12:5c0::1 ".
                          Also :

                          Mar 15 00:11:09	dpinger		WAN_DHCP6 fe80::YYYY:YYYY:YYYY:3100%pppoe0: sendto error: 65
                          

                          this tells me that me that fe80::YYYY:YYYY:YYYY:3100%pppoe0 is out of business.

                          Note : These are just my observations. By no means I'm an IPv6 expert - just using it, since 2010, using pfSense.

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

                          JKnottJ W 2 Replies Last reply Reply Quote 0
                          • JKnottJ
                            JKnott @Gertjan
                            last edited by JKnott

                            @Gertjan said in IPv6 stops working after about 30 mins:

                            If the "defined range" is defined - it should be defined, why doesn't it show it ?

                            That for the dhcpv6 server. Is he using DHCPv6 on the LAN side?

                            Btw : your IPv6 gateway is a fe80::..... mine is a 'real'" 2001:470:1f12:5c0::1 ".

                            Link local addresses are "real". They're just not routeable. You don't need routeable addresses to route. You just need to know how to get to the next hop. In fact, on point to point links, you don't even need an address, just the interface that connects to the next hop. This also works in IPv4.

                            Note : These are just my observations. By no means I'm an IPv6 expert - just using it, since 2010, using pfSense.

                            IPv6 Essentials is an excellent reference.

                            PfSense running on Qotom mini PC
                            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                            UniFi AC-Lite access point

                            I haven't lost my mind. It's around here...somewhere...

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wholelottapfsense @JKnott
                              last edited by

                              @JKnott said in IPv6 stops working after about 30 mins:

                              @Wholelottapfsense

                              One other thing. Does the problem happen with the modem in gateway mode? If it fails there too, it's an ISP problem.

                              There is no modem upstream of the pfSense box. pfSense makes a direct connection via PPPoE/DHCPv6.

                              JKnottJ 1 Reply Last reply Reply Quote 0
                              • W
                                Wholelottapfsense @Gertjan
                                last edited by

                                @Gertjan said in IPv6 stops working after about 30 mins:

                                Also :

                                Mar 15 00:11:09	dpinger		WAN_DHCP6 fe80::YYYY:YYYY:YYYY:3100%pppoe0: sendto error: 65
                                

                                this tells me that me that fe80::YYYY:YYYY:YYYY:3100%pppoe0 is out of business.

                                That's indeed the address of my IPv6 gateway but I get that error message at the time of reconnection of the WAN interface, i.e. when IPv6 is still working.

                                As JKnott already mentioned, a link local address for the IPv6 gateway should not be a problem.

                                I will ask my ISP whether they can have a look in their logs to see what's going on.

                                Could it be related to the DUID setting in System>Advanced>Networking? I didn't touch that, so it's on RAW DUID and there is a greyed DUID number in the box below. And yes, the checkbox to allow IPv6 is checked in that section 😏 .

                                1 Reply Last reply Reply Quote 0
                                • Bob.DigB
                                  Bob.Dig LAYER 8
                                  last edited by

                                  Do you see any problems in
                                  Status System Logs System Routing?

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    Wholelottapfsense @Bob.Dig
                                    last edited by

                                    @Bob-Dig

                                    Not that I can remember, but I'll check again tonight and report back.

                                    1 Reply Last reply Reply Quote 0
                                    • Bob.DigB
                                      Bob.Dig LAYER 8
                                      last edited by Bob.Dig

                                      For testing purposes you could use just /64 to be on the safe side, which also means that only one of your LAN-Interfaces will have IPv6. Again, just for testing. And don't use Wifi.

                                      1 Reply Last reply Reply Quote 0
                                      • JKnottJ
                                        JKnott @Wholelottapfsense
                                        last edited by

                                        @Wholelottapfsense said in IPv6 stops working after about 30 mins:

                                        There is no modem upstream of the pfSense box. pfSense makes a direct connection via PPPoE/DHCPv6.

                                        PfSense has to connect to something. PPPoE is usually carried over ADSL and there's no way pfSense can deal with that on it's own. There should be a box somewhere, that converts the ADSL line to Ethernet, which pfSense then connects to.

                                        PfSense running on Qotom mini PC
                                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                        UniFi AC-Lite access point

                                        I haven't lost my mind. It's around here...somewhere...

                                        W 1 Reply Last reply Reply Quote 0
                                        • W
                                          Wholelottapfsense @JKnott
                                          last edited by Wholelottapfsense

                                          @JKnott said in IPv6 stops working after about 30 mins:

                                          @Wholelottapfsense said in IPv6 stops working after about 30 mins:

                                          There is no modem upstream of the pfSense box. pfSense makes a direct connection via PPPoE/DHCPv6.

                                          PfSense has to connect to something. PPPoE is usually carried over ADSL and there's no way pfSense can deal with that on it's own. There should be a box somewhere, that converts the ADSL line to Ethernet, which pfSense then connects to.

                                          I have a fiber connection (FTTH, fiber to the home). Between the pfSense box and the fiber connection, there's a TP-LINK MC220L converter which, AFAIK, only converts the fiber signal to ethernet.

                                          Bob.DigB JKnottJ 2 Replies Last reply Reply Quote 0
                                          • Bob.DigB
                                            Bob.Dig LAYER 8 @Wholelottapfsense
                                            last edited by

                                            @Wholelottapfsense Have you tried DHCP instead of PPPoE?

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