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

    Jumbo frame problem with ESXi 5.5 and vmxnet3 driver

    Scheduled Pinned Locked Moved Virtualization
    26 Posts 5 Posters 10.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      well that might be an issue..  did you install the open vmware tools, ie the package or the actual tools from vmware?

      I am running the actual tools from vmware for the driver of vmxnet3

      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
      • I
        ivanhoek
        last edited by

        Yes, I had openVMtools from the Pfsense package repository.

        I've just reworked my setup and I'm now running native Vmtools from VMware as well, and using vmxnet3. Same exact results:

        vmx3f2: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 9000
                options=403bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso>ether redacted
                inet redacted netmask 0xffffff00 broadcast redacted
                inet6 redacted prefixlen 64
                inet6 fe80::1:1%vmx3f2 prefixlen 64 scopeid 0x3
                nd6 options=1 <performnud>media: Ethernet 10Gbase-T
                status: active

        [2.1.4-RELEASE][root@pfsense]/root(10): route get redacted
          route to: redacted
        destination: redacted
              mask: 255.255.255.0
          interface: vmx3f2
              flags: <up,done>recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
              0        0        0        0      1500        1        0

        The host (a VM on the same host on another NIC) I'm issuing route get against is configured for MTU of 9000 and can use that MTU when communicating with my NAS.</up,done></performnud></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso></up,broadcast,running,promisc,simplex,multicast>

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          FreeBSD 8.3 has an issue where changing the MTU doesn't update the MTU of any of the affected routes until you either manually change it, or reboot the system.

          1 Reply Last reply Reply Quote 0
          • I
            ivanhoek
            last edited by

            Okay,

            That's good to know. I have rebooted though, I even rebooted the entire VM host to be sure with no change..

            How do I manually change the MTU for a route? Will that change stick through reboots?

            1 Reply Last reply Reply Quote 0
            • I
              ivanhoek
              last edited by

              Well, new quirk.. If I try to set lower values on the GUI, the actually take properly.

              So if I set the MTU to be 2000, it works.
              If I set it to be 8000, it works.
              If I set it to be 8999, it works.

              However, if I set it to be 9000, it won't take and the previous value is preserved.

              1 Reply Last reply Reply Quote 0
              • I
                ivanhoek
                last edited by

                Well, nevermind that.. if I reboot then the MTU for the route goes back to 1500, yet the interface is set to 8000 (for example).

                I give up. There's clearly something wrong, but I can't figure out what or how to fix it permanently.

                I'll try again on a future release.

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

                  before you were not even using vmx interface you were on em

                  interface: em1

                  So that would explain why no jumbo_mtu listed for the interface.

                  I have not had to reboot anything to get this working.  You running 32 or 64 bit pfsense?

                  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
                  • I
                    ivanhoek
                    last edited by

                    It's 64 bit Pfsense. What could explain the behavior I saw where only the 9000 value for MTU won't take? Any other value works.. at least until I reboot, and then it doesn't.

                    In all cases the MTU is set on the interface, but the routes are not flagged with the appropriate MTU when it's set to 9000 or after rebooting if set to another value.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmb
                      last edited by

                      I think there are multiple issues at play here. FreeBSD 8.3 has issues in not updating the MTU on routes in jumbo frame scenarios at times, potentially both for the link routes and any associated static routes. Scripting a "route change x.x.x.x/x -mtu 9000" at boot time for all required routes is a suitable workaround where you encounter that and the NIC driver properly handles jumbo frames. vmxnet on 8.3 just doesn't work with jumbo frames from what I've seen. Similar for Broadcom NICs, though those are very reliable and well-performing NICs, in 8.3 they don't work with jumbo frames (an oddity of the hardware that wasn't properly accommodated in the driver at that time, it's since been fixed). These issues have all already been confirmed fixed in FreeBSD 10 and hence 2.2.

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

                        "vmxnet on 8.3 just doesn't work with jumbo frames"

                        Looks to be working to me - what driver did you test with?  I don't really see a need for jumbo in my home network.  It would just complicate the connections and not all devices support them.  I could always segment out even more and put my non jumbo on their own segment, etc.  Seems kind of pointless for what I am doing.

                        As you can see from thread I was able to ping at the full mtu - but be happy to do some other testing to validate its working.

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