Networking Forums

Networking Forums > Computer Networking > Linux Networking > First ping response receiving late

Reply
Thread Tools Display Modes

First ping response receiving late

 
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      09-12-2007, 01:52 PM
I am trying to ping the Gateway which is on RF network, the first ping
response getting delayed, the first response is received after it
sends second ICMP message to destination, this way everytime first
ping response getting delayed. out of 20 pings, only 19 receives in-
time, where as first one comes very late (after it timesout). Any
idea, Is it because it is ICMP message, not a high priority messge,
that is why it might receive late. Thanks in advance.

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      09-12-2007, 03:31 PM
(E-Mail Removed) wrote:
> I am trying to ping the Gateway which is on RF network, the first ping
> response getting delayed, the first response is received after it
> sends second ICMP message to destination, this way everytime first
> ping response getting delayed. out of 20 pings, only 19 receives in-
> time, where as first one comes very late (after it timesout). Any
> idea, Is it because it is ICMP message, not a high priority messge,
> that is why it might receive late. Thanks in advance.
>

The first ping will get converted to an ARP if the machine doesn't
already know the MAC address of the gateway.
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      09-12-2007, 05:15 PM
Robert Harris <(E-Mail Removed)> wrote:
> (E-Mail Removed) wrote:
> > I am trying to ping the Gateway which is on RF network, the first ping
> > response getting delayed, the first response is received after it
> > sends second ICMP message to destination, this way everytime first
> > ping response getting delayed. out of 20 pings, only 19 receives in-
> > time, where as first one comes very late (after it timesout). Any
> > idea, Is it because it is ICMP message, not a high priority messge,
> > that is why it might receive late. Thanks in advance.
> >

> The first ping will get converted to an ARP if the machine doesn't
> already know the MAC address of the gateway.


It isn't converted so much as "will wait for ARP resolution." As would
subsequent ICMP echo requests. Still, I suspect there may be some
additional stuff happening with the RF network, ARP resolution does
not (IIRC) result in packet re-ordering.

One way to test would be to note the remote MAC, delete the ARP entry
and replace it with a permanent one set from the command line, then
try the ping test again. Repeat on the other end for going the other
direction. Then run the ping test and see if the first one remains
delayed.

rick jones
--
The glass is neither half-empty nor half-full. The glass has a leak.
The real question is "Can it be patched?"
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      09-12-2007, 06:46 PM
Rick,

Thanks. I already have ARP entry, I got an IP address, then I tried to
ping the gateway, the first ping response is delayed everytime.


 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      09-12-2007, 07:54 PM
(E-Mail Removed) wrote:
> Thanks. I already have ARP entry, I got an IP address, then I tried to
> ping the gateway, the first ping response is delayed everytime.


Does/did the gateway always have an ARP entry for _your_ IP?

Trying with something other than ping could be interesting. A netperf
UDP_RR test perhaps, or TCP_RR - although with the TCP_RR test, before
the requests and responses start to flow the SYN segments will have
been exchanged so those would be the "first" packets in the flow.
Still, if you ./configure --enable-histogram netperf you could try
that or a UDP_RR test:

netperf -t UDP_RR -H <remote> -v 2

and then look at the resulting histogram.

There could still be the issue of the control connection affecting the
initial packet behaviour though.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      09-12-2007, 07:55 PM
On Wed, 12 Sep 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <(E-Mail Removed) om>,
(E-Mail Removed) wrote:

>I am trying to ping the Gateway which is on RF network, the first ping
>response getting delayed, the first response is received after it
>sends second ICMP message to destination, this way everytime first
>ping response getting delayed. out of 20 pings, only 19 receives in-
>time, where as first one comes very late (after it timesout).


What operating system?
What type of RF network?
What version of ping?
What is the EXACT command used?
What is the exact output for the first three packets?
What does a packet sniffer show?
What does '/sbin/arp -a' show before and during the ping?

>Any idea,


Not enough information. Could be a lot of different things. Is the
RF link up/active when the first ping attempt occurs, or does the link
have to wake up? Does using 'ping -n IP.of.Gate.way' make any
difference?

>Is it because it is ICMP message, not a high priority messge, that is
>why it might receive late.


Depends on the network stack configuration and/or traffic conditioning.
Use a packet sniffer, and compare the ping attempts with attempting to
connect to ANY open or closed port on the gateway using a TCP based
service like telnet (example - 'telnet IP.of.Gate.way 70' which would
attempt to establish a connection to port 70 [gopher] which should be
closed - does the system come back immediately with a 'Connection
refused' error message).

Old guy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for an inexpensive app that monitors average ping response times Dan Betancourt Windows Networking 2 10-23-2008 08:11 PM
What does a slow ping response mean? Joe Shockey Linux Networking 7 06-16-2006 08:41 PM
Very strange Ping response times Dennis Windows Networking 0 01-26-2006 03:41 PM
Enabling ping response on PTI router? John Philip Broadband 3 06-16-2005 07:48 PM
ping response codes greg sporton Linux Networking 1 11-16-2003 09:16 PM



1 2 3 4 5 6 7 8 9 10 11