Change duplex setting on vSphere Service Console

During a training a student accidentally changed the duplex setting of the vmnic for the service console to fixed 1000Mbit full duplex. This isn’t so bad, if the vmnic wasn’t on a 100Mbit switch!

So I had to go to the service console to change the duplex setting back to auto.
I expected to use the esxcfg-vswif command. But with this command you cannot change the duplex setting. After some investigation I discovered to use normal Linux command like ethtool.

To see the current settings:

ethtool vmnic1

To change the settings to 1000Mbit full duplex:

ethtool -s vmnic1 autoneg off
ethtool -s vmnic 1 speed 1000 duplex full

To change it backup again to auto:

ethtool -s vmnic1 autoneg on

2 comments to Change duplex setting on vSphere Service Console

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>