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

    Internal routing stops when internet goes down

    General pfSense Questions
    4
    21
    1.2k
    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.
    • J
      jhunt
      last edited by

      I have noticed that a few minutes after my internet goes down, internal routing seems to stop and I cannot access the router. (cannot ping the local gateway and connections to other internal LANs drop.) The instant the internet comes back up everything starts working again.
      I haven't found anything obvious in the logs. From my searches it sounds like this is not normal. Looking for suggestions.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        No that is not normal.. Are you trying to ping via fqdn or IP?

        Is this a physical router, or are you running it on vm?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • J
          jhunt
          last edited by

          @johnpoz said in Internal routing stops when internet goes down:

          fqdn

          The ping is by IP. It is a physical router. (Protectli FW4B-0-8-120)

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            @jhunt said in Internal routing stops when internet goes down:

            (Protectli FW4B-0-8-120)

            I would look to that hardware maker then - that shouldn't be happening.. An interface or connection going down be it your wan or a lan or or an opt shouldn't have anything to do with anything else.. Now you could have states reset if you set pfsense to do that when say a gateway goes offline.. But that wouldn't stop a ping to pfsense IP from working.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              jhunt
              last edited by

              Thank you for the feedback! I will do some research and testing and let you know if I find anything.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Does it happen if you simulate a wan failure.. Get a constant pinging going to say your lan IP from a box on your lan, and then say pull the wan cable.. To simulate a wan failure..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • J
                  jhunt
                  last edited by

                  Yes it does. I've been doing some testing and I'm pretty sure the problem is my network switch. When I hard wire my laptop to the router I never lose the connection to the router. I'm ordering a new network switch and I will update the post with whether or not it fixed the issue. Thank you!

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    So your wan connection runs through your switch as well? Why would you switch have issues if wan goes down?

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • J
                      jhunt
                      last edited by

                      The WAN is connected directly to the router. Then another connection goes from the router to the switch. I'm not sure the switch is the issue but it is an older device and eliminating it seems to eliminate the issue.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Well that doesn't make any sense either to be honest..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        J 1 Reply Last reply Reply Quote 0
                        • U
                          user_three Rebel Alliance
                          last edited by

                          Do you have a specific rule set up for internal routing? You can test this quickly with an any<->any rule on the LAN interface.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jhunt
                            last edited by

                            I did try that, thanks for the suggestion but it did fix the problem.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jhunt @johnpoz
                              last edited by

                              @johnpoz said in Internal routing stops when internet goes down:

                              Well that doesn't make any sense either to be honest..

                              I agree, I can't explain it but I can't argue with results. Today I replaced the old switch with a new brand name switch and I cannot reproduce the problem. (I've tried several times.)

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by johnpoz

                                Well then maybe just a flaky switch and coincidental? How would a switch have any idea your wan was up or down? It wouldn't.. Unless its some sort of managed/smart switch and need to talk to the mothership on the internet to work? What specific make and model switch was it?

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jhunt
                                  last edited by

                                  It is a managed switch.(Not fully managed but it can do vlans and a few other things.) tp-link TL-SG108E version 4. I thought the same thing about it wanting to talk to the mothership but it didn't have problems when I created a rule to block the switch from the internet. I never even saw it trying to reach the internet. I've had this switch for years and haven't had issues until about a year ago.

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

                                    @jhunt said in Internal routing stops when internet goes down:

                                    tp-link TL-SG108E version 4

                                    Is that one of the models that doesn't do VLANs properly?

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

                                    J 1 Reply Last reply Reply Quote 0
                                    • U
                                      user_three Rebel Alliance @jhunt
                                      last edited by user_three

                                      @jhunt said in Internal routing stops when internet goes down:

                                      I've had this switch for years and haven't had issues until about a year ago.

                                      Look for a firmware update. Although it probably won't fix the issue.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        jhunt @JKnott
                                        last edited by

                                        @JKnott

                                        Is that one of the models that doesn't do VLANs properly?

                                        Could be? I use a few VLANs and they seemed to work fine. (unless the WAN was down)

                                        JKnottJ 1 Reply Last reply Reply Quote 0
                                        • J
                                          jhunt @user_three
                                          last edited by

                                          @user_three said in Internal routing stops when internet goes down:

                                          @jhunt said in Internal routing stops when internet goes down:

                                          I've had this switch for years and haven't had issues until about a year ago.

                                          Look for a firmware update. Although it probably won't fix the issue.

                                          Thanks for the suggestion but I looked before I bought the new switch. The old switch was running the latest firmware. Although the firmware was a few years old.

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by

                                            @jhunt said in Internal routing stops when internet goes down:

                                            tp-link TL-SG108E

                                            Yeah those are those one that didn't do vlans correctly, wouldn't let you remove vlan 1. Then they came out with firmware fix for v3 but didn't list it for v2 or 1.. But now looks like they are on v5..

                                            But with the way he described the connections, the wan doesn't even run through the switch as a vlan. So this switch would have no clue to if the wan is up or down, it would even know about it or care... It would be like your switch knowing if my line was up or down ;)

                                            So unless there was some physical path of the wan through the switch, where it might see traffic or know if interface went down that caused a problem I really don't see how his wan status could have anything to do with traffic flowing through the switch. It just not possible. Unless it is checking if it can get to the internet in some way, and when that went down it had an issue.. Really seems unlikely.

                                            But those switches are not very good anyway.. So not a big issue if taken out of the equation.

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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