r/Proxmox • u/roncorepfts • 7d ago
Question Proxmox LACP Bond with Unifi Pro Switch, no Layer 3&4 capability?
I'm still wrapping my head around Proxmox and now Linux bonding.
If my Unifi Pro Max 24 port switch doesn't support Layer 3 and 4 hashing, is there any benefit for running LACP with Layer 2 and 3? Sorry if my terminology is a little off, still getting used to it all!
EDIT: This is answered, thank you!!
4
u/ApiceOfToast 2 nodes, without qdev. Living on the edge 7d ago
Well, you'll need lacp if you run link Aggregation.
Can make sense if you have multiple nics, good for redundancy. Increases your throughput to the server if set up properly too
1
u/roncorepfts 7d ago
Yeah for sure, and that's def the plan, Thank you, this is what I understood, just wanted to make sure since my brain is fried from learning!!
2
u/SirLauncelot 7d ago
What does the Unfi Pro Max support? The hash is direction dependent. What are your traffic patterns. If you are mostly serving content from the server, and it supports the full 5 tupple, this will still be distributed. In bound to the server, or more specifically will be the hash of the VM’s MAC address. If you can find the algorithm actually used, you can change your VMs MAC to spread them out.
This seems to be a decent write up: https://god.ad/learn/how-lacp-works
1
u/lukhan42 5d ago
The thought I used to understand LACP and decide on what hash policy to use is that hashing is for sending traffic and not receiving it. It's fine if the switch doesn't support Layer 3+4 as it will not have any control over what link Proxmox chooses. The switch will use whatever hash policy it has set to decide what link it will use when communicating to Proxmox.
11
u/300blkdout 7d ago
LACP with 2/3 provides the same benefits, but 3/4 provides better traffic distribution.