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

    Traffic is not re-routed over secondary internet connection (PPPOE), once it returns from being down.

    Scheduled Pinned Locked Moved Plus 22.05 Development Snapshots (Retired)
    32 Posts 4 Posters 3.3k 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.
    • B
      BNetworker @w0w
      last edited by BNetworker

      @w0w

      The way I can trigger it (100% of the time) here is to drop (unplug) the DSL line going into the modem/bridge. Then plug it back in. It will re-negotiate and them I'm stuck with the blank gateway. As you said, If you drop Ethernet (from modem/bridge to Netgate box), it's been functioning correctly.

      w0wW 2 Replies Last reply Reply Quote 0
      • w0wW
        w0w @BNetworker
        last edited by

        @bnetworker
        I have plain PPPoE, no modem, just ethernet cable. I'll try some other methods tomorrow, I hope, and let you know.

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w @BNetworker
          last edited by w0w

          @bnetworker
          No, I can not re-produce this on the 22.05.b.20220524.1701, what build you have now?

          B 1 Reply Last reply Reply Quote 0
          • B
            BNetworker @w0w
            last edited by

            @w0w

            22.05.b.20220524.0600, but I've had this issue on every recent version. So, it may be a difference in config that is causing the issue. My setup is

            DSL -> Modem in Bridge Mode (Carrier VLAN setup here) -> PFSense (Auth here)

            w0wW 1 Reply Last reply Reply Quote 0
            • w0wW
              w0w @BNetworker
              last edited by

              @bnetworker
              How did you configure the default gateway? Mine is configured as group and using tiers to prioritize which one is the primary.

              B 1 Reply Last reply Reply Quote 0
              • B
                BNetworker @w0w
                last edited by

                @w0w -

                Yes the overall default gateway is my primary gateway group, WAN1WAN2, with WAN 1 having tier 1 priority, WAN2 Tier 2.

                But... configured in the firewall for INSIDE, I have explicitly setup the WAN1WAN2 gateway group as being their default gateway. The Guest network explicitly has WAN2WAN1.

                Now that the filters are reloading at the end of the rc.newwanip, I've had zero failover issues. It's been working great.

                w0wW 1 Reply Last reply Reply Quote 2
                • w0wW
                  w0w @BNetworker
                  last edited by w0w

                  @bnetworker
                  I've similar configuration and anyway I've tried — I don't have this re-routing issue on the last build without any patching.

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    BNetworker @w0w
                    last edited by

                    @w0w - It would be interesting to see if when your PPPoE returns, if you see "Filter Reload" in your logs. Mine does not, until I put in the manual workaround.

                    w0wW 1 Reply Last reply Reply Quote 0
                    • w0wW
                      w0w @BNetworker
                      last edited by

                      @bnetworker
                      Looks like yes... but not sure...
                      When it's going down

                      Jun 4 07:11:46 	php-fpm 	61963 	/rc.openvpn: MONITOR: WAN_PPPOE has packet loss, omitting from routing group WAN_FAIL_BACK
                      Jun 4 07:11:46 	check_reload_status 	47693 	Reloading filter 
                      

                      When it's UP

                      
                      Jun 4 07:17:25 	check_reload_status 	47693 	Reloading filter
                      Jun 4 07:17:25 	check_reload_status 	47693 	Restarting OpenVPN tunnels/interfaces
                      Jun 4 07:17:25 	check_reload_status 	47693 	Restarting IPsec tunnels
                      Jun 4 07:17:25 	check_reload_status 	47693 	updating dyndns HENETV6_TUNNELV6
                      Jun 4 07:17:25 	rc.gateway_alarm 	16761 	>>> Gateway alarm: HENETV6_TUNNELV6 (Addr:x001:xx0:27:191::1 Alarm:1 RTT:0.000ms RTTsd:0.000ms Loss:100%)
                      Jun 4 07:17:23 	php-fpm 	93505 	/rc.newwanip: Removing static route for monitor 8.8.8.8 and adding a new route through x0.0.x00.1
                      Jun 4 07:17:22 	php-fpm 	93505 	/rc.newwanip: Default gateway setting Interface HENETV6_TUNNELV6 Gateway as default.
                      Jun 4 07:17:22 	php-fpm 	93505 	---xxx.xxx.xxx.xxx---|---xxx.xxx.xxx.xxx---|WAN_PPPOE|0.254ms|0.022ms|0.0%|online|none
                      Jun 4 07:17:22 	php-fpm 	93505 	/rc.newwanip: MONITOR: WAN_PPPOE is available now, adding to routing group WAN_FAIL_BACK
                      Jun 4 07:17:22 	kernel 		gif0: link state changed to UP
                      Jun 4 07:17:22 	kernel 		gif0: link state changed to DOWN 
                      *********
                      Jun 4 07:17:20 	ppp 	17338 	[wan] IFACE: Up event
                      Jun 4 07:17:20 	check_reload_status 	47693 	rc.newwanip starting pppoe0 
                      *********
                      

                      This "Reloading filter" appears several times, not just PPPoE, but also Ipv6 tunneling and IPSEC, Openvpn (Resyncing OpenVPN instances for interface WAN) and so on, and I have other "spam" in logs too, like snort. So sometimes it's very difficult to understand what was exactly happened.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BNetworker
                        last edited by

                        Hey @jimp - Just wanted to give an update on this. Been working perfectly with the modifications as below. I just have to remember to insert the filter_configure after every update:

                        }
                        } else {
                        	/* signal filter reload */
                        	filter_configure();
                        }
                        
                        filter_configure();
                        ?>
                        

                        If there is any way I can help narrow down the issue as to why this is needed, please let me know.

                        Thanks!

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          Leave a note on https://redmine.pfsense.org/issues/13228 that the fix works for you.

                          It's still something I plan on changing for the next release it just hasn't happened yet.

                          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 1
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.