DHCP can be used to set the interface MTU on end hosts using option 26. For example (with dnsmasq), to set the MTU of clients on the lan interface to 1400 bytes, use: dhcp-option=lan,26,1400
I’m using this to work around MTU issues caused by a tunnel. It seems to work well so far… no need for IP fragmentation or TCP MSS re-adjustment by a router.
The corresponding Debian /etc/network/interfaces magic for static iface stanzas is "mtu 1400",

Post a Comment