Ethtool on VMWare

ethtoolvmware-esx

I'm trying to determine the speed of my ethernet uplinks using ethtool on my VM (a VMware ESX Server).

Running the command gives the following output:

~> ethtool eth0
Settings for eth0:
    Current message level: 0x00000007 (7)
    Link detected: yes

This obviously doesn't contain the information I'm looking for, that would be displayed on a non-VM machine. Is it possible to use this command to determine uplink speed on VMWare VMs?

Thanks,
Paul

Best Answer

That looks like you used the "flexible" adapter type in the VM configuration, which looks like the AMD PCnet32 ethernet controller which uses the pcnet32 driver. If you create your VM with a different adapter type, e.g. e1000, you will get the e1000 driver which will give you more useful ethtool output.