Comware Based
1827801 Members
2364 Online
109969 Solutions
New Discussion

Re: Link-aggregation and ESXi5 issues with A5120

 
SOLVED
Go to solution
viktu
Occasional Visitor

Link-aggregation and ESXi5 issues with A5120

Hi there, I'm trying to create a link-aggregation between 2 IRF connected A5120 and ESXi hosts.

 

Here is my config:

 

Two ports of ESXi connected to first A5120

Two ports of ESXi connected to second A5120

 

Config:

 

interface Bridge-Aggregation2

 description UplinkEsxi1
 port link-type trunk
 port trunk permit vlan 1 to 8 50 to 51 60 100 200

interface GigabitEthernet1/0/9
 port link-type trunk
 port trunk permit vlan 1 to 8 50 to 51 60 100 200
 port link-aggregation group 2

 

interface GigabitEthernet1/0/11
 port link-type trunk
 port trunk permit vlan 1 to 8 50 to 51 60 100 200
 port link-aggregation group 2

 

interface GigabitEthernet2/0/10
 port link-type trunk
 port trunk permit vlan 1 to 8 50 to 51 60 100 200
 port link-aggregation group 2

 

interface GigabitEthernet2/0/12
 port link-type trunk
 port trunk permit vlan 1 to 8 50 to 51 60 100 200
 port link-aggregation group 2

 

ESXi5 configuration is NIC Teaming using IP based hash

 

display link-aggregation verbose b2

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation Interface: Bridge-Aggregation2
Aggregation Mode: Static
Loadsharing Type: Shar
  Port             Status  Priority  Oper-Key
----------------------------------------------------------------------
  GE1/0/9          S       32768     1
  GE1/0/11         S       32768     1
  GE2/0/10         S       32768     1
  GE2/0/12         S       32768     1

 

After doing this the connection to the ESXi is aleatory. Sometimes I can ping, sometimes not. Sometimes I can ping from one server, sometimes from another

 

What's wrong with the config? I have the same exact configuration but with LACP against a Netapp in those switches and is working like a charm

 

Thanks

 

6 REPLIES 6
manuel.bitzi
Trusted Contributor
Solution

Re: Link-aggregation and ESXi5 issues with A5120

Hi viktu

 

The Switchconfig is right. I used this with ESX in a dozen of customer installations.

 

Are you sure that everywhere on the ESX the Teaming is configured as "IP based hash"? In the vSwitch and each virtual Network?

 

br

Manuel

H3CSE, MASE Network Infrastructure [2011], Switzerland
viktu
Occasional Visitor

Re: Link-aggregation and ESXi5 issues with A5120

Thank you Manuel, you gave me the hint!

 

The Management interface NIC teaming information overrided the vswitch one using "route based on the originated virtual port ID"

 

Thanks!

manuel.bitzi
Trusted Contributor

Re: Link-aggregation and ESXi5 issues with A5120

I walked into the same trap a month ago. :-)

 

you're welcome

Manuel

H3CSE, MASE Network Infrastructure [2011], Switzerland
paulgear
Esteemed Contributor

Re: Link-aggregation and ESXi5 issues with A5120

(It seems today is going to be a good day: i got to learn a new word!  You had me at "aleatory". :-)

 

Here's a config from a working 5500 IRF stack:

 

...

interface Bridge-Aggregation2
 description esx2
 port link-type trunk
 port trunk permit vlan 1 5 110 202 to 206
 stp disable
...

interface GigabitEthernet1/0/2
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan 1 5 110 202 to 206
 broadcast-suppression 5
 stp edged-port enable
 port link-aggregation group 2
...

 

This is using route based on IP hash on the ESX side as well.  I don't think the STP stuff will make any difference to connectivity; it was just for completeness' sake.  So all i can think is that someone has messed with your ESXi network config.

Regards,
Paul
paulgear
Esteemed Contributor

Re: Link-aggregation and ESXi5 issues with A5120

Heh. Obviously i should have refreshed the page before replying. Good to know i was on the right track, though.

Regards,
Paul
viktu
Occasional Visitor

Re: Link-aggregation and ESXi5 issues with A5120

OMG! I can't believe I wrote "aleatory"... obviously, I meant "randomly" ;)

 

By the way, thank you very much for your answer, as you say you were on the way for the right answer.

 

Thank you!