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

    MTU Settings

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 3 Posters 23.5k 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.
    • J
      Jawhead @stephenw10
      last edited by

      @stephenw10 hi Steve here's the output;
      ad4b2e39-4447-440b-a3de-546452e03fec-image.png

      I also notice that I can't manually assign the MTU ex. 1500, here's the error when I tried;
      e8af9167-cd56-4dad-8de3-d7e9c29b110a-image.png

      1 Reply Last reply Reply Quote 0
      • J
        Jawhead @JKnott
        last edited by

        @JKnott Hi JKnott thank you, My problem now I can't assign specific MTU for each Interface. :( I don't know where am I missing.

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

          Becasue the MTU of lagg0 is 1400. VLANs on it cannot have a larger MTU.

          You can't set separate MTU values. Everything on lagg0 will have the same MTU as lagg0.

          Steve

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

            @Jawhead said in MTU Settings:

            @JKnott Hi JKnott thank you, My problem now I can't assign specific MTU for each Interface. :( I don't know where am I missing.

            Are you talking about VLANs or separate interfaces? I just tried on a couple of interfaces and it worked correctly. However, I expect VLANs would be determined by the physical interface. I just tried setting the MTU of a VLAN larger than the physical interface and got the same error as above. However, it doesn't seem to mind a smaller MTU on the VLAN. If you really do need to have different size MTUs, perhaps you can work around this by making VLAN the interface with the smaller MTU.

            I expect setting the MTU on the physical interface sets a value in the NIC that the VLANs have to live with.

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

            J 1 Reply Last reply Reply Quote 0
            • J
              Jawhead @stephenw10
              last edited by

              @stephenw10 Hi Steve that happened when I put a 1400 MTU on Port 3, I have a workaround here [1] Delete the 1400 MTU on Port 3, then for All Interfaces, I will manually enter the default MTU value of 1500, [2] On Port 3 I will put 1400 MTU.
              Do think It will work? since the parent, MTU is Larger than 1400?

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

                @JKnott Hi JKnott all those 1-8 interfaces of our appliance is under LAGG0 and each Interface has the VLAN tagged.

                I also have a LAGG1 bonded interface of ix0 and ix1 10GB SFP+ each, on the previews version of pfSense before the release of 2.4.4_p2 I can put 9000 MTU but now I'm getting the error of "The MTU of a VLAN cannot be greater than that of its parent interface." which is the default is 1500 as you can see in the image on my previews comment.

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

                  @Jawhead said in MTU Settings:

                  On Port 3 I will put 1400 MTU.
                  Do think It will work? since the parent, MTU is Larger than 1400?

                  Give it a try and see what happens. Once it's enabled, you can ping with various size packets to ensure the lower MTU is working.

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

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

                    @Jawhead said in MTU Settings:

                    @JKnott Hi JKnott all those 1-8 interfaces of our appliance is under LAGG0 and each Interface has the VLAN tagged.

                    I also have a LAGG1 bonded interface of ix0 and ix1 10GB SFP+ each, on the previews version of pfSense before the release of 2.4.4_p2 I can put 9000 MTU but now I'm getting the error of "The MTU of a VLAN cannot be greater than that of its parent interface." which is the default is 1500 as you can see in the image on my previews comment.

                    Well, that's pretty much what we've been saying, a VLAN cannot use a larger MTU than the parent.

                    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 0
                    • J
                      Jawhead @JKnott
                      last edited by Jawhead

                      @JKnott Hi It's not working, the MTU I set on port 3 is 1400, but when I check on Status-->Interfaces It's still 1500. Take note I rebooted the firewall after changing the MTU.

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

                        @Jawhead said in MTU Settings:

                        @JKnott Hi It's not working, the MTU I set on port 3 is 1400, but when I check on Status-->Interfaces It's still 1500. Take note I rebooted the firewall after changing the MTU.

                        I expect that's due to the MTU being set on the NIC, not in FreeBSD. If so, you're trying to set the same hardware to different MTU. I don't know enough about the network stack to say for certain.

                        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 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.