LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2018, 12:30 AM   #1
shivashankar
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Rep: Reputation: Disabled
Unhappy Ping fail for packet size more than 23000 on Linux 4.9.119-yocto-standard version


My_device(4.9.119-yocto-standard)---Directly_connected---machine_2

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

ping -s 24000 1.1.1.1 -c 1
PING 1.1.1.1 (1.1.1.1) 24000(24028) bytes of data.

--- 1.1.1.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

How to resolve this issue... Thanks in advance.
 
Old 12-05-2018, 09:43 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,043

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
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?
 
Old 12-05-2018, 04:16 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,626

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
Are you suggesting that a prior kernel worked and the version does not?
 
Old 12-05-2018, 10:54 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,043

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
No.
 
Old 12-06-2018, 04:06 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,626

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
I meant the OP in that question.
 
Old 12-06-2018, 04:15 PM   #6
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.5
Posts: 2,174

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 03:39 PM
Is it possible to receive # of ICMP packet more than sendout ICMP packet georgewhr Linux - Networking 1 03-04-2014 09:06 AM
Printing of application out in standard and non standard paper size gkedar614 Linux - Newbie 2 08-23-2013 04:40 AM
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 06:32 AM
AIX diagela error message seq.no 119/118 Hathazi Judit AIX 9 07-26-2005 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration