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:
parent
88ef27b414
commit
a6f45c6942
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user