tag 408453 + patch thanks The v4tunnel method in ifupdown doesn't have a mtu option (see man interfaces). All non-existant options are ignored.
If you want to set the mtu on your tunnel, a possible solution would be to use the "up" option and issue a "ip link set <device> mtu <size>". I've attached a (trivial but completely untested) patch against ifupdown 0.7~alpha3 (plus the patch in #255222 which shouldn't cause problems except a warning for a bit of offset) which adds an mtu option in v4tunnel. Friently reminder for anyone who apply the patch: don't forget to update the autogenerated files by running noweb ifupdown.nw after applying it. -- Regards, Andreas Henriksson
commit 2c32acb04bcca1e0393e3375f189409aca2063d4 Author: Andreas Henriksson <[EMAIL PROTECTED]> Date: Thu Dec 27 16:49:44 2007 +0100 Add mtu option to v4tunnel (Closes: #408453) diff --git a/ifupdown.nw b/ifupdown.nw index e6d9280..cc96c06 100644 --- a/ifupdown.nw +++ b/ifupdown.nw @@ -4283,11 +4283,12 @@ method v4tunnel dotted quad) gateway address -- Default gateway (colon delimited) ttl time -- TTL setting + mtu size -- MTU setting up ip tunnel add %iface% mode sit remote %endpoint% [[local %local%]] \ [[ttl %ttl%]] - ip link set %iface% up + ip link set %iface% up [[mtu %mtu%]] [[ ip addr add %address%/%netmask% dev %iface% ]] [[ ip route add %gateway% dev %iface% ]] [[ ip route add ::/0 via %gateway% dev %iface% ]]