CoNetrix Blog

Installing Jumbo Frames Support on VMware vSphere v4

Posted on August 12, 2009 10:11 PM

I have been working on VMware vSphere v4 for the last few days and have found that enabling jumbo frames support is not as intuitive as the admin guide makes it sound. The process goes something like this.

  1. Enable jumbo frame support on iSCSI SAN (MSA 2012i)
  2. Enable jumbo frame support on switch (a Linksys business class in this case)

Both of these are very straight forward and simple to do, but here is where it gets a little tricky. vSphere v4 jumbo frame support for the iSCSI network must be enabled with the CLI. Two things must be done. You must enable jumbo frames on the vSwitch and then able it on the VMkernel port/ports. The command to enable JF enable on the vSwitch looks like this:

esxcfg-vswitch -m <MTU> <vSwitch>

In my case, I wanted a 9000 MTU (9KB) for vSwitch1, so it was ‘esxcfg-vswitch -m 9000 vSwitch1’ . All good so far. Now, I needed to JF enable the VMkernel port. Admin guide says this is the command

esxcfg-vmknic -a -I <ip address> -n <netmask> -m <MTU> <port group name>

So my command looked something like this esxcfg-vmknic -a -I 192.168.155.21 -n 255.255.255.0 -m 9000 “iSCSI VMkernel”

When I ran this command, it said that this port group didn’t exist. Exactly…that is why I am running this command…to create the VMkernel port and associated port group. After MUCH troubleshooting, I finally found that the following sequence WILL work. It must have something to do with the way the port groups and their associated identifiers are created.

  1. Create the VMkernel port in the vi client (GUI)
  2. Remove the VMkernel port from the CLI with this command esxcfg-vmknic –d “iSCSI VMkernl”
  3. Recreate the same VMkernel you just deleted with JF enabled esxcfg-vmknic -a -I 192.168.155.21 -n 255.255.255.0 -m 9000 “iSCSI VMkernel”

 

Related Posts

Comments

Comment by Simon Shaw

September 29, 2009 9:31 PM

I think the command to enable JF on the switch should be:
esxcfg-vswitch -m 9000 [Switch Name]
not
vicfg....

Comment by Adam Swinehart

October 21, 2009 7:39 AM

"Here's how I got it to work. My switch is vSwitch1 and my kernal port is VM-iSCSI"

esxcfg-vswitch -m 9000 vSwitch1

"** Delete the VMKernal port from the GUI"

esxcfg-vswitch -A "VM-iSCSI" vSwitch1

esxcfg-vmknic -a "VM-iSCSI" -i 192.168.1.49 -n 255.255.255.0 -m 9000

Comment by itknowledgeexchange.techtarget.com

March 31, 2010 5:36 PM

Pingback from itknowledgeexchange.techtarget.com

Jumbo frames and virtualization - The musings of an IT Consultant

Comment by 291.jordanbrandallamerican.com

May 20, 2010 1:06 PM

Pingback from 291.jordanbrandallamerican.com

Cl600 Sale Mercedes Benz Cl550, C63 Radiator Cl55 Amg

Comment by Joshua Stenhouse

June 16, 2010 6:41 AM

Thank you so much, I was struggling with how to set the MTU on the dvport group as it said it was already there. Followed your 3 steps and it worked. Why they couldn't just put an MTU setting in the gui for both the vswitch and port group I will never know!

Add Comment





[b][/b] - [i][/i] - [u][/u]- [quote][/quote]