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

    New PPPoE backend, some feedback

    Scheduled Pinned Locked Moved Development
    224 Posts 18 Posters 31.7k 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

      Yup me too. LL gateway works just fine for me. Which doesn't really help much. 😉

      But I think @benbng may be on to something there. Check the values in the pppoe files in /tmp. Perhaps you don't have a /tmp/pppoe0_defaultgwv6 file at all?

      RobbieTTR 1 Reply Last reply Reply Quote 0
      • RobbieTTR
        RobbieTT @stephenw10
        last edited by

        @stephenw10

        Perhaps, as the status > interface page should have 2 link local addresses listed; one for the router and one for the default gateway (as per the file in /tmp/). Pinging its own link local would give a result in µs and the default gateway address would be in ms.

        I think we need to see what @benbng is looking at.

        ☕️

        L 1 Reply Last reply Reply Quote 0
        • L
          louis2 @RobbieTT
          last edited by

          @RobbieTT

          Mine is like this (since the new ppoe)

          133d0b34-178c-460c-a871-916b56986c72-image.png

          However IPV6 is working

          With the old PPOE after some time the IPV6 looked to be gone, but it was still working. There is a ticket related to that old item.

          However I think it is the same item.

          And I did complain a couple of times that the indicated IPV6 times in the gui where IMHO also too high not correct.

          And in my option all those sings are related to the same wrong way of checking the IPV6 interface

          B 1 Reply Last reply Reply Quote 0
          • B
            benbng @louis2
            last edited by benbng

            @louis2 can you see if you have any luck bringing up the IPv6 gateway with the following?

            1. Diagnostics > Command Prompt (Shell Command): netstat -6rWn | grep ::/0 | awk '{print $2}' > /tmp/pppoe0_routerv6
            2. Diagnostics > Command Prompt (PHP Command): setup_gateways_monitor();
            3. Status > Filter Reload (Reload Filter)
            L 1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Those of you seeing the pending gateway are you all seeing it correctly if you switch back to mpd5?

              I think we have a good handle on the problem here if so. Working on the correct fix.

              B 1 Reply Last reply Reply Quote 1
              • B
                benbng @stephenw10
                last edited by

                @stephenw10 yep no issues when using mpd5 (with no changes to config) on CE 2.8.0

                Glad to hear things are being looked into, let me know if I can test anything/provide any more logs.

                M 1 Reply Last reply Reply Quote 1
                • M
                  marcosm Netgate @benbng
                  last edited by

                  @benbng Here's a patch you can test on 2.8.0 to work around the lack of RA issue:
                  https://nc.netgate.com/nextcloud/s/bt2fWWjdzT4KFHy

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    benbng @marcosm
                    last edited by

                    @marcosm I've applied that and it's working great, thank you!

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

                      Nice. Thanks for testing! 👍

                      1 Reply Last reply Reply Quote 0
                      • L
                        louis2 @benbng
                        last edited by

                        @benbng

                        No, and the reaction on
                        setup_gateways_monitor(); => Badly placed ()'s.

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

                          Try the above patch. Your situation is exactly what it should address.

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            louis2 @stephenw10
                            last edited by

                            @stephenw10

                            I did test this patch (https://nc.netgate.com/nextcloud/s/bt2fWWjdzT4KFHy), at least I hope I did.

                            I never did add a patch to the test set before:

                            • did add the URL
                            • add
                            • did not know how to start it
                            • so I did say start at boot
                            • and did a reboot

                            If this was the correct procedure .... the patch did not work !

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

                              The URL field is only for the direct commit ID. For this I would just copy/paste the patch text into the new patch directly.

                              Once you've created it an 'Apply' button will appear if it can be applied correctly. Click the button to apply it.

                              https://docs.netgate.com/pfsense/en/latest/development/system-patches.html#adding-a-custom-patch

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                louis2 @stephenw10
                                last edited by

                                @stephenw10

                                Perhaps I will try that tomorrow, however why not adding the patch as ^test patch with small decription^ to the normal patch set / function !!??

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

                                  You mean as part of the recommended patch list within the package?

                                  That's only used for known good patches between releases, not for tests like this.

                                  RobbieTTR 1 Reply Last reply Reply Quote 0
                                  • rlinnemannR
                                    rlinnemann Netgate Developer
                                    last edited by

                                    To clarify on what's happening with the pending gateway, in your instances IPV6CP negotiation establishes the IPv6 endpoints on the PPP session, and the link local peer address is intended to be the gateway for your DHCPv6 assigned address, with no RAs to nominate a gateway. The interface gateway is correctly set to the address of the peer endpoint by the driver, but the existing LL address on the interface is not updated with the remote destination address, and that destination address is expected to be present in order to identify the PPP gateway when the gateway monitoring setup is triggered. The patch intuits the PPP gateway from the routing table instead of the interface address in the IPv6 case. I'm working on a correction to the driver that should eliminate the need for this special case handling.

                                    1 Reply Last reply Reply Quote 4
                                    • L
                                      leinardi
                                      last edited by

                                      Hey, I just wanted to say thanks for the new PPPoE backend! I have a Netgate 1100 and was pretty disappointed at first: after switching from my ISP’s router to the SG-1100, my DL speed dropped from around 650-700 Mbps to 450-500 Mbps. I was seriously thinking about switching to third-party hardware and reselling the Netgate. But then I came across the if_pppoe option and decided to give it a try. My DL speed are now back to almost what they were originally, an incredible improvement. Really appreciate it!

                                      1 Reply Last reply Reply Quote 1
                                      • RobbieTTR
                                        RobbieTT @stephenw10
                                        last edited by

                                        @stephenw10

                                        Any chance we can have some logging for if_pppoe? Seems odd not being able to see the connection / chap / IPV6CP process.

                                        ☕️

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

                                          Mmm, good question. You can enable the debug output but that's more like a torrent of data! Let me see....

                                          RobbieTTR 1 Reply Last reply Reply Quote 0
                                          • RobbieTTR
                                            RobbieTT @stephenw10
                                            last edited by

                                            @stephenw10 said in New PPPoE backend, some feedback:

                                            ....more like a torrent of data! Let me see....

                                            Yep, that tsunami got old very quickly!

                                            ☕️

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