10 GBit NIC passed as 1 GBit to TrueNAS VM in VMWare Workstation

Joined
Sep 23, 2022
Messages
2
I've got a server running Lubuntu and I have VMWare Workstation installed there.
I've installed TrueNAS Core as a VM and using Virtual Network Editor specified that 10 GBit NIC should be used for bridging.

Running ethtool on host:
Code:
lubuntu@lubuntu:~$ sudo ethtool enp1s0
Settings for enp1s0:
        Supported ports: [ TP ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
                                2500baseT/Full
                                5000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
                                2500baseT/Full
                                5000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 10000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: Unknown
        Supports Wake-on: pg
        Wake-on: g
        Current message level: 0x00000005 (5)
                               drv link
        Link detected: yes


Running ifconfig in VM:
Code:
root@truenas[~]# ifconfig
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: em0
        options=481009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER,NOMAP>
        ether 00:0c:29:34:ec:d7
        inet 10.1.0.41 netmask 0xffffff00 broadcast 10.1.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>


I'm using outdated RAID cards that don't properly passthrough to Lubuntu if using ESXi (+ these cards are not supported by ESXi, so just passing the disks to VM is also a no-go), and the disks on these RAID cards use ext4 so I can't just install TrueNAS bare metal. I will not reformat them to ZFS because it will take very long time.
That's why I'm stuck with Type 2 Hypervisor and need to understand why my VM only uses 1 GBit instead of 10 GBit.\

Any help appreciated.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
VMware Workstation is not a supported hypervisor and is likely to lead to a catastrophic failure.

Virtual network cards in VMware environments may be configured as an emulated E1000 or E1000E, or a VMXNET3. This does not mean anything about the speed supported. It is fully expected that a 10 gig physical interface bridged to your VM would be presented as an E1000/E1000E, but this does not limit the speed of the device to 1Gbps. In other words, you're obsessing about the wrong thing. The em0 interface, look at its MAC address. It's a figment of the hypervisor's imagined network.

You really need to figure out how to get ESXi working rather than VMware Workstation. Refer to the forum virtualization guide:

 
Top