Freenas LACP with Procurve

So real quick, been very bad at updating my blog for a long time!

Had real issues with the LACP bonding as I’ve never setup a Procurve before. Basically creating a LACP bond via the obvious (to me) commands:

conf t
interface 17-18 lacp active
exit
wr mem

Doesn’t work. It creates a Dynamic Trunk which remains in the default VLAN even if the ports are set to untagged in the VLAN interface. My internal LAN is not the default VLAN.

switch# show lacp

                           LACP

   PORT   LACP      TRUNK     PORT      LACP      LACP
   NUMB   ENABLED   GROUP     STATUS    PARTNER   STATUS
   ----   -------   -------   -------   -------   -------
   17     Active    Dyn1      Up        Yes       Success
   18     Active    Dyn1      Up        Yes       Success
switch# show trunk

 Load Balancing

  Port | Name                             Type      | Group Type
  ---- + -------------------------------- --------- + ----- -----
  17   | FREENAS                          100/1000T | Dyn1  LACP
  18   | FREENAS                          100/1000T | Dyn1  LACP

To then remove the config is not easy either:

switch(config)# int 17-18 no lacp
Operation failed on Port 17: Port is a member of a Dynamic Trunk.
switch(config)# int 17
switch(eth-17)# no lacp
17: Operation is not allowed for a trunked port.

You have to unplug the devices before the config removal will work!

Once removed you can create a trunk group controlled by LACP and then added to the required VLAN interface:

switch(config)# trunk 17,18 trk1 lacp
switch(config)# vlan 101
switch(vlan-101)# untagged Trk1
switch(vlan-101)# exit
switch(config)# exit

Plug them back in and:

switch# show lacp

                           LACP

   PORT   LACP      TRUNK     PORT      LACP      LACP
   NUMB   ENABLED   GROUP     STATUS    PARTNER   STATUS
   ----   -------   -------   -------   -------   -------
   17     Active    Trk1      Up        Yes       Success
   18     Active    Trk1      Up        Yes       Success
switch# show trunk

 Load Balancing

  Port | Name                             Type      | Group Type
  ---- + -------------------------------- --------- + ----- -----
  17   | FREENAS                          100/1000T | Trk1  LACP
  18   | FREENAS                          100/1000T | Trk1  LACP

It WORKS!

Leave a Reply

Your email address will not be published.