MTU optimization

Christian Nolte ch.nolte at noltec.org
Sat Feb 17 17:35:26 UTC 2007


Am Samstag, den 17.02.2007, 12:07 -0500 schrieb Ric Moore:
> There used to be a routine that would test the MTU rate and report back
> which was the best setting, anyone remember it? Ric

You could use ping and specify the package size (-s) and that you don't
want fragmentation (-M do):

	ping hostname -s 1464 -M do

Modify the package size so that ping does not output "Frag needed and DF
set". The best setting is one byte less than the one which gets you the
fragmentation message. Add 28 bytes (IP/ICMP-header info) to this size
and you have the optimal MTU setting.






More information about the fedora-list mailing list