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

    1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?

    Scheduled Pinned Locked Moved General pfSense Questions
    31 Posts 5 Posters 3.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.
    • S
      SteveITS Galactic Empire @girBot 0
      last edited by

      I regularly see posts here advising people to avoid Realtek due to the FreeBSD drivers.

      Have you tried changing patch cables, or setting the LAN port (on pfSense or switch) to Gigabit?

      I'm assuming you haven't set up traffic shaping or limiters.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      G 1 Reply Last reply Reply Quote 0
      • G
        girBot 0 @SteveITS
        last edited by

        @teamits the switch comes after pfsense, so the 10gbs is auto sensing fine but is also set on the switch.
        The 1Gbs to the Modem is direct. I don't see any specifc place in pfSense UI to set the speed of that interface though?

        S kiokomanK 2 Replies Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @girBot 0
          last edited by

          Interfaces->LAN has a "Speed and Duplex" dropdown, at least on the one I looked at. My thought was to set down the 10 Gbit as a test just because that speed is less common? That's just a vague guess though. Long ago I ran into that the other way, where a NIC wouldn't work well at 100 Mbit because (I assume) no one was testing the driver at that speed (in Windows, IIRC).

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          G 1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8 @girBot 0
            last edited by

            @girbot-0
            did you disable Hardware Checksum Offloading , Hardware TCP Segmentation Offloading, Hardware Large Receive Offloading ? -> System / Advanced / Networking
            also there is an official update for realtek driver

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            G 1 Reply Last reply Reply Quote 0
            • G
              girBot 0 @SteveITS
              last edited by

              @teamits said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

              Interfaces->LAN has a "Speed and Duplex" dropdown, at least on the one I looked at. My thought was to set down the 10 Gbit as a test just because that speed is less common? That's just a vague guess though. Long ago I ran into that the other way, where a NIC wouldn't work well at 100 Mbit because (I assume) no one was testing the driver at that speed (in Windows, IIRC).

              Yeah I have the speed and duplex in LAN as well. Unfortunately... well fortunately my LAN side is fine.
              No speed settings in WAN though.

              1 Reply Last reply Reply Quote 0
              • G
                girBot 0 @kiokoman
                last edited by girBot 0

                @kiokoman said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

                @girbot-0
                did you disable Hardware Checksum Offloading , Hardware TCP Segmentation Offloading, Hardware Large Receive Offloading ? -> System / Advanced / Networking
                also there is an official update for realtek driver

                Just tried that on your suggestion. Not sure if I need to reboot the router? but i did a couple speed tests. Slightly worse now.

                Testing download speed................................................................................
                Download: 27.81 Mbit/s
                Testing upload speed......................................................................................................
                Upload: 83.20 Mbit/s

                I'd prefer to use the onboard NIC (the realtek one). The issue I mentioned with that was only last week though. Would I need to install anything separate to "fix" it? The reason I say that is cuz I just did a "lspci" and pfSense isnt even showing the pcie 1gbs nic... which is odd.

                pfSense sees it as interface "ue0" but thats not showing up in the devices...

                6fbf1801-0e32-4b57-82cf-61b642f14dd7-image.png

                kiokomanK 1 Reply Last reply Reply Quote 0
                • kiokomanK
                  kiokoman LAYER 8 @girBot 0
                  last edited by kiokoman

                  @girbot-0

                  disable all that stuff, from console:

                  pkg add https://pkg.FreeBSD.org/FreeBSD:11:amd64/latest/All/realtek-re-kmod-v196.04_2.txz
                  echo 'if_re_load="YES"' >> /boot/loader.conf.local
                  

                  reboot

                  check the boot logs for:

                  re0: version:1.96.04
                  

                  also you should do a speed test from a pc on your lan, not from pfsense itself
                  pfsense is optimized as a router, not as a client

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  G 2 Replies Last reply Reply Quote 0
                  • G
                    girBot 0 @kiokoman
                    last edited by

                    @kiokoman

                    Not sure if im doing this wrong.. the pkg add command gave a mismatch error due to version. I said yes and it seemed to proceed.
                    34bd2aa5-372b-45b4-9d34-1baa6ca37805-image.png

                    But I don't see anything in the log regarding a version?

                    09bf1011-7d3d-45d7-8ebb-c9c1b607a356-image.png

                    kiokomanK 1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8 @girBot 0
                      last edited by

                      @girbot-0
                      you forgot

                      echo 'if_re_load="YES"' >> /boot/loader.conf.local
                      

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      G 2 Replies Last reply Reply Quote 0
                      • G
                        girBot 0 @kiokoman
                        last edited by

                        @kiokoman said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

                        @girbot-0

                        also you should do a speed test from a pc on your lan, not from pfsense itself
                        pfsense is optimized as a router, not as a client

                        I've done it from both.
                        I just wanted to confirm it wasn't the switch causing the slow down initially, which comes after pfSense.

                        This is from my workstation which is wired:

                        d38ed3f2-5ec0-421d-b633-3c23c5e6c116-image.png

                        1 Reply Last reply Reply Quote 0
                        • G
                          girBot 0 @kiokoman
                          last edited by

                          @kiokoman said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

                          @girbot-0
                          you forgot

                          echo 'if_re_load="YES"' >> /boot/loader.conf.local
                          

                          ahh.. well anyway

                          Ignore the mismatch and continue? [y/N]: y
                          the most recent version of realtek-re-kmod-v196.04_2 is already installed

                          so I guess that confirms it.

                          let me switch WAN over to that interface and see what happens

                          1 Reply Last reply Reply Quote 0
                          • G
                            girBot 0 @kiokoman
                            last edited by girBot 0

                            @kiokoman

                            Looks like same issue I had last week.

                            Says its up (its a static WAN ip) but thinks gateway is down. I tried last week to disable gateway monitoring. Same issue though. Its at least recognizing the speed of that realtek card now for WAN.

                            b2cb9768-2425-45a2-9871-3475ddd1cf19-image.png

                            kiokomanK 1 Reply Last reply Reply Quote 0
                            • kiokomanK
                              kiokoman LAYER 8 @girBot 0
                              last edited by

                              @girbot-0
                              i don''t understant
                              do you have if_re_load="YES" inside /boot/loader.conf.local ?
                              do you have re0: version:1.96.04 on the boot logs now?
                              if not, you are not loading the driver at boot

                              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                              Please do not use chat/PM to ask for help
                              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                              G 2 Replies Last reply Reply Quote 0
                              • G
                                girBot 0 @kiokoman
                                last edited by

                                @kiokoman said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

                                /boot/loader.conf.local

                                sry sry.. not trying to confuse.

                                Still nothing in the log mentioning a version :(

                                06470f9f-5c67-4ab4-b692-f30de17fae6f-image.png

                                kiokomanK 1 Reply Last reply Reply Quote 0
                                • G
                                  girBot 0 @kiokoman
                                  last edited by

                                  @kiokoman

                                  I added this second line as well just to see if it would help since it mentioned to add it during the install of the driver

                                  6a972712-395e-406c-8baf-9fc7b7de983d-image.png

                                  didnt seem to help though.

                                  1 Reply Last reply Reply Quote 0
                                  • kiokomanK
                                    kiokoman LAYER 8 @girBot 0
                                    last edited by kiokoman

                                    @girbot-0
                                    ok it's not loading for me also

                                    KLD if_re.ko: depends on kernel - not available or version mismatch
                                    

                                    let me check..

                                    https://drive.google.com/file/d/15lsDnnCz0C9rD9qIsmT0JeniFsSxgxTR/view
                                    this one should load

                                    pkg delete realtek-re-kmod
                                    

                                    copy the if_re.ko inside /boot/modules
                                    reboot
                                    and check for
                                    re0: version:1.96.04

                                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                    Please do not use chat/PM to ask for help
                                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                    G 1 Reply Last reply Reply Quote 1
                                    • G
                                      girBot 0 @kiokoman
                                      last edited by

                                      @kiokoman

                                      Some success....
                                      3d07e3c1-277f-43ab-bdbf-2eb9908487eb-image.png

                                      but for some reason when using THIS NIC:

                                      f5ba833a-1d19-4a84-b7aa-c43d86454ac1-image.png

                                      Using the other one just works..

                                      kiokomanK 1 Reply Last reply Reply Quote 0
                                      • kiokomanK
                                        kiokoman LAYER 8 @girBot 0
                                        last edited by

                                        @girbot-0
                                        ok, does internet works even if it say gateway offline?
                                        speedtest?

                                        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                        Please do not use chat/PM to ask for help
                                        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                        G 3 Replies Last reply Reply Quote 0
                                        • G
                                          girBot 0 @kiokoman
                                          last edited by

                                          @kiokoman said in 1Gbps from Modem to PC, capped at 30-40Mbps through pfSense?:

                                          @girbot-0
                                          ok, does internet works even if it say gateway offline?
                                          speedtest?

                                          sorry, shoulda been clearer. no inet. :(
                                          it actually cant reach the GW... see below.

                                          I'll swap the cable back and the interface back to the pcie card, just as a sanity check and change no settings. to see if that comes up still.

                                          dd11fb3b-79b0-4675-ab64-1bf5aecfe9f8-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            girBot 0 @kiokoman
                                            last edited by girBot 0

                                            @kiokoman

                                            Yah.
                                            Switched back to the other pcie card (which pfsense doesnt seem to know anything about other than ue0). and it works. No changes to config

                                            but speed is crap again.

                                            Testing download speed................................................................................
                                            Download: 32.88 Mbit/s
                                            Testing upload speed......................................................................................................
                                            Upload: 120.32 Mbit/s

                                            I don't understand why switching to the Realtek NIC would cause this.

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