Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A script to determine Maximum Transmission Unit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to determine Maximum Transmission Unit
Authored by: kaih on Feb 07, '06 01:45:44PM

This script doesn't set your MTU, rather it determines what the maximum ethernet frame size is that you can use, without fragmentation.
Setting the MTU is then left up to you.

Now, it's worth noting that setting the MTU to the biggest value it can be isn't always the best setting.
For instance, on an ADSL connection, all the heavy lifting is done by an ATM network and ATM cells are 53 bytes, so if you're on ADSL, you might get better performance by setting your MTU to the biggest value it can be that is a multiple of 53 - which, if you can use 1500 byte frames, make your MTU 1484 bytes and then you're using a whole multiple of ATM cells on the backbone network for each ethernet frame you send.


[ Reply to This | # ]