From 86f371a2b8642a5f32a7d8bdb4563b332f7b3d57 Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Mon, 8 May 2023 08:03:14 +0800 Subject: [PATCH] Use ovn-k masquerade nexthop address as gateway route's default gw With this change, the gateway router of ovn-k can always forward egress traffic to host kernel. It will fix the following scenarios: 1. no default gateway host 2. the connection to host default gateway is down Signed-off-by: Peng Liu --- assets/components/ovn/configmap.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/components/ovn/configmap.yaml b/assets/components/ovn/configmap.yaml index 7279ce1fb8..a98a98ff4f 100644 --- a/assets/components/ovn/configmap.yaml +++ b/assets/components/ovn/configmap.yaml @@ -29,6 +29,7 @@ data: [gateway] mode=local nodeport=true + next-hop=169.254.169.4 [masterha] election-lease-duration=137