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

    When downloading at full speed, Internet Connection drops.

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 4 Posters 2.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      @uxm said in When downloading at full speed, Internet Connection drops.:

      I also see that the Gateway loses packets.

      When you saturate your pipe, and it doesn't get back its pings - then it thinks the line is down, so i you have this setting set, it will flush all the states - and yeah you can loose your connection you were doing.

      System / Advanced / Miscellaneous

      states.jpg

      Uncheck that box like I have - and it should fix you problem.

      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.8, 24.11

      uxmU 1 Reply Last reply Reply Quote 0
      • uxmU
        uxm @johnpoz
        last edited by

        @johnpoz

        It is unchecked already :(

        9ae1d4e2-dbf1-40f3-9e6d-659a3b4bb749-image.png

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

          Try setting it to always be considered UP.. you sure the interface is not actually burping on off?

          gatewayaction.jpg

          I set this years ago - because would run into the same problem where I would saturate my line - I mean fully just peg it ;) heheh

          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.8, 24.11

          uxmU 1 Reply Last reply Reply Quote 0
          • uxmU
            uxm @johnpoz
            last edited by uxm

            @johnpoz said in When downloading at full speed, Internet Connection drops.:

            Try setting it to always be considered UP.. you sure the interface is not actually burping on off?

            No I am not sure. Can I check it?

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

              Yeah just go into your gateway and set that flag..

              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.8, 24.11

              uxmU 1 Reply Last reply Reply Quote 0
              • uxmU
                uxm @johnpoz
                last edited by

                @johnpoz said in When downloading at full speed, Internet Connection drops.:

                Yeah just go into your gateway and set that flag..

                It is already checked. How can I check that the gateway is burping on and off? Is there any log?

                35d2a55b-5466-4488-b208-c69117ea8178-image.png

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

                  Yeah if your interface is actually going down - it would be in the logs ;) But that would explain why your having the problem for sure ;) since you have pfsense not to take action on just loss of pings, etc.

                  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.8, 24.11

                  uxmU 1 Reply Last reply Reply Quote 0
                  • uxmU
                    uxm @johnpoz
                    last edited by uxm

                    @johnpoz

                    Can you please tell me what logs should I search? In the Diagnostics section? My pfsense is a VM. The nic I am using is a D-Link. Should this be a problem?

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

                      Like a usb thing? that you passed to the pfsense vm?

                      Where you could have a problem is if the interface went down on your host, but pfsense vm nic didn't show down?

                      If an interface goes down it would be in the main system log.

                      Here I just turned off this port on the switch that is connected to my pfsense, you can see it logs it down.

                      May 5 08:41:18 	php-fpm 		/rc.linkup: Hotplug event detected for TEST(opt2) static IP (192.168.200.1 )
                      May 5 08:41:17 	kernel 		igb4: link state changed to DOWN 
                      

                      And here I turned it back on

                      May 5 08:42:57 	php-fpm 	3482 	/rc.linkup: Hotplug event detected for TEST(opt2) static IP (192.168.200.1 )
                      May 5 08:42:56 	kernel 		igb4: link state changed to UP 
                      

                      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.8, 24.11

                      uxmU 1 Reply Last reply Reply Quote 0
                      • uxmU
                        uxm @johnpoz
                        last edited by uxm

                        @johnpoz Thank you very much.

                        Does this log shows that my nic has a problem?

                        f44234ec-e6a5-4dde-af2c-a414e2deacf5-image.png

                        I see many packet loses..

                        PS: Event Viewer in host, does not show any problems with the actual nic hardware..

                        I also see Down logs..

                        2df4fc36-dfd9-471a-9f6a-661b115184a4-image.png

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

                          Well yeah clearly it went down!

                          And pfsense saw that the interface actually went down!

                          that is the hotplug event.

                          What type of interface is hn0? What is the hardware?

                          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.8, 24.11

                          uxmU 1 Reply Last reply Reply Quote 0
                          • uxmU
                            uxm @johnpoz
                            last edited by

                            @johnpoz Its a D-Link PCI adapter.

                            ffe79310-ca73-4f54-b30b-495cb7f1e40f-image.png

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

                              Well pfsense say that interface went DOWN for whatever reason it lost connection, and actually went down.. It wasn't that it just couldn't ping its gateway.. Maybe your router interface your plugged into went offline, maybe your upstream router has issues when you saturate the line..

                              But yeah your traffic is going to go away if the interface actually 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.8, 24.11

                              uxmU 1 Reply Last reply Reply Quote 0
                              • uxmU
                                uxm @johnpoz
                                last edited by

                                @johnpoz said in When downloading at full speed, Internet Connection drops.:

                                Well pfsense say that interface went DOWN for whatever reason it lost connection, and actually went down.. It wasn't that it just couldn't ping its gateway.. Maybe your router interface your plugged into went offline, maybe your upstream router has issues when you saturate the line..

                                But yeah your traffic is going to go away if the interface actually goes down..

                                Thank you very much johnpoz. I will investigate it further. Thanks again.

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

                                  Question for you - this dlink nic, you have it directly passed to pfsense in your VM setup.. How exactly do you have pfsense setup as vm?

                                  What are you using for vm? virtualbox, hyper-v, esxi? Something else?

                                  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.8, 24.11

                                  uxmU 1 Reply Last reply Reply Quote 0
                                  • uxmU
                                    uxm @johnpoz
                                    last edited by uxm

                                    @johnpoz Im using Hyper-V. Two network cards to two separate Virtual Switches (WAN and LAN) on two separate physical nics.

                                    f8f0ba3b-09d6-42d7-9be2-ec7a699dacfb-image.png

                                    76ecec01-fdb6-4d42-aced-ed68a2caef96-image.png

                                    My HyperV host has 3 nic cards :

                                    1 x Realtek
                                    2 x D-Link

                                    And I have three VMs (pfsense, Win10 VM and Domain Controller VM Windows 2012 R2)

                                    I have 3 virtual switches (WAN, LAN and LAN (Domain)) and I have given the below :

                                    LAN VS (Domain) --- Win10 VM and Win2012 VM ---- D-Link NIC #2
                                    LAN VS --- pfsense Internal ---- Realtek NIC
                                    WAN VS --- pfsense Gateway ---- D-Link NIC #1

                                    Do you think there is a problem with this configuration?

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

                                      Your problem is more than likely to be the Realtek NICs. (Those D-link NICs are just rebranded Realteks). They really are crap. Still, I would have expected them to cope with 50Mb/s.

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

                                        I wish I could point you to a fix.. But have never worked with such crappy hardware.. So yeah it could be your problem..

                                        All I can say is for some reason that nic is going offline - so yeah, your connection is going to die..

                                        I would hope a gig rated nic could handle 50mbps for sure... But for some reason it went offline.. So yeah your going to loose everything.. Maybe some of the hardware guys can help you.. I would use some decent hardware to start with..

                                        I have some realtek shit - but other than it going offline now and then have not had serious issues with it - its CHEAP! ;) I got a usb realtek thing to do 2.5gbps with my synology ds918+ nas.. When it works it screams.. But now and then it just dies, and I have to log in and re enable it... Not sure.. what do you expect for $40 ;) hehehe with usb.. But when it works - shit is screams and I get 280MBps from my pc to my nas ;)

                                        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.8, 24.11

                                        uxmU 1 Reply Last reply Reply Quote 0
                                        • uxmU
                                          uxm @johnpoz
                                          last edited by

                                          @johnpoz haha ok johnpoz. I got to buy some new stuff I think. Some intel NICs maybe?

                                          provelsP 1 Reply Last reply Reply Quote 0
                                          • provelsP
                                            provels @uxm
                                            last edited by provels

                                            @uxm An inexpensive solution would be an OEM branded Intel i340-T4 4-port card off the 'bay. Here's a link to manufacturers' equivalent numbers.
                                            https://forums.servethehome.com/index.php?threads/list-of-nics-and-their-equivalent-oem-parts.20974/
                                            I use an IBM one on Hyper-V on 2012R2.

                                            Peder

                                            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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