There is a server I connect to over the WAN and somewhere over the route there is packet loss unless I set the interface MTU to 600:
ifconfig eth0 mtu 600
Doing this causes problems with connections to other equipment. In order to get both to work I tried setting the 600 MTU for the one bad route:
ip route add 10.10.10.0/24 via 10.11.11.1 mtu 600
Or
ip route add 10.10.10.0/24 via 10.11.11.1 mtu lock 600
Then verifying that this is being chosen with:
ip route get 10.10.10.20
But then tests with only the MTU set for a route indicate it isn't going at 600 but as if no change had been made from the default.
Is there any less obvious difference between these methods of adjusting the MTU? Possibly MTU discovery?
traceroute --mtu [ip]
. Perhaps its not the server dropping the packets but something in between? Otherwise path MTU discovery I thought happened automatically with Ethernet2...but I could be mistaken. – dakka Jul 21 '15 at 5:53man ip-route
, it seems that the MTU setting for a route is handled differently for IPv4 and IPv6: If the modifier lock is used, no path MTU discovery will be tried, all packets will be sent without the DF bit in IPv4 case or fragmented to MTU for IPv6. – cyfdecyf Nov 16 '16 at 17:49