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
This commit is contained in:
Brian Haley
2020-11-06 17:31:06 -05:00
parent 88ef27b414
commit a6f45c6942

View File

@@ -121,8 +121,8 @@
SMALLEST_MTU=$MTU SMALLEST_MTU=$MTU
fi fi
done done
# 50 byte overhead for vxlan # 70 byte overhead for vxlan + IPv6, which will also support IPv4
echo $(( SMALLEST_MTU - 50 )) echo $(( SMALLEST_MTU - 70 ))
args: args:
executable: /bin/bash executable: /bin/bash
environment: environment: