From 923d877208d49f7df87bbc13a5e23a7aea594d28 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 8 Apr 2024 08:45:53 +0200 Subject: [PATCH] proxmox: use inner L3 info for ECMP hashing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’m sure I saw fib_multipath_hash_policy=2 (or =1 from last commit) actually working once, but cannot reproduce. Maybe revisit this at some point. --- roles/proxmox/files/sysctl.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/proxmox/files/sysctl.conf b/roles/proxmox/files/sysctl.conf index 855939b..234e69b 100644 --- a/roles/proxmox/files/sysctl.conf +++ b/roles/proxmox/files/sysctl.conf @@ -1,3 +1,3 @@ -# L4 (5-tuple) hashing for ECMP. -net.ipv4.fib_multipath_hash_policy = 1 -net.ipv6.fib_multipath_hash_policy = 1 +# Outer+inner header hashing for ECMP. +net.ipv4.fib_multipath_hash_policy = 2 +net.ipv6.fib_multipath_hash_policy = 2