Friday, February 24, 2017

MTU problems

Using a raspberry pi as a bridge creates problems with Sysmac Studio. The wireshark trace shows lots of lost packets and resends

This seems to be related with the fact that the default MTU of 1500 bytes is not supported by this device and, from time to time, packets are drop by the pi

See here

http://serverfault.com/questions/340223/troubleshoot-large-number-of-tcp-retransmits-dup-ack-segment-losthttps://support.microsoft.com/en-us/help/314825/how-to-troubleshoot-black-hole-router-issues


To solve this is possible to adjust the MTU size for Windows

Find out current MTU

netsh interface ipv4 show subinterfaces

Find out what is the max working MTU

ping 192.168.250.1 -f -l 900 (-f don´t fragment / -l MTU size)

Set MTU

netsh interface ipv4 set subinterface "EthToUsb" mtu=1458 [store=persistent]

No comments:

Post a Comment