Re: warnings from MTU setting on switch ports
From: Rasmus Villemoes <hidden>
Date: 2020-11-30 22:51:35
From: Rasmus Villemoes <hidden>
Date: 2020-11-30 22:51:35
On 30/11/2020 23.35, Vladimir Oltean wrote:
On Mon, Nov 30, 2020 at 11:13:39PM +0100, Rasmus Villemoes wrote:
quoted
FWIW, on a 4.19 kernel, I can do 'ping -s X -M do' for X up to 1472 for IPv4 and 1452 for IPv6, but I don't think that tells me much about what the hardware could do.IP will get fragmented by the stack to the interface's MTU.
Nope, that's what the '-M do' is for: # ping -M do -s 1880 169.254.246.13 PING 169.254.246.13 (169.254.246.13) 1880(1908) bytes of data. ping: local error: message too long, mtu=1500 Rasmus