summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/docker/utils.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/docker/utils.sh b/examples/docker/utils.sh
index 7b4674752..91e18a6b6 100755
--- a/examples/docker/utils.sh
+++ b/examples/docker/utils.sh
@@ -59,5 +59,9 @@ function create_link {
# Bring interfaces up
ip netns exec $container1 ip link set $if1 up
ip netns exec $container2 ip link set $if2 up
+
+ # Set interfaces mtu to 9000 to match default VPP mtu values
+ ip netns exec ${container1} ifconfig ${if1} mtu 9000
+ ip netns exec ${container2} ifconfig ${if2} mtu 9000
echo "Link created successfully"
}