11-02-2011
If this is not the case it might be that your TCP/IP ICMP stack settings discard ICMP packets.
Try to ping yourself from the host itself ( not the loop back address ) and from some other host and see what happens.
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
When I pinged a machin, I got to be seen a different kind of
reply from that machine.
This is as below : "Reply from 136.128.11.116: Source quench received." Which I felt like an un-usual message.
So what does this mean.
Regards & Thanks in advance.
Vishwa. (4 Replies)
Discussion started by: S.Vishwanath
4 Replies
2. UNIX for Dummies Questions & Answers
Hi there hope list can help
I'm looking for a command that does the following
lets say i ping a server 00.00.000.00
and this server is up and running how do i get the ping command to return a UP or a Down
meaning
if the command is true do this
if the command is False do this
... (2 Replies)
Discussion started by: nemex
2 Replies
3. AIX
We can ping out but the return never comes back even to localhost
ping localhost
PING loopback: (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0 ms
it just sits there....
any ideas, any files to check (1 Reply)
Discussion started by: csaunders
1 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I have one system installed on Linux Red Hat 3.0. I have ip of system 3.156.168.*** and i want to ping some port that is on this IP which command i can do this?
sam70 (1 Reply)
Discussion started by: sam70
1 Replies
5. IP Networking
hi,
I m trying to ping ip on the network . The machine is started but i can't access and can't ping it .. But when i restarts that machine that works fine..... can anybody have an idea about this problem ??
if then reply ..
thanks (2 Replies)
Discussion started by: tahir23
2 Replies
6. Linux
Hi All,
Need your help one more time.
I am trying to ping a linux machine which is not responding to ping.
However traceroute can reach the machine and I can log in to it by ssh. I have checked /proc/sys/net/ipv4/icmp_echo_ignore_all it is already set as "0".
It is not happening in the... (1 Reply)
Discussion started by: ailnilanjan
1 Replies
7. Shell Programming and Scripting
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies
8. IP Networking
I am unable to ping my remote server.My server is unable to ping the same. both are able to ping the gateway. both the ip's are on same network.i use a proxy tunnel on my remote server.Help if any clues. (6 Replies)
Discussion started by: oslbhavana
6 Replies
9. Shell Programming and Scripting
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies
10. Programming
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT LINUX
clockdiff
CLOCKDIFF(8) System Manager's Manual: iputils CLOCKDIFF(8)
NAME
clockdiff - measure clock difference between hosts
SYNOPSIS
clockdiff [-o] [-o1] destination
DESCRIPTION
clockdiff Measures clock difference between us and destination with 1 msec resolution using ICMP TIMESTAMP [2] packets or, optionally, IP
TIMESTAMP option [3] option added to ICMP ECHO. [1]
OPTIONS
-o Use IP TIMESTAMP with ICMP ECHO instead of ICMP TIMESTAMP messages. It is useful with some destinations, which do not support ICMP
TIMESTAMP (f.e. Solaris <2.4).
-o1 Slightly different form of -o, namely it uses three-term IP TIMESTAMP with prespecified hop addresses instead of four term one.
What flavor works better depends on target host. Particularly, -o is better for Linux.
WARNINGS
o Some nodes (Cisco) use non-standard timestamps, which is allowed by RFC, but makes timestamps mostly useless.
o Some nodes generate messed timestamps (Solaris>2.4), when run xntpd. Seems, its IP stack uses a corrupted clock source, which is synchro-
nized to time-of-day clock periodically and jumps randomly making timestamps mostly useless. Good news is that you can use NTP in this
case, which is even better.
o clockdiff shows difference in time modulo 24 days.
SEE ALSO
ping(8), arping(8), tracepath(8).
REFERENCES
[1] ICMP ECHO, RFC0792, page 14.
[2] ICMP TIMESTAMP, RFC0792, page 16.
[3] IP TIMESTAMP option, RFC0791, 3.1, page 16.
AUTHOR
clockdiff was compiled by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>. It was based on code borrowed from BSD timed daemon. It is now main-
tained by YOSHIFUJI Hideaki <yoshfuji@skbuff.net>.
SECURITY
clockdiff requires CAP_NET_RAWIO capability to be executed. It is safe to be used as set-uid root.
AVAILABILITY
clockdiff is part of iputils package and the latest versions are available in source form at http://www.skbuff.net/iputils/iputils-cur-
rent.tar.bz2.
iputils-101006 12 April 2011 CLOCKDIFF(8)