The layer 3+4 hash policy

This policy creates the transmission hash based on the upper network layer whenever it is available. The combination of layer 3 and 4 allows multiple network traffic or connections spanning over multiple slave interfaces in the bonded LACP. However, one connection will not span over multiple slave interfaces. For non-IP network traffic, this policy uses the layer 2 hash policy. Do keep in mind that the layer 3+4 policy is not fully LACP or 802.3ad compliant.

To create the bonding interface through the CLI, the following lines need to be added to the configuration file. In our example, we are adding the physical interface ports, ens21 and ens22, to the bonding interface:

auto ens21 iface ens21 inet manual auto ens22 ...

Get Mastering Proxmox - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.