From a6f45c69421939665b7d22754c3dd0565ef4c481 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Fri, 6 Nov 2020 17:31:06 -0500 Subject: [PATCH] Decrease MTU to account for IPv6 header (MTU - 50) only supports VxLAN over IPv4, decrease it to support IPv6 as well, which is 20 bytes larger. Change-Id: Ifa2633169afe2dd73c78ca7bbfa1a0102caffc95 --- roles/multi-node-bridge/tasks/common.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/multi-node-bridge/tasks/common.yaml b/roles/multi-node-bridge/tasks/common.yaml index a1b56baed..a0e22cd91 100644 --- a/roles/multi-node-bridge/tasks/common.yaml +++ b/roles/multi-node-bridge/tasks/common.yaml @@ -121,8 +121,8 @@ SMALLEST_MTU=$MTU fi done - # 50 byte overhead for vxlan - echo $(( SMALLEST_MTU - 50 )) + # 70 byte overhead for vxlan + IPv6, which will also support IPv4 + echo $(( SMALLEST_MTU - 70 )) args: executable: /bin/bash environment: