Ping fail for packet size more than 23000 on Linux 4.9.119-yocto-standard version
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I ping from machine_2 to my device with a packet size more than 23000, then found 100% packet loss. System parameters looks good (shown below) but unable to figure out the issue.
/proc/sys/net/ipv4/ipfrag_high_thresh = 262144
/proc/sys/net/ipv4/ipfrag_low_thresh = 196608
/proc/sys/net/ipv4/ipfrag_max_dist = 64
/proc/sys/net/ipv4/ipfrag_secret_interval = 0
/proc/sys/net/ipv4/ipfrag_time = 30
MTU for ethernet and Wifi are 1500. Anything larger is non-standard. If you are going through a switch or router, does it support that MTU? Does the receiving end?
What happens with higher counts? man ping says this about -w
Code:
Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received. In this case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are answered or for some error notification from network.
which implies that ping normally stops after count packets are sent. Maybe you're not allowing enough time for the foreign server to respond?? Just a thought.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.