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

    PfSense randomly loses connection, and reboot is only solution.

    Scheduled Pinned Locked Moved Hardware
    28 Posts 7 Posters 10.4k 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.
    • R
      rocketdog
      last edited by

      @stephenw10:

      How far apart are these up down events?
      Why is it using promiscuous mode? Is it bridged?

      Steve

      Promiscuous mode? I have no idea. I've never seen options like that. It is no bridged.

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

        Usually a NIC would only need to use promiscuous mode if it has to be able to process frames addressed to other MACs.  This is the case if it is part of a bridge or has been used for packet capturing among others.

        Steve

        1 Reply Last reply Reply Quote 0
        • R
          rocketdog
          last edited by

          @stephenw10:

          Usually a NIC would only need to use promiscuous mode if it has to be able to process frames addressed to other MACs.  This is the case if it is part of a bridge or has been used for packet capturing among others.

          Steve

          According to "Diagnostics > Packet Capture" promiscuous mode is disabled. By the way did, did you see my edit on my previous post?

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

            You can tune apinger or disable it completely in System: Routing: Gateways: edit gateway, advanced.
            That's not going to help if your usb nic really is flaky though.

            Steve

            1 Reply Last reply Reply Quote 0
            • D
              dreamslacker
              last edited by

              @rocketdog:

              So I guess it's just this damn USB NIC. Too much traffic and it goes bananas..

              How do you reload filters?

              Seems like the case.  USB NICs aren't exactly stellar performers.  I seriously recommend getting a cheap VLAN capable switch (Netgear GS108T or HP Procurve 1810-8G or Mikrotik RB260GS) and using that with your BGE nic to create the WAN & LAN interfaces via VLANs instead.  It's far more stable than trying to work with the USB NIC.

              1 Reply Last reply Reply Quote 0
              • R
                rocketdog
                last edited by

                As soon as I turn on squid, the USB drops within hours. Since I disabled it, it hasnt dropped once.  :) Too bad tho, since I really liked Squid. I guess I'll start using it the day I find relaying onion traffic boring.  8)

                1 Reply Last reply Reply Quote 0
                • R
                  rocketdog
                  last edited by

                  Sorry for keeping this thread alive, but..since I figured out, the reason the USB-NIC overloads is because of Squid, is there any certain tweaks I could do to Squid towards the hardware?

                  1 Reply Last reply Reply Quote 0
                  • B
                    bryan.paradis
                    last edited by

                    @rocketdog:

                    Sorry for keeping this thread alive, but..since I figured out, the reason the USB-NIC overloads is because of Squid, is there any certain tweaks I could do to Squid towards the hardware?

                    What is squid doing when the USB nic drops? Line up the logs. Look to make the logs more verbose.

                    Have you tried a different set of USB headers? Does it correspond with high load on the PC?

                    1 Reply Last reply Reply Quote 0
                    • R
                      rocketdog
                      last edited by

                      @bryan.paradis:

                      @rocketdog:

                      Sorry for keeping this thread alive, but..since I figured out, the reason the USB-NIC overloads is because of Squid, is there any certain tweaks I could do to Squid towards the hardware?

                      What is squid doing when the USB nic drops? Line up the logs. Look to make the logs more verbose.

                      Have you tried a different set of USB headers? Does it correspond with high load on the PC?

                      After all, it's just not Squid, it is traffic itself. USB-NIC/GW still drops, just not as frequent as with Squid enabled.

                      Attached some RRD graphs. If you want RRD graphs of CPU or other system-related stuff, just give me a shout.

                      week.png_thumb
                      week.png
                      day.png_thumb
                      day.png
                      8h.png_thumb
                      8h.png

                      1 Reply Last reply Reply Quote 0
                      • P
                        pubmsu
                        last edited by

                        Hi there,

                        We used to use USB NICs and can confirm this flapping behavior - UP/DOWN within seconds. The only solution is NOT to use USB NICs with pfSense/FreeBSD. Go for VLAN switches and non-USB NICs.

                        Thanks,
                        msu

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