Commit c47ff76a authored by Leigh B Stoller's avatar Leigh B Stoller

Set the MTU to avoid path discovery errors. We have been doing this

for a while, just never committed it.
parent 87130752
......@@ -2164,7 +2164,7 @@ sub os_config_gre($$$$$$$;$)
if (GENVNODE() && GENVNODETYPE() eq "openvz") {
$dev = "gre$unit";
if (system("$IFCONFIGBIN $dev $inetip netmask $mask up")) {
if (system("$IFCONFIGBIN $dev $inetip netmask $mask mtu 1472 up")) {
warn("Could not start tunnel $dev!\n");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment