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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user