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

    iperf3: Slower transfer speeds between VLANs vs same VLAN

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    30 Posts 4 Posters 4.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.
    • JKnottJ
      JKnott @simon_lefisch
      last edited by JKnott

      @simon_lefisch

      Now try with them on different interfaces.

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

      S 1 Reply Last reply Reply Quote 0
      • S
        simon_lefisch @JKnott
        last edited by

        @JKnott Yes now it's closer to Gb speed being on the same VLAN.

        Screen Shot 2020-04-22 at 12.37.41 PM.png

        JKnottJ 1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @simon_lefisch
          last edited by

          @simon_lefisch

          That is what I suspected. When you're using VLANs, the same wire is used twice, which limits throughput.

          While you were doing that, I did an experiment of my own. I ran speedtest, as I frequently do. Here are my results. This is on a 75 Mb down/10 up connection. As you can see, pfSense isn't causing much of a slow down. ๐Ÿ˜‰

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

          S 1 Reply Last reply Reply Quote 0
          • S
            simon_lefisch @JKnott
            last edited by

            @JKnott Well it l sounds like I'll have to look into setting up inter-vlan routing on my switch. I've never set it up this device before so that will be a project I can look into doing. Wonder how this will effect vlan routing with my VMs that are using OVS....woohoo, new things to test out! ๐Ÿ˜

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @simon_lefisch
              last edited by

              @simon_lefisch said in iperf3: Slower transfer speeds between VLANs vs same VLAN:

              ell it l sounds like I'll have to look into setting up inter-vlan routing on my switch

              You will have the same issue. It's not pfSense causing this, it's using VLANs to connect VMs on the same computer. When you do that, all the traffic has to go out to the router or L3 switch and then back again over the same wire. This was demonstrated when you got better performance with a different interface.

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

              S 1 Reply Last reply Reply Quote 0
              • S
                simon_lefisch @JKnott
                last edited by

                @JKnott so what about using dedicated interfaces for each LAN? I would still have to segment on the switch using VLANS, but if I ran each LAN on it's own interface and enabled inter-vlan routing on the switch, would that yield better transfer speeds between VLANs? I would think not since it won't be traveling down the same wire.

                JKnottJ 1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @simon_lefisch
                  last edited by

                  @simon_lefisch

                  You have to decide what it is you're trying to do. Are you really worried about the performance between VMs in the same computer? That's not the way multiple VMs are normally used, but as long as you do that, you will not get best performance and it doesn't make much difference whether pfsense or a L3 switch is used to route between the VLANs.

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    simon_lefisch @JKnott
                    last edited by simon_lefisch

                    @JKnott I'm not worried about speed between the VMs. It's the speed between the VMs and the other physical devices on the LAN/WLAN.

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @simon_lefisch
                      last edited by

                      @simon_lefisch

                      Then you should be OK.

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

                      S 1 Reply Last reply Reply Quote 1
                      • S
                        simon_lefisch @JKnott
                        last edited by

                        @JKnott cool, thanks for your insight. I'll experiment when I have some time to bring my network down and set everything up.

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