On Wed, 3 Apr 2002, 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).
Specifically, is the change system wide, or could I change it on a per interface basis? I guess I could use ifconfig for eth0, but I am unsure as to where it is set for ppp0. e.g. ppp0 (MTU=<1000) and eth0 (MTU=1000)
well to do it for ppp0 you would use ifconfig ppp0 mtu 100, you would never want to change the mtu for all of your interfaces on a system wide level, as you would most likely end up breaking something.
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)
Erm don't know, although you most likely would always want to leave the MTU at default, if you need to change it then you are most likely having other problems with your network interface, you would look for (I think) framing errors in the output of ifconfig although it may be one of the other error metrics.
Adam