What is MTU and how do you set it?

MTU is Maximum Transfer Unit, which measures the size, in bytes, of the largest packet that a communication protocol can pass, and it is set through ifconfig.