cegepdematane
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
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
I am not a Cisco Expert but just need to confirm whether you have configured ether-channel at the physical switch level.
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.