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

    [SOLVED] File transfer slow across other subnets, works fine on same subnet

    Scheduled Pinned Locked Moved Routing and Multi WAN
    17 Posts 3 Posters 5.6k 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.
    • P
      PlowHouse
      last edited by

      On my WiFi I get the following according to speedtest.net:

      7 ms ping - 15.82 MB/s Down - 17.30 MB/s Up

      LAN:

      5 ms ping - 53.49 MB/s Down - 63.55 MB/s up

      I have Verizon Fios and I pay for 50 up/50 down MB/s internet. I executed the netstat -i from the command prompt within pfsense to gather those results related to the errors after I noticed the in/out errors from the status of the interface.

      I plan on connecting a physical cable from my laptop to the wifi port and attempting a file copy to the NAS recording what speeds I'm getting across the different subnets. In theory, I should get the same results or close to it as I would from a copy just on subnet A. I'll post my results from that test shortly. I should also mention that I'm not using any vlan tagging/trunking nor am I utilizing any form of traffic shaping on any of these subnets. Thanks again for your responses!

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

        Took my laptop and plugged it directly into the WiFi port on my NIC. My results on speedtest were 6 ms ping - 54.82 MB/s Down - 52.27 MB/s Up. My file transfer rate to the NAS was basically non existent it sat there "calculating" the time remaining while only displaying under 300 KB/s transfer. To me, this rules out the AP being the single point of the bottleneck. Is there a monitoring tool within pfsense that may help me diagnose this a bit more to figure out why I'm having such performance issues between subnets? I noticed there's a packet capture I could try but I'm not sure I'll get anything useful from that but I'm open to any suggestions.

        Thanks

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

          Yeah you have something else going on it would seem.  What are you rules on your wifi lan interface on pfsense.  Your not trying to nat between them are you?  You don't have any gateways set on these lan side pfsense interfaces?

          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

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

            My WiFi firewall rules are vanilla. Protocol IPv4*, Source WiFi net, Port *, Destination *, Port *, Gateway *, Queue "None". I configured this rule so the WiFi would have access to all interfaces (including the WAN for internet access). Should I configure this in another way?

            I hope I'm not running NAT internally… My background is more in systems rather than networking but from what I can see under Firewall - NAT, my 1:1 is empty (no configurations made), my Outbound settings are checked for Manual Outbound NAT rule generation. (AON - Advanced Outbound NAT) with auto created rules for each subnet to have access to the WAN and my "NPt" has no configurations.

            Under "System - Routing - Gateways" I only have one entry configured for my WAN_DHCP (default). There's currently nothing configured in my "Static Routes" or "Gateway Groups". When I configured each individual interface, I created them with their own /24 IPv4 Address, but I didn't create any other gateways as this setup appeared to work for my needs.

            System - Advanced - Firewall & NAT rules are as follows:

            NAT Reflection mode for port forwards is set to "Pure NAT"
            Enable automatic outbound NAT for 1:1 NAT is checked for Automatic creation of additional NAT redirect rules from within the internal networks
            Enable automatic outbound NAT for Reflection is checked for Automatic create outbound NAT rules that direct traffic back out to the same subnet it originated from

            Maybe there's something here within my NAT settings that I should adjust? I should also mention that this is regarding pfsense version 2.3.2. I've also tested file copies using Windows, Mac, and Ubuntu 12.04. Neither operating system provides a difference in speed and they all are mostly identical transferring data in KB/s.

            I greatly appreciate the help around this. Let me know if there's any other settings/details I should provide. If I somehow come across a eureka moment I'll be sure to post my findings here to hopefully help the next padawon in his pfsense journey  :D.

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

              Out of the box no pfsense would not nat between lan side segments, unless it thought it was a wan because you put a gateway on it.  You can see real easy by just looking at your outbound nats.  But even a nat should not cause a problem.

              What I would do is take a packet capture/sniff using pfsense packet capture on the interface of your wifi lan using your wired box that your seeing the really bad speed on do your test for a file transfer.. Are you seeing loads of errors? retrans etc….

              While there is going to be some hit on routing/firewalling traffic across pfsense it should not be anywhere close to such a hit.  And your hit to your wan should be the most because now its doing firewall/route and nat.. between your lans your only doing route/firewall rules.

              I move traffic between my segments all the time - and while I do not get full gig wire speeds.. I do see 400mbps or so - and then my pfsense is a VM on a OLD box running esxi..

              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

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

                Do you think it could be my firewall rules aren't setup correctly between the two interfaces? Even though I have it open on both interfaces is there somewhere else I should check so the traffic is reaching the destination? Seems like I'm able to connect to the file share by IP without issue but once I initiate a file copy it comes to a complete crawl/halt and I wonder if I have some loop in my network or causing lag somehow. Just trying to brainstorm anything else this could be and settings I should check.

                I tried doing a packet capture while setting the results to "full" so I could get a detailed report while a file copy is occurring. There's a bunch of info thrown at me but nothing screams an error of any sort unfortunately.

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

                  Good news, I figured out the problem. Long story short after much testing, I came to the conclusion that the NIC port on my 4-port Intel card was faulty for the WiFi interface. Luckily, I had a spare 4-port spare card kicking around that I was able to replace in my router and verify this was the case. Definitely appreciate all the help I got on this thread from johnpoz and although my issue didn't immediately scream it was a hardware issue, hopefully this thread helps someone else down the line if they experience these same symptoms.

                  Thanks again all!

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

                    What is odd that is hardware is that your saying you were getting full speed to the internet using the same port..  That doesn't seem to make a lot of sense..

                    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

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

                      I was getting roughly 15 MB/s down and thought that was about normal for WiFi. However, I performed another speedtest with the new NIC card and was getting 50 MB/s (what I pay for essentially) on the WiFi. Kind of tricked me into thinking the interface port was working as it should have been for a 10/100 AP…

                      Either way, I'm just glad I had another card kicking around to quickly test this and verify a solution even though the hardware issue wasn't as prevalent as most others are.

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

                        "Took my laptop and plugged it directly into the WiFi port on my NIC. My results on speedtest were 6 ms ping - 54.82 MB/s Down - 52.27 MB/s Up. "

                        How does this show something wrong with the nic??  There your getting full speed of your internet are you not?

                        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

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

                          Hence why this wasn't obvious  :D

                          Below are my results of the original NIC card compared to the identical spare card:

                          Original Card Results

                          • Speedtest while plugged directly into pfsense router for WiFi: 50 MB/s up/down
                          • Speed of file transfers between subnet A to subnet B plugged into interface: 100-300 KB/s
                          • Speedtest over WiFi (TrendNet AP): 15 MB/s Down - 17 MB/s Up
                          • Speed of file transfers between subnet A to subnet B over WiFi: 100-300 KB/s

                          Spare Card Results

                          • Speedtest while plugged directly into pfsense router for WiFi: 50 MB/s up/down
                          • Speed of file transfers between subnet A to subnet B plugged into interface: 70-80 MB/s
                          • Speedtest over WiFi (TrendNet AP): 50 MB/s Down - 50 MB/s up/down
                          • Speed of file transfers between subnet A to subnet B over WiFi: 60-70 MB/s

                          No other settings were changed on pfsense as this was simply a card swap. It doesn't make much sense to me either why I was getting full speeds on that NIC port to the internet when plugged directly into the interface but for some reason it was having a difficult time sending/receiving traffic from two segmented subnets and the WiFi wasn't nearly as fast even for this old AP. Once I recorded my results with the spare card I chalked it up as a faulty NIC port. Maybe some engineer can come on here and give me an explanation why I saw such a drastic difference between the two identical cards but I'm happy it's all set now.

                          Hope that helps give you some clarification into my troubleshooting johnpoz

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