Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

LAG between SG300 and Windows server on VMware ESXi 5.5

Hello,

I'm trying to setting up a LAG of 2 x 1GB between a Windows 2012 server on VMware 5.5 and a SG300-52 switch, but without any success till now.

The SG300 is configured as follow :


config-file-header
SG300-52
v1.4.0.88 / R800_NIK_1_4_194_194
CLI v1.0
set system mode router

file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
port jumbo-frame
vlan database
vlan 10,20,30,40,50,60,70,99
exit
voice vlan id 40
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______________
port-channel load-balance src-dst-mac-ip
ip dhcp pool network DHCP-VLAN1
address low 192.168.2.120 high 192.168.2.139 255.255.255.0
default-router 192.168.2.1
exit
ip dhcp pool network DHCP-Internal
address low 172.16.0.40 high 172.16.0.79 255.255.255.0
default-router 172.16.0.1
exit
ip dhcp pool network DHCP-Management
address low 10.0.0.120 high 10.0.0.139 255.255.255.0
default-router 10.0.0.1
exit
ip dhcp pool network DHCP-Phone
address low 10.0.2.80 high 10.0.2.99 255.255.255.0
default-router 10.0.2.1
exit
ip dhcp pool network DHCP-Pro
address low 10.0.1.140 high 10.0.1.199 255.255.255.0
default-router 10.0.1.1
exit
ip dhcp relay address 10.0.0.60
ip dhcp relay enable
ip dhcp information option
bonjour interface range vlan 1,10,20,30
qos trust cos
hostname SG300-52
username cisco password encrypted c464af817287343305cbd6493c593885695df531 privilege 15
ip ssh server
ip telnet server
!
interface vlan 1
 ip address 192.168.2.1 255.255.255.0
 no ip address dhcp
!
interface vlan 10
 name Management
 ip address 10.0.0.1 255.255.255.0
 ip dhcp relay enable
!
interface vlan 20
 name Pro
 ip address 10.0.1.1 255.255.255.0
 ip dhcp relay enable
!
interface vlan 30
 name Internal
 ip address 172.16.0.1 255.255.255.0
 ip dhcp relay enable
!
interface vlan 40
 name Phone
 ip address 10.0.2.1 255.255.255.0
 ip dhcp relay enable
!
interface vlan 50
 name TV
!
interface vlan 60
 name "Exchange DB Replication"
 ip address 10.0.100.1 255.255.255.0
!
interface vlan 70
 name Test
!
interface vlan 99
 name WAN
 ip address 192.168.0.2 255.255.255.224
!
interface gigabitethernet1
 switchport mode access
 switchport access vlan 10
!
interface gigabitethernet2
 switchport trunk allowed vlan add 10,30,40
 no cdp enable
!
interface gigabitethernet3
 switchport trunk allowed vlan add 20
!
interface gigabitethernet4
 switchport mode access
 switchport access vlan 60
!
interface gigabitethernet5
 switchport mode access
 switchport access vlan 10
!
interface gigabitethernet6
 switchport mode access
 switchport access vlan 20
!
interface gigabitethernet7
 switchport mode access
 switchport access vlan 20
!
interface gigabitethernet8
 switchport mode access
 switchport access vlan 30
!
interface gigabitethernet9
 switchport trunk allowed vlan add 10
!
interface gigabitethernet25
 switchport mode access
 switchport access vlan 10
!
interface gigabitethernet26
 channel-group 2 mode on
!
interface gigabitethernet27
 channel-group 2 mode on

!
interface gigabitethernet28
 switchport trunk native vlan 60
!
interface gigabitethernet29
 switchport mode access
 switchport access vlan 20
!
interface gigabitethernet30
 switchport mode access
 switchport access vlan 30
!
interface gigabitethernet32
 qos cos 5
 switchport mode access
 switchport access vlan 10
!
interface gigabitethernet45
 spanning-tree link-type point-to-point
 switchport mode access
 switchport access vlan 50
 macro description switch
 !next command is internal.
 macro auto smartport dynamic_type unknown
!
interface gigabitethernet46
 switchport mode access
 switchport access vlan 50
!
interface gigabitethernet47
 switchport mode access
 switchport access vlan 50
!
interface gigabitethernet48
 switchport mode access
 switchport access vlan 50
!
interface gigabitethernet49
 switchport mode access
 switchport access vlan 99
!
interface gigabitethernet51
 spanning-tree link-type point-to-point
 switchport trunk allowed vlan add 10,20,30,40,50,60,70,99
 macro description switch
 !next command is internal.
 macro auto smartport dynamic_type switch
!
interface Port-channel2
 description HBAIP-VM2
 switchport trunk allowed vlan add 10,20,30,40

!
exit
ip default-gateway 192.168.0.1
ip route 10.0.0.0 /24 192.168.0.1
ip route 10.0.1.0 /24 192.168.0.1
ip route 10.0.2.0 /24 192.168.0.1
ip route 172.16.0.0 /24 192.168.0.1

 

  • GE26 & GE27 have been added in LAG2
  • VLAN 1UP, 10T, 20T, 30T & 40T have joined the LAG
  • In VMware, a vswitch has been created, using the 2 NIC connected to the LAG; and a Virtual Machine Port Group has been created for each VLAN member of the LAG
  • In Windows 2012, the 4 Network adapters have been added (1 for each VLAN), but they cannot ping their gayeway
  • However, the interfaces receives correctly thei IP addresses (and options) from the DHCP server, via the DHCP relay of the SG300

 

I also following the configuration described in this link (http://it-erate.com/setting-lag-vmware-esxi-5-cisco-sg300/) but without any success.

 

Do you have any idea ?

Thanks in advance for your help.

1 REPLY
Cisco Employee

Please make sure the load

Please make sure the load balance mode in VMware is Route based on IP Hash.

The default value is virtual switch port ID, which cannot work together with port-channel in upstream switch, as explained in: 

http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf

"Note: If you select either srcPortID or srcMAC hash, you should
not configure the physical switch ports as any type of team or
bonded group."

490
Views
0
Helpful
1
Replies