Thin Client and Virtual Machines Thread, VMWare ESX NIC Load Balancing problem in Technical; Hi Guys,
I have a small problem regarding VMWare and the load balancing of physical nics on my esx servers. ...
-
23rd May 2008, 10:54 AM #1
- Rep Power
- 16
-
-
IDG Tech News
-
27th May 2008, 07:17 AM #2 Hi JamesC,
Could you tell us which switch brand you are using, and could you post the config off those switch ports?
bio..
-
-
27th May 2008, 10:12 AM #3
- Rep Power
- 16

Originally Posted by
bio
Hi JamesC,
Could you tell us which switch brand you are using, and could you post the config off those switch ports?
bio..
Hi bio. Im using Dell powerconnect 5224 switches. I've been looking at this and it seems that the problem is that I am using 'Route based on the original virtual port ID' as the load balancing option on the virtual switch. The way I understand it is that I have to use 'Route based on ip hash'. Apparently this can cause switch problems unless the switches support 802.3ad link aggregation because packets could come appear to come from the same source, but be bound for different destinations. The switches I have appear to support 802.3ad.
Here's the config for the switch:
Code:
no spanning-tree
vlan database
vlan 2-3
exit
interface range ethernet g(1-5)
switchport access vlan 2
exit
interface range ethernet g(6-8)
switchport access vlan 3
exit
interface vlan 2
name iSCSI
exit
interface vlan 3
name VMotion
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
iscsi target port 860 address 0.0.0.0
iscsi target port 3260 address 0.0.0.0
interface vlan 1
ip address 192.1.1.24 255.255.255.0
exit
username admin password xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx level 15 encrypted
snmp-server community Dell_Network_Manager rw view DefaultSuper
-
-
28th May 2008, 07:59 AM #4 Hello JamesC,
You are on the right track indeed. When I read your thread i remembered the same problem that we had in our school network.
You're ESX settings should be:
Load Balancing : Route based on ip hash
Network Failover : Link Status Only
Notify switches : Yes
Failback : Yes
We use 3com switches but i think we can get it to work on your dell switches as well.
First a small piece from our switch:
Code:
interface GigabitEthernet2/0/28
stp edged-port enable
duplex full
speed 1000
port link-type trunk
port trunk permit vlan all
flow-control
broadcast-suppression pps 3000
undo enable snmp trap updown
port link-aggregation group 3
#
interface GigabitEthernet2/0/29
stp edged-port enable
duplex full
speed 1000
port link-type trunk
port trunk permit vlan all
flow-control
broadcast-suppression pps 3000
undo enable snmp trap updown
port link-aggregation group 3
#
When i look at your dell config it seems that you are NOT grouping port 9+10 and port 11+12 and 13+14
* You must create link-aggregation group (3com term) or channel-groups (Dell term) for these ports or you will never have load balancing.
* As you stated your dell switches support the 802.3ad link aggregation so no worries about that.
* Do not use LACP but config it manually
* Also force your switch ports on 1000MBS full duplex (no autodetection)
* you must enable jumbo frames on your switches
* you must enable STP edgeports on your switchports
Your config should look something like this on both switches:
Code:
no spanning-tree
jumbo frame
vlan database
vlan 2-3
exit
interface port-channel 1
exit
interface port-channel 2
exit
interface port-channel 3
exit
interface vlan 2
name iSCSI
exit
interface vlan 3
name VMotion
exit
interface vlan 4
name VMnetwork
exit
interface ethernet g 1/3
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 2
flowcontrol
exit
interface ethernet g 1/4
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 2
flowcontrol
exit
interface ethernet g 1/5
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 2
flowcontrol
exit
interface ethernet g 1/6
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 3
flowcontrol
exit
interface ethernet g 1/7
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 3
flowcontrol
exit
interface ethernet g 1/8
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 3
flowcontrol
exit
interface ethernet g 1/9
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 1
exit
interface ethernet g 1/10
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 1
exit
interface ethernet g 1/11
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 2
exit
interface ethernet g 1/12
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 2
exit
interface ethernet g 1/13
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 3
exit
interface ethernet g 1/14
spanning-tree edge-port
speed-duplex 1000full
no negotiation
switchport access vlan 4
flowcontrol
channel-group 3
exit
On the SAN side you'll have to check yourself (port 1-2-15) since i do not know your SAN that well.
Let me know how it work for you 
bio..
Last edited by bio; 28th May 2008 at 08:14 AM.
-
-
28th May 2008, 08:46 AM #5 I wasn't aware of esx supporting jumbo frames yet, although it might have been added in 3.5.
-
-
28th May 2008, 12:38 PM #6 
Originally Posted by
DMcCoy
I wasn't aware of esx supporting jumbo frames yet, although it might have been added in 3.5.
http://www.vmware.com/files/pdf/new_...res_3_5_v6.pdf
page 6 
bio..
-
-
5th August 2008, 04:36 PM #7 What if not all the device on that same vlan supports jumbo frames, could that cause problems?
When you say don’t use LACP do you mean don’t use dynamic LACP but manual instead?
-
-
7th April 2009, 02:32 PM #8
- Rep Power
- 0
Bio,
Question for you, we are using 3Com 5500g's in our environment and you are one of the only other people that I have found that are using 3Com. The settings that you posted from your congif, are those pointing to your IScsi san for load balancing or are those the settings for your VM operational network, or do you use those settings for both?
-
-
17th September 2010, 12:16 PM #9 Trunking is ok for the LAN only side.... however you shouldn't use it for your iSCSI traffic.
Have a look at this article for setting up iSCSI in VMWare.
A Multivendor Post on using iSCSI with VMware vSphere - Virtual Geek
-
SHARE: 
Similar Threads
-
Replies: 5
Last Post: 25th November 2009, 08:48 AM
-
By wesleyw in forum Thin Client and Virtual Machines
Replies: 8
Last Post: 6th November 2007, 04:20 PM
-
By Jonny_sims in forum Thin Client and Virtual Machines
Replies: 10
Last Post: 6th December 2006, 09:43 AM
-
By Teth in forum How do you do....it?
Replies: 6
Last Post: 1st November 2006, 04:49 PM
-
By browolf in forum How do you do....it?
Replies: 3
Last Post: 5th September 2005, 12:26 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules