VMware Cloud Community
tdubb123
Expert
Expert

lacp port-channel not working

I am tryign to setup a etherchannel between a 2 port blade and a cisco switch with following config

interface GigabitEthernet2/2

switchport

switchport acesss vlan 232

channel-group 1 mode on

interface GigabitEthernet3/22

switchport

switchport access vlan 232

channel-group 1 mode on

interface Port-channel1

switchport

switchport access vlan 232

on the dvswitch, all PGs are set to ip hash and both links active, uplinks is also enabled for lacp

but when I turn up the port-channel, I lose connectivity to the esx server. from the esx server, I cannot ping the gateway.

any idea?

Reply
0 Kudos
10 Replies
RyanH84
Expert
Expert

Hi,

What version of ESXi are you using?

Can you post the output of:

show etherchannel load-balance

and

show etherchannel summary

Also, I notice you said a blade. Taking a look at this article‌ it states:

  • ESX/ESXi running on a blade system do not require IP Hash load balancing if an EtherChannel exists between the blade chassis and upstream switch. This is only required if an EtherChannel exists between the blade and the internal chassis switch, or if the blade is operating in a network pass-through mode with an EtherChannel to the upstream switch. For more information on these various scenarios, contact your blade hardware vendor.

Is this relevant to you? If not, this article on NIC teaming using etherchannel leads to intermittant network connectivity‌ might be useful?

Just trying to help with some ideas!

------------------------------------------------------------------------------------------------------------------------------------------------- Regards, Ryan vExpert, VCP5, VCAP5-DCA, MCITP, VCE-CIAE, NPP4 @vRyanH http://vRyan.co.uk
Reply
0 Kudos
rcporto
Leadership
Leadership

You're using blade servers ? If yes, you may not be able to configure LACP in your vSphere ESXi since each host physical interface connect to a different switch module on chassis and the requirements to use LACP is that all physical interface that will me part of LACP must be connected to the same physical switch (or different switchs but in stacked configuration).

Take a look: VMware KB: Host requirements for link aggregation for ESXi and ESX

The switch must be set to perform 802.3ad link aggregation in static mode ON and the virtual switch must have its load balancing method set to Route based on IP hashEnsure that the participating NICs are connected to the ports configured on the same physical switch.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
tdubb123
Expert
Expert

ok I got the portchannel up.

but in esxtop when I copy multiple files to a vm on the lag, I am not seeing utilization on one of the nics even though LACPDUs are increasing

is this expected behavior for lacp?

Capture.JPG

Capture.JPG

Reply
0 Kudos
tdubb123
Expert
Expert

here is the cisco portchannel config

#sh etherchannel load-balance

EtherChannel Load-Balancing Configuration:

        src-dst-ip

EtherChannel Load-Balancing Addresses Used Per-Protocol:

Non-IP: Source XOR Destination MAC address

  IPv4: Source XOR Destination IP address

  IPv6: Source XOR Destination IP address

HK4503#sh etherchannel summ        

HK4503#sh etherchannel summary

Flags:  D - down        P - bundled in port-channel

        I - stand-alone s - suspended

        R - Layer3      S - Layer2

        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met

        u - unsuitable for bundling

        w - waiting to be aggregated

        d - default port

Number of channel-groups in use: 1

Number of aggregators:           1

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

1      Po1(SU)         LACP      Gi2/2(P)    Gi3/22(P)  

Reply
0 Kudos
tdubb123
Expert
Expert

ok from a vm, I tried copying one file to location A and another file to location B

and this is the output I get now. It shows both nics are being used now

Capture.JPG

Reply
0 Kudos
tdubb123
Expert
Expert

so looks like egress traffic is being load balanced and ingress is not?

Reply
0 Kudos
tdubb123
Expert
Expert

ok did another test

from sourceA I copied a file to a vm on that lag

from source B I copied another file to the same vm on that lag

and it did not load balance

only vmnic3 is being used. why is this happening?

Capture.JPG

Reply
0 Kudos
tdubb123
Expert
Expert

ok now I am running 2 v2v sessions into the host and vmnic2 is used. strange

Capture.JPG

Reply
0 Kudos
RyanH84
Expert
Expert

Hi,


I'm fairly sure you are seeing the correct behavior, you've seen both links utilised which is the main thing.

This Article helped me in understanding your issue a little more.  Another good read I found was from Michael Webster Here (a little outdated but still good).

------------------------------------------------------------------------------------------------------------------------------------------------- Regards, Ryan vExpert, VCP5, VCAP5-DCA, MCITP, VCE-CIAE, NPP4 @vRyanH http://vRyan.co.uk
Reply
0 Kudos
jbatun
Contributor
Contributor

I am presenting problems for LACP's enable on some Dell brand servers as I describe:

TECHNICAL POINT The Swithc Procurve 25106 of 48 pts if it is functional with LACP since in two servers proliant microserver gen8 of double Nic Broadcom Corporation Netxtreme BCM5720 Gigabit Ethernet if they are working

But these DELL's servers on enable LACP nic protocol on switch activate and lost conection to net, and I have not found help in this regard.

I have a server's units specs to below  

Dell power Edge 810 con tarjetaQLogic Corporation QLogic NetXtreme II BCM5709 1000Base-T de 4 puertos  VMware ESXi, VMware ESXi, 6.7.0, 15160138 en Intel(R) Xeon(R) CPU E7- 8837 @ 2.67GHz

PowerEdge R710 con 4 puertos  Adaptador Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T Controlador bnx2 VMware ESXi, 6.5.0, 17477841 en Intel(R) Xeon(R) CPU X5570 @ 2.93GHz

PowerEdge R710 con 4 puertos  Adaptador QLogic Corporation QLogic NetXtreme II BCM5709 1000Base-T Controlador qflge VMware ESXi, 6.7.0, 15160138 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

In advance I appreciate some tips or guides to be able to do it

Reply
0 Kudos