wangchen61698 commented on PR #9254:
URL: https://github.com/apache/nuttx/pull/9254#issuecomment-1545227299
> @wangchen61698 any idea why the first package is lost?
>
> Where in my computer when I do similar test to ping my router it increase
from 1400 to 1408:
>
> ```
> $ ping -s 1400 192.168.0.1
> PING 192.168.0.1 (192.168.0.1) 1400(1428) bytes of data.
> 1408 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=7.85 ms
> 1408 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=11.4 ms
> 1408 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=14.7 ms
> 1408 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=9.66 ms
> 1408 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=8.99 ms
> 1408 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=10.8 ms
> 1408 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=9.17 ms
> 1408 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=9.22 ms
> 1408 bytes from 192.168.0.1: icmp_seq=9 ttl=64 time=9.19 ms
> ```
>
> Do you know why is it happening?
Because I set the mtu of tap0 is 1300, sim1 sends a package with a payload
length of 1400,its length of the package is beyond the mtu of the tap0,so tap0
could tell sim1 the package is too big and the mtu of the next hop is 1300.so
firtst package is lost. when sim1 receive the reply,it split the next package。

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]