proxmox: use L4 info for ECMP hashing

This should make VXLAN-encapsulated traffic multipath.
This commit is contained in:
Timotej Lazar 2024-04-05 09:26:06 +02:00
parent 8be55c2bde
commit f404922d6b
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# L4 (5-tuple) hashing for ECMP.
net.ipv4.fib_multipath_hash_policy = 1
net.ipv6.fib_multipath_hash_policy = 1

View file

@ -28,6 +28,11 @@
mode: 0644
notify: reboot
- name: Set up sysctls
copy:
dest: /etc/sysctl.d/local.conf
src: sysctl.conf
- name: Set up interfaces
template:
dest: /etc/network/interfaces.d/real.intf