From c21bc66fbc4d060763bd9596bcec996594942152 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 9 Sep 2019 07:46:09 +0200 Subject: [PATCH] vxlan: add rp_filter sysctl for multiple gateway nodes Signed-off-by: Alexandre Derumier --- vxlan-and-evpn.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vxlan-and-evpn.adoc b/vxlan-and-evpn.adoc index 3d495a3..0a05cfb 100644 --- a/vxlan-and-evpn.adoc +++ b/vxlan-and-evpn.adoc @@ -1505,6 +1505,16 @@ The external router have ecmp routes to all proxmox nodes.(balancing). If the router send the packet to a wrong node (vm is not on this node), this node will route through vxlan the packet to final destination. +If you have multiple gateway nodes, disable rp_filter as packet could incoming in a 1 node, and outgoing +to another node. + +sysctl.conf tuning +----- +net.ipv4.conf.default.rp_filter=0 +net.ipv4.conf.all.rp_filter=0 +----- + + *node1 ---- -- 2.39.2