Qrux wrote:
>> if test -n "${MTU}"; then
>> if [[ ${MTU} =~ ^[0-9]+$ ]] -a [[ $MTU -ge 68 ]] ; then
>> ip link set dev ${IFACE} mtu $MTU
>> else
>> echo "Invalid MTU $MTU"
>> fi
>> fi
>
> Yeah, that looks good. Is 68 some absolute kernel minimum? Does
> that consider stuff like SLIP, PPP, ATM, FDDI, IP-over-IEEE-1394,
> etc?
It's the IPv4 minimum. See RFC 791. All the others are quite a bit
higher. A better practical minimum is probably 576.
That's all theory stuff. I've never seen an actual need to change the
default MTU, but I've played with it.
http://en.wikipedia.org/wiki/Maximum_transmission_unit
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page