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

    Dual WAN Setup - LAN interfaces lost their IPv6 adresses.

    Scheduled Pinned Locked Moved General pfSense Questions
    27 Posts 5 Posters 831 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes if you have dhcpv6 debug enabled you should see a line like:
      Jun 12 13:54:32 dhcp6c 15485 IA_PD prefix: 2a00:23c8:xxx:xxx::/56 pltime=315360000 vltime=12732255525095080704
      With the prefix delegation you requested.

      And then lines showing prefixes from within that being assigned to tracking interfaces like:

      Jun 12 13:54:33 	dhcp6c 	15485 	make an IA: PD-0
      Jun 12 13:54:33 	dhcp6c 	15485 	create a prefix 2a00:23c8:xxx:xxx::/56 pltime=315360000, vltime=315360000
      Jun 12 13:54:33 	dhcp6c 	15485 	add an address 2a00:23c8:xxx:xx1:201:21ff:fe01:6777/64 on igb2
      Jun 12 13:54:33 	dhcp6c 	15485 	add an address 2a00:23c8:xxx:xx2:201:21ff:fe01:6778/64 on igb3
      
      1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        I don't know if this will affect it, but have you set router priority? This is on the Router Advertisement page and the choices are high, normal and low. You'd decide which connection you want to be priority. Also, any reason why you're using DHCP6 on the LAN? SLAAC generally does what's needed and Android devices don't work properly with DHCP6.

        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...

        H 1 Reply Last reply Reply Quote 0
        • H
          heiko3001 @JKnott
          last edited by

          @JKnott

          DHCPv6 was only activated for testing reasons. In the meantime it is deactivated.

          H 1 Reply Last reply Reply Quote 0
          • H
            heiko3001 @heiko3001
            last edited by heiko3001

            At the moment it is working, but pfsense doesn't do it independently.
            You have to trigger, or wait a long time (<10-15 min)
            Before it works I got this error message:
            54e43f6d-f9b1-4fa0-a87f-5e19e75ac84d-grafik.png

            After triggering (Interface Off, Interface On, Interface Off ....) I got this log, and everything looks good.

            e5ad6d3d-010a-4b69-ba90-ca99f064f6f1-grafik.png

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

              @heiko3001

              c27a900c-908f-45ed-bdc8-bf012da81969-image.png

              pfSense works best when interfaces stop flapping around.
              This would impact IPv6 and IPv4.
              You mission, if you accept it : do whatever is needed so interfaces don't get pulled down anymore.

              A plan Z : put a switch between you pfSense WAN and the upstream device.
              This can have a minor negative impact : when the upstream ISP device goes belly up (again), pfSense doesn't get informed ... so it will presume that the connection is still ok, but it isn't, it broken again.
              The gateway observer (dpinger - System > Routing > Gateways) would notice something bad has happened, and will try to rebuild the connection .... It does this by resetting the WAN interface .... which would introduce the same scenario, but at least dhcp6c wouldn't fail as it get starts when the interface is up.

              edit : wait : you've showed dhcp6c issues.
              All this time, the IPv4 party of the WAN connection had no issues ?
              If so, then the connection by itself is ok, and it seems tjhe IPv6 part that is "broken".

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

              H 1 Reply Last reply Reply Quote 0
              • H
                heiko3001 @Gertjan
                last edited by

                @Gertjan
                I think you misunderstand me...

                I have to trigger that it works. I do this by turning the VDSL Interface off and on and again.

                After a clean restart IPv6 is not working and I get the error message above (Permission denied- transmit failed)
                Then I trigger the VDSL interface by turning it off and on, then it takes a few seconds and all LAN interface have a working IPv6 connection.

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

                  Do you see any Received RA messages in the main system log?

                  If not do you have 'Do not wait for a RA' set in the dhcpv6 client setup?

                  It sounds like you may need that.

                  Also are you using if_pppoe in 2.8?

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

                    @heiko3001 said in Dual WAN Setup - LAN interfaces lost their IPv6 adresses.:

                    I do this by turning the VDSL Interface off and on and again.

                    That's what I understood.
                    The dhcp6c gets started when the WAN interface becomes active.
                    And then it fails with the message "Transmit failed - Permission denied" which means : the interface is down (again).

                    Or, is this something else :
                    e85e622e-7fe9-4ee5-9a49-317afc7aeb9c-image.png
                    at 04h42:31 a solicit is send - it does this very often, I see Solicit every 300 seconds or so.
                    at 04h46:27 same thing, 116 seconds later,
                    at 04h46:35 same thing, 8 seconds later .... wow...
                    at 04h46:35 This solicit failed - interface gone.

                    If you saved the WAN config at that moment - between 46:27 and 46:35 - then I presume the dhcp6c would log would show a lot more - like the logs you've showed above.

                    Btw : Not sure if this is related - dhcprelay - are you using dhcprelay ?

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

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      heiko3001 @Gertjan
                      last edited by

                      @Gertjan

                      Yes I use a DHCP Relay. DHCP Server runs on Windows Server 2025.

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

                        @heiko3001

                        Same interface ?
                        Or another interface that went (also) down ?

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

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          heiko3001 @Gertjan
                          last edited by

                          @Gertjan Yes, it is on the same Interface, but only v4.
                          For IPv6 I deactivated DHCPv6 (on the Pfsense) and at the moment I run only Slaac / Router Advertisement.

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

                            Hmm, so you are passing a prefix delegation from your ISP to an internal dhcpv6 server?

                            Please show how your pppoe interface is configured. Is it set to prefix only? Is it set for 'do not wait for RA'?

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              heiko3001 @stephenw10
                              last edited by

                              @stephenw10

                              No, the DHCP Relay is only for my internal LAN-Interface, and only IPv4, I think this was an missunderstanding.

                              e3b18c84-16d2-4e7f-9a09-8eea38d98176-grafik.png

                              9b90683e-9e46-4d58-9cbc-9f7cda1a29d6-grafik.png

                              and one of the LAN Interfaces (called EXT)
                              32f498e1-0afe-429f-9fed-e36d721547cb-grafik.png

                              77f5d2ec-8dca-480f-a212-0f5622de3831-grafik.png

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

                                If you uncheck 'do not wait for RA' does it eventually receive an RA and complete the connection?

                                Edit: So when this happens it loses the PD but not the address on the WAN directly?

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  heiko3001 @stephenw10
                                  last edited by

                                  @stephenw10 I will give it a try, and give a feedback after.

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