From: Andy Bavier Date: Mon, 14 Apr 2008 15:45:55 +0000 (+0000) Subject: Set mtu at setup time, remove iptables rule at teardown X-Git-Tag: vsys-0.7-4~4 X-Git-Url: http://git.onelab.eu/?p=vsys.git;a=commitdiff_plain;h=016eb76af825070f1e575b4925aa72ed4cccdbc4 Set mtu at setup time, remove iptables rule at teardown --- diff --git a/factory/setup-link b/factory/setup-link index 5851ee6..be8c949 100755 --- a/factory/setup-link +++ b/factory/setup-link @@ -22,7 +22,7 @@ $IP link set $EGRE up ETUN0=v$LINK ETUN1=etun$LINK echo $ETUN0,$ETUN1 > /sys/module/etun/parameters/newif -ifconfig $ETUN0 up +ifconfig $ETUN0 mtu 1458 up ifconfig $ETUN1 up ### Setup bridge @@ -52,6 +52,9 @@ DELETE=/vsys/delete-$ETUN0 cat > $DELETE < /sys/module/etun/parameters/delif