ESXi, LACP, and JunOS

LACP allows you to run network traffic over multiple interfaces between a single source and multiple destinations.

This allows you to push more network traffic with out having to get faster connections (for example, you may only need 4x 1G connections, and that would be much cheaper than upgrading your network to 10G). VMware’s ESXi supports the use of LACP if you are using vCenter and the vSphere Distributed Switch (vDS). The Standard Switch (vSS) doesn’t support LACP.

## Juniper Config

The JunOS config is fairly straight forward. It looks like:

	description esx01;
aggregated-ether-options {
lacp {
active;
periodic slow;
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members all;
}
}
}

{master:0}


## VMware vCenter Config

From everything I’ve read (and a little exploring with the Linux vCenter Server), LACP can only be configured on the Windows version of vCenter Server (fixed in v5.5). Its accessed through the web interface (not VIC). Something like https://vcenter.local:9443. Under networking, select the dvSwitch, go to related objects, and then uplink port groups. Choose actions, and select edit settings. It should bring up a window that looks similar to what is below.

You should now have your ESXi boxes functioning with LACP on your Juniper device.

Its worth noting that putting vCenter on the dVS is not advised. You can run into some chicken & egg scenarios which will leave your vcenter disconnected and seemingly unable to reconnect. It can be much easier to just keep a standard switch around for vCenter.