Link to home
Start Free TrialLog in
Avatar of cegepdematane
cegepdemataneFlag for Canada

asked on

ESX, load-balance and Cisco Switch

I can't seem to get load-balance with my ESX 4 and my Cisco Switch (monitor with esxtop and zenoss)

ESX is Route based on ip hash
on the vSwitch and on the VM

We got a cisco switch 4507 with supervisor 6

Here is the config

port-channel load-balance src-dst-ip

interface Port-channel2
 switchport
 switchport mode trunk
 switchport nonegotiate
 spanning-tree portfast
!

interface GigabitEthernet2/9
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode on

interface GigabitEthernet2/18
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode on

Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

For load aggregation you will need to setup etherchannel.  This provide inbount/outbound load aggregation.  Just keep in mind that if you're using iSCSI for instance you will not get more than 1GB of bandwidth until you setup multiple vmkernel ports since it will max at 1GB per session.


There are several items for "load balancing"

1.  failover
2.  link aggregation
3.  load balancing

These are 3 different aspects so keep that in mind.  In a teamed vswitch the VMs will be distributed between the physical nics, in a round robin type of fashion to use one of the nics as primary and in case that nic dies the other one will take over, bascially failover.  Etherchannel is link aggregation.

I am not a Cisco Expert but just need to confirm whether you have configured ether-channel at the physical switch level.
Avatar of cegepdematane

ASKER

We want balance of the charge to my two nics

etherchannel is configured in line below ??

port-channel load-balance src-dst-ip

interface Port-channel2
 switchport
 switchport mode trunk
 switchport nonegotiate
 spanning-tree portfast
!

interface GigabitEthernet2/9
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode on

interface GigabitEthernet2/18
 switchport mode trunk
 switchport nonegotiate
 channel-group 2 mode on
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial