LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-04-2018, 11:30 PM   #1
shivashankar
LQ Newbie
 
Registered: Aug 2018
Posts: 3

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, 08:43 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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, 03:16 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Are you suggesting that a prior kernel worked and the version does not?
 
Old 12-05-2018, 09:54 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
No.
 
Old 12-06-2018, 03:06 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I meant the OP in that question.
 
Old 12-06-2018, 03:15 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
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



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 02:39 PM
Is it possible to receive # of ICMP packet more than sendout ICMP packet georgewhr Linux - Networking 1 03-04-2014 08:06 AM
Printing of application out in standard and non standard paper size gkedar614 Linux - Newbie 2 08-23-2013 03: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 05:32 AM
AIX diagela error message seq.no 119/118 Hathazi Judit AIX 9 07-26-2005 07:46 AM

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

All times are GMT -5. The time now is 05:26 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
Open Source Consulting | Domain Registration