From d31d78c19302f8098a16adc5ff9f9708bcd82b9e Mon Sep 17 00:00:00 2001 From: Ganesh Maharaj Mahalingam Date: Thu, 30 May 2019 12:02:34 -0700 Subject: [PATCH] calico-node fails to come up cause of all.rp_filter Currently net.ipv4.conf.all.rp_filter is set to 2 in Clear and calico-node fails to come up unless that value is either 0 or 1. Signed-off-by: Ganesh Maharaj Mahalingam --- clr-k8s-examples/setup_system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/clr-k8s-examples/setup_system.sh b/clr-k8s-examples/setup_system.sh index 25d5d86..22d9285 100755 --- a/clr-k8s-examples/setup_system.sh +++ b/clr-k8s-examples/setup_system.sh @@ -23,6 +23,7 @@ sudo mkdir -p /etc/sysctl.d/ cat < /etc/sysctl.d/60-k8s.conf" net.ipv4.ip_forward=1 net.ipv4.conf.default.rp_filter=1 +net.ipv4.conf.all.rp_filter=1 EOT sudo systemctl restart systemd-sysctl