on Wed, Apr 03, 2002 at 10:43:50PM +0000, Ricardo Campos wrote:
Is there any way to change the default MTU in Linux dynamically? (OK, I know that there *is*, I just can't work out how).
iproute2 allows you to set the mtu and the tcp advertised mss on a per route basis. Something like:
ip route change blah mtu 1234 advmss 1194
Is there any kind of mtu learning daemon for interfaces? (i.e. MTU actually being worked out by testing fragmentation of packets on the network)
I've not seen it implemented as a daemon, generally it's implemented in the kernel as Path MTU discovery. This described by RFC 1191. But there are unfortunately many networks that don't play nice with this.