I configured the MTU size to 1000 with ip link set eth0 mtu 1000
on link eth0.
I disabled Generic receiving offloading (gro) with ethtool -K gro off
(since this can lead to "false" frame length in tcpdump (see here))
But if I capture now with tcpdump I still get packets which are larger than 1000, e.g. 1500 bytes.
What I am doing wrong ?
On the receiving side with MTU set to 1000:
eth0: mtu 1000
14:27:38.361168 IP XXXXXX > YYYYYY: ICMP echo > request, id 3273, seq 1, length 1480 14:27:38.361495 IP YYYYYY > XXXXXX: ICMP echo reply, id 3273, seq 1, length 976