From 016eb76af825070f1e575b4925aa72ed4cccdbc4 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Mon, 14 Apr 2008 15:45:55 +0000 Subject: [PATCH] Set mtu at setup time, remove iptables rule at teardown --- factory/setup-link | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.43.0