ID #1079

Ethernet - the parameters

 

work in progress


The main-switch



ethernet0.present = "true"

virtual Hardware 4 allows up to 4 virtual nics per VM

virtual Hardware 7 allows up to 10 virtual nics per VM
the silent default is "false" - so set this to "true" to enable one or more Ethernet cards


 

 

Setting the virtual device type


ethernet0.virtualDev = "vlance"
ethernet0.virtualDev = "vmxnet"
ethernet0.virtualDev = "e1000"
ethernet0.virtualDev = "vmxnet3"

 


 

 

Select the virtual switch or hub to which the device is connected


ethernet0.connectionType = "custom"
ethernet0.vnet = "vmnet0" - "vmnet9"
used on Windows

ethernet0.connectionType = "custom"
ethernet0.vnet = "/dev/vmnet0" - "/dev/vmnet99"
used on Linux

ethernet0.connectionType = "bridged"
ethernet0.connectionType = "hostonly"
ethernet0.connectionType = "nat"

used on all Windows and Linux platforms - only makes sense if the defaults have not been changed.
Using "bridged" is unreliable if two or more bridged vmnets are enabled.


ethernet0.connectionType = "monitor_dev"
ethernet0.networkName
ethernet0.devName

ethernet0.pvnID

 


 

 

Interaction with the vmware-tools


ethernet0.disableMorphToVmxnet = "false"
to prevent that the default "vlance" virtual Device changes into "vmxnet" after the vmware-tools have been installed set this to "true"
ethernet0.allowGuestConnectionControl = "true"
to prevent that a user disconnects a nic via the vmware-toolbox set this to "false"

 


 

 

Set the MAC-address



ethernet0.addressType = "static"
ethernet0.address = "00:50:56:3e:86:29"
this parameter are used for manually configured MAC addresses


ethernet0.addressType = "generated"

ethernet0.generatedAddress = "00:0c:29:40:7e:22"
ethernet0.generatedAddressOffset = "0"
this parameters will be automatically set if no static MAC is set

ethernet0.addressType = "vpx"



ethernet0.reassignMAConResume "true"
if a VM can not be resumed because the MAC it used when it was suspended currently is used by another VM set this to "false"


 

Promiscuos Mode


ethernet0.noPromisc = "false"
This disables - well have a guess - yes , this disables promiscous-mode.
On Linux hosts you must be root to set nics into promiscous mode


 

Wake-on-LAN

ethernet0.wakeOnPcktRcv = "false"
this feature does not work - so usually the value is "false"


 

Prevent spoofing


ethernet0.downWhenAddrMismatch = "true"
ethernet0.ignoreMACAddressConflict = "false"
ethernet0.noForgedSrcAddr = "true"
the two parameters here show the silent defaults.
To allow spoofed MACs change the values - otherwise skip the patameters.


 

Performance tuning


ethernet0.rxbw.limit
ethernet0.rxbw.queuesize
ethernet0.rxfi.droprate
ethernet0.rxfi.dropsize
ethernet0.txbw.limit
ethernet0.txbw.queuesize
ethernet0.txfi.droprate
ethernet0.txfi.dropsize


Advanced troubleshooting

 

 

ethernet0.bsdName
ethernet0.delayedInterruptThreshold
ethernet0.displayName
ethernet0.dvs.connectionId
ethernet0.dvs.portgroupId
ethernet0.dvs.portId
ethernet0.dvs.switchId
ethernet0.exclusive
ethernet0.features
ethernet0.forcedToBridged
ethernet0.interruptDelay
ethernet0.intrMode
ethernet0.linkStatePropagation.downDelay
ethernet0.linkStatePropagation.downHold
ethernet0.linkStatePropagation.enable
ethernet0.linkStatePropagation.upDelay
ethernet0.linkStatePropagation.upHold
ethernet0.noReceiveAfterSend
ethernet0.noUPT
ethernet0.numRecvBuffers
ethernet0.numXmitBuffers
ethernet0.wifi.enabled
ethernet0.yieldAfterSend
ethernet0.flashWriteable
ethernet0.opromsize
ethernet.e1000AVailable
ethernet.generatedAddress
ethernet.morphNICs
ethernet.perfMonInterval
ethernet.vlanceAVailable
ethernet0.preferPci0


Tags: ethernet, vmx

Related entries:

You can comment this FAQ