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

PPPoE WAN fails to reconnect after link loss

Scheduled Pinned Locked Moved General pfSense Questions
60 Posts 7 Posters 12.9k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Jul 2, 2018, 8:58 PM

    Are you spoofing the WAN MAC? What NIC driver is the WAN using?

    Steve

    V 1 Reply Last reply Jul 3, 2018, 11:40 AM Reply Quote 0
    • V
      vegbrasil @stephenw10
      last edited by vegbrasil Jul 3, 2018, 11:40 AM Jul 3, 2018, 11:40 AM

      @stephenw10

      Are you spoofing the WAN MAC?

      Yes! Could it be the cause?

      What NIC driver is the WAN using?

      It's a Intel PRO/1000, using the em(4) drivers.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Jul 8, 2018, 1:50 PM

        I did see a similar report that spoofing the MAC broke PPPoE in some cases.
        I wouldn't expect that to be required for PPPoE, can you test it without spoofing?

        Also where are you spoofing it? On the PPPoE interface or on the parent interface?
        I could imagine an issue passing that through to the parent perhaps.

        Steve

        V 1 Reply Last reply Jul 8, 2018, 2:03 PM Reply Quote 0
        • V
          vegbrasil @stephenw10
          last edited by vegbrasil Jul 8, 2018, 2:04 PM Jul 8, 2018, 2:03 PM

          @stephenw10

          I wouldn't expect that to be required for PPPoE, can you test it without spoofing?

          I can but it's not easy... Probably next weekend - needs to be in office off-hours and my ISP needs to authorize the correct MAC addr. I'll do and return with feedback.

          Also where are you spoofing it? On the PPPoE interface or on the parent interface?

          I'm spoofing directly on the physical interface (em0). I don't see the option to spoof on the pppoe0 interface.

          Thanks a lot!

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Jul 8, 2018, 3:13 PM

            Great. If that does work we can open a bug report to look into it.

            Interesting though, I see the MAC spoof option here on PPPoE interfaces in 2.4.3p1:

            0_1531062814856_Selection_438.png

            Steve

            1 Reply Last reply Reply Quote 0
            • V
              vegbrasil
              last edited by vegbrasil Sep 1, 2018, 1:19 PM Sep 1, 2018, 12:17 PM

              @stephenw10 Sorry for the delay. Unfortunately, the problem persists.

              Here's what I've done since then:

              • Updated to 2.4.3p1;
              • Fixed the authorized MAC address with my ISP. There's no spoofing anymore;
              • Recreated the PPPoE interface from scratch;
              • Tried another network port in the same machine;
              • Used PPPoE with the same ISP but different layer 1 topology. Reconnection works fine when using their wireless uplink. The problem only happens on the FTTH connection;

              Is there anything else I can do?

              Thanks!

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Sep 1, 2018, 3:01 PM

                Hmm, the logs still show the same thing? Can we see a current PPP log showing the failure?

                Steve

                V 1 Reply Last reply Sep 3, 2018, 1:07 PM Reply Quote 0
                • V
                  vegbrasil @stephenw10
                  last edited by Sep 3, 2018, 1:07 PM

                  @stephenw10 Here's the updated logs. For safety, I've replaced the WAN IP with $_WAN_PUBLIC_IP_$ and my ISP's gateway with $_ISP_GATEWAY_$.

                  Log #1 - Connection works after system restart

                  Log #2 - Fails to reconnect if the connection dropped for any reason

                  This line keeps appearing:

                  IFACE: Adding IPv4 address to pppoe2 failed(IGNORING for now. This should be only for PPPoE friendly!): File exists
                  

                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joxxxx
                    last edited by Nov 14, 2018, 11:45 PM

                    Hello, did you find out what was the problem ? Because I have the exact same problem with the exact same errors after upgrading to 2.4.4 .

                    [opt1] IFACE: Adding IPv4 address to pppoe0 failed(IGNORING for now. This should be only for PPPoE friendly!): File exists 
                    
                    [opt1] IFACE: Removing IPv4 address from pppoe0 failed(IGNORING for now. This should be only for PPPoE friendly!): Can't assign requested address 
                    

                    Tried everything, nothing helps. The connection works on VyOS and directly on the PC.

                    V 1 Reply Last reply Nov 15, 2018, 3:05 PM Reply Quote 1
                    • V
                      vegbrasil @Joxxxx
                      last edited by Nov 15, 2018, 3:05 PM

                      @joxxxx I have yet to find a solution. For me, the (re)connection works fine on other OSes and devices as well.

                      Let me know you find out anything. Unfortunately I'm considering migrating to something else.

                      J 1 Reply Last reply Nov 15, 2018, 8:15 PM Reply Quote 1
                      • J
                        Joxxxx @vegbrasil
                        last edited by Nov 15, 2018, 8:15 PM

                        @vegbrasil After countless hours, I found out that the pppoe layer of pfsense 2.4.4 is bugged ! Something changed and because of that, the connection cannot be made with the above errors. Tried it also on a clean 2.4.4 install.

                        Re-installed 2.4.3 and all works again without any problems ! The thing is that I cannot install any packages anymore because it wants me to update to 2.4.4...

                        Btw, tried the dev 2.4.5 version and the bug is still the same.

                        I hope this will be fixed because it mus affect a lot of people...

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Nov 16, 2018, 1:37 AM

                          Hmm, there must be something different about your connection. I have two WANs here, both are PPPoE. The only issue I saw was when the ISP(s) had an outage. However the logs showed it as very broken, nothing like what you're seeing.
                          If PPPoE was broken in general there would be hundreds of posts about it by now.

                          Are you able to try a different NIC type?

                          Steve

                          V 1 Reply Last reply Nov 16, 2018, 2:23 AM Reply Quote 0
                          • V
                            vegbrasil @stephenw10
                            last edited by vegbrasil Nov 16, 2018, 2:32 AM Nov 16, 2018, 2:23 AM

                            @stephenw10 I've been using pfSense with the same FTTH PPPoE connection and two different NICs models:

                            • Realtek NICs (re): crazy bugs, completely unusable - expected, I guess;
                            • Intel PRO/1000 NICs (em): Problem of the initial post: first connection is fine, re-connection never happens. If we forget this problem, everything is working great and I can max-out the connection (150 Mbps).

                            Upgraded and tried clean install between 2.3.5 and all 2.4.x versions.

                            Thanks!

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Nov 17, 2018, 12:23 AM

                              Hmm, yes, this seems like it must be some other issue since you were seeing it in 2.4.3 also.

                              Steve

                              J 1 Reply Last reply Nov 19, 2018, 10:25 AM Reply Quote 0
                              • J
                                Joxxxx
                                last edited by Nov 19, 2018, 9:12 AM

                                I'm using a quad ethernet intel pro and never got any problems since v 2.0 or something like that on vmware and the vmx3 driver.

                                After analysing a bit the problem, could it be that I have this problem because pfsense sees his local ip address as the FTTH gateway ?
                                Maybe something changed in pf 2.4.4 in the pppoe connection that forbids the use of it ? (This could explain the two errors I get).

                                V 1 Reply Last reply Nov 19, 2018, 9:33 AM Reply Quote 0
                                • V
                                  vegbrasil @Joxxxx
                                  last edited by Nov 19, 2018, 9:33 AM

                                  @joxxxx said in PPPoE WAN fails to reconnect after link loss:

                                  I'm using a quad ethernet intel pro

                                  I'm using the exactly same hardware and since we're having the same problem, we may have found the initial cause.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Joxxxx @stephenw10
                                    last edited by Nov 19, 2018, 10:25 AM

                                    @stephenw10 On my side, 2.4.3 is working perfectly and reaching the 1Gbits of the fiber connection. The problem is 2.4.4 and above where it doesn't want to allocate the ip address it gets (I can see the received ip address in the logs, but the error prevents it to be used).

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      timboau 0
                                      last edited by Feb 4, 2019, 1:54 AM

                                      How did you get anywhere with this problem?

                                      I'm experiencing the same issue:

                                      Could it be the PPPoE is not receiving a gateway address and the IP address its been given is a /32 255.255.255.255 address

                                      This is the case with mine.

                                      I started on 2.4.3 upgraded to 2.4.4 (this causes the WAN to drop and it attempt another connection - 2.4.3 got this error and left the link up)

                                      Feb 4 12:22:20 ppp [wan] IFACE: Adding IPv4 address to pppoe0 failed(IGNORING for now. This should be only for PPPoE friendly!): Destination address required
                                      Feb 4 12:22:20 ppp [wan] 118.xxx.xxx.xxx -> 0.0.0.0
                                      Feb 4 12:22:20 ppp [wan] IPCP: LayerUp
                                      Feb 4 12:22:20 ppp [wan] IPCP: state change Ack-Sent --> Opened
                                      Feb 4 12:22:20 ppp [wan] IPADDR 118.xxx.xxx.xxx

                                      V 1 Reply Last reply Feb 4, 2019, 2:05 AM Reply Quote 0
                                      • V
                                        vegbrasil @timboau 0
                                        last edited by Feb 4, 2019, 2:05 AM

                                        @timboau-0 I still have the issue, running the latest stable version of pfSense.

                                        This weekend I needed to visit a site that was offline due this reconnection problem. I'm thinking of making some sort of simple script to reboot the server if the WAN is offline for a few minutes...

                                        Thanks!

                                        T 1 Reply Last reply Feb 4, 2019, 3:05 AM Reply Quote 0
                                        • T
                                          timboau 0 @vegbrasil
                                          last edited by Feb 4, 2019, 3:05 AM

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]