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

      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
                                • uxmU
                                  uxm @provels
                                  last edited by uxm

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

                                  i340-T4 4-port

                                  Is this a (kind of) "new" nic? Cause I bought from ebay the Intel Pro 1000 PT 4port NIC and it wasnt compatible with my motherboard. I sold it to person who had older hardware and it worked. But no joy for me. Will this i340-T4 will work to newer hardware?

                                  Thanks provels!

                                  PS : I found this card. Maybe it is the right? HP NC365T Intel I340-T4 593743-001 593720-001 4Port PCIe 2.0 x4

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

                                    @uxm The i340 (2010 release) was the next gen after 1000 and I'm running it in a 2008 vintage board, so... LOL. Then the i350 (2014), which would be closer to $50+. What version PCIE do your slots support? I'm using the 2.0 IBM in a 1.1 slot. You can see a lot of card info at Intel
                                    https://ark.intel.com/content/www/us/en/ark/products/49186/intel-ethernet-server-adapter-i340-t4.html

                                    Yes, the 365 is the right card.

                                    Also, a link about counterfeit/grey market cards... Part of the reason they recommend buying an OEM branded rather than Intel branded.
                                    https://forums.servethehome.com/index.php?threads/comparison-intel-i350-t4-genuine-vs-fake.6917/

                                    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 2 Replies Last reply Reply Quote 0
                                    • uxmU
                                      uxm @provels
                                      last edited by

                                      @provels wow! fake Intels?? omg. :) My motherboard can handle PCI Express 3.0 so I guess I am alright :)

                                      Thank you a bunch @provels!

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

                                        @provels my NIC came 4 days ago. Its an HP one. Guys, I think you were right. The intel nic is up and running without a glitch for 100 hours now! (I use net uptime monitor software) I downloaded a large file from nvidia and I had a long time to see a smooth graph like this (without disconnections).

                                        30263510-e667-47c7-a926-1e9d9aecf9c9-image.png

                                        I think my problem was the network cards. Now I have only this HP NC365T Intel I340-T4 working with 3 ports NIC Teaming and one port for the "gateway" of pfsense.

                                        THANK YOU guys!

                                        I will never use a cheap nic again. Promise. ☺

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