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

    Why not same speed on LAN vs OPT (SG-1100)?

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 4 Posters 1.2k Views 6 Watching
    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 Offline
      johnpoz LAYER 8 Global Moderator @neo4070
      last edited by

      @neo4070 said in Why not same speed on LAN vs OPT (SG-1100)?:

      via a GB-Switch in between.

      So need to figure out why pfsense is only seeing 100mb connection first thing. A mismatch can cause speeds to be horrible..

      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

      N 1 Reply Last reply Reply Quote 1
      • N Offline
        neo4070 @johnpoz
        last edited by

        @johnpoz I agree - but how to do that? Now selected auto.

        When I try to force 1000 it seems to stop answering... :-(

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

          @neo4070 have you tried using known good cable that works gig on say your opt port?

          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

          N 1 Reply Last reply Reply Quote 1
          • N Offline
            neo4070 @johnpoz
            last edited by

            @johnpoz Two different cables - but will try more thoroughly with yet more cable. Perhaps the one that gives 1000 on OPT today :-)

            Cannot test now - so will need to get back with result/feedback later. Thanks so far :-)

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

              @neo4070 said in Why not same speed on LAN vs OPT (SG-1100)?:

              Perhaps the one that gives 1000 on OPT today

              yeah that is known good - so that would be a good test.. Possible something wrong with the port, bent pin or something?

              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 1
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Yeah, it's negotiating to 100M for a reason there. Something is not as it should be in that link.

                1 Reply Last reply Reply Quote 1
                • N Offline
                  neo4070
                  last edited by neo4070

                  So, it seems to be a cable problem :-( I've clamped the cable myself (as many others without any issues before) - after pulling it up and down inside electric pipes in my walls... Also tested it earlier with a network cable tester successfully. But that is not the same as testing the speed... (I knew but now also experienced)

                  So, I tried with another cable and got the following results

                  iperf3.exe -c <pfsense-ip> --parallel 10 --reverse
                  [SUM]   0.00-10.00  sec   781 MBytes   655 Mbits/sec    0             sender
                  [SUM]   0.00-10.00  sec   781 MBytes   655 Mbits/sec                  receiver
                  
                  iperf3.exe -c <pfsense-ip> --parallel 10 
                  [SUM]   0.00-10.00  sec   502 MBytes   421 Mbits/sec                  sender
                  [SUM]   0.00-10.00  sec   501 MBytes   420 Mbits/sec                  receiver
                  
                  

                  Also saw that my pfsense negotiated this temporary cable with "1000baseT <full-duplex>"

                  I took a chance and cut one end of the old CAT6 cat. cable and clamped it again. Now getting higher speed, but still not GB-class

                  iperf3.exe -c <pfsense-ip> --parallel 10 --reverse
                  ...
                  [SUM]   0.00-10.00  sec   103 MBytes  86.5 Mbits/sec                  sender
                  [SUM]   0.00-10.00  sec   103 MBytes  86.0 Mbits/sec                  receiver
                  iperf3.exe -c <pfsense-ip> --parallel 10 
                  ...
                  [SUM]   0.00-10.01  sec   110 MBytes  92.5 Mbits/sec                  sender
                  [SUM]   0.00-10.01  sec   109 MBytes  91.1 Mbits/sec                  receiver
                  CPU Utilization: local/receiver 41.4% (22.0%u/19.4%s), remote/sender 19.1% (2.0%u/17.1%s)
                  

                  The indication is now on "100baseT <full-duplex>" instead of 1000 :-(

                  So - question:

                  I took a chance on re-clamping one end. Did not help, as written above. Will try with the other end as well. Of course it could be a problem with the cable itself (in the wall for ex) - but I really, really don't want to re-draw the cable in my walls, to the loft and back down again...
                  I have clamped approx 12-15 network cables but this is the first time I've experienced throughput issues. Any expert tips - except being very careful when using the crimp tool and straitening the small wires?

                  How can pfsense so quickly "detect"/negotiate it to being 100 instead of 1000? I've tested it with my network cable tester and all wires in correct place. Something is wrong with this cable. And even if I get approx 100 MBits/s now - I still want to be able to understand what is wrong with it and if I can "trust" it...

                  (Out of scope for pfsense now - but perhaps people with good experience in this area :-) )

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

                    What is the other end connected to?

                    The most likely reason for this is that at least one wire is damaged so you do not all 4 pairs connected. Some NICs can detect that and, since Gigabit requires all 4 pairs, remove 1000 from the negotiation options. The SG-1100 ports do not do that however, so if that's what's happening it's the device at the other end doing it.

                    Steve

                    1 Reply Last reply Reply Quote 1
                    • N Offline
                      neo4070
                      last edited by

                      @stephenw10 Aaargh.. just wrote a long answer to describe that I still don't understand the problem. But - then I took yet another look at the end that I haven't tried to redo yet - and finally realized that this in fact was wrong.
                      I did mix up the blue/white and green/white wire on this end. But not only that - I did the same in both ends earlier.

                      Embarrasing... and I should have seen this earlier. I guess I trusted the network cable tester to much (but it does not match the colors - only connection). My bad :-(
                      ("Have you checked the cable..."? "Yes, of course..." Ooops)

                      So sorry for taking/wasting your time - but thanks for your feedback everyone!

                      1 Reply Last reply Reply Quote 1
                      • JKnottJ Offline
                        JKnott @neo4070
                        last edited by

                        @neo4070 said in Why not same speed on LAN vs OPT (SG-1100)?:

                        How can pfsense so quickly "detect"/negotiate it to being 100 instead of 1000? I've tested it with my network cable tester and all wires in correct place. Something is wrong with this cable. And even if I get approx 100 MBits/s now - I still want to be able to understand what is wrong with it and if I can "trust" it...

                        Pfsense doesn't do that, the NIC does. If that's a simple continuity tester, it may show it's correctly wired, but not other issues, such as crosstalk. Anyway, it's easy enough to try another cable.

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

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