<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Urgent : The result Of Ping command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533408#M87073</link>
    <description>PING_WAIT=30&lt;BR /&gt;CLUSTER2_IPADDR=ip_to_ping&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  /bin/ping -c 1 -w $PING_WAIT $CLUSTER2_IPADDR &amp;gt; /dev/null&lt;BR /&gt;  rc=$?&lt;BR /&gt;  if [ $rc -ne 0 ]&lt;BR /&gt;  then&lt;BR /&gt;    echo "ping test failed...."&lt;BR /&gt;    (( NET_FAIL_COUNT = NET_FAIL_COUNT + 1 ))&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What the code does is try and send 1 ping out and wait 30 seconds in this example for an answer. if the test fails put logic in that takes appropriate action.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 27 Apr 2005 14:11:37 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-04-27T14:11:37Z</dc:date>
    <item>
      <title>Urgent : The result Of Ping command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533407#M87072</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem : when i try to ping my Linux redhat Server,the ping is not regular.&lt;BR /&gt;It returns alterantively : timeout....in a line and request in the other line....&lt;BR /&gt;I check the cable and the switch,all is correct.&lt;BR /&gt;Do you have any idea about this : i had think about the auto-negotiate parameter, but it doesn't &lt;BR /&gt;resolve the problem.&lt;BR /&gt;&lt;BR /&gt;Please,help me.&lt;BR /&gt;&lt;BR /&gt;The result of ping command is important,because users are connected to a database and this irregular &lt;BR /&gt;result of ping can done problems.&lt;BR /&gt;&lt;BR /&gt;Ps : I have Linux Redhat 3 AS&lt;BR /&gt;Regards.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2005 13:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533407#M87072</guid>
      <dc:creator>John CLARK_5</dc:creator>
      <dc:date>2005-04-27T13:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent : The result Of Ping command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533408#M87073</link>
      <description>PING_WAIT=30&lt;BR /&gt;CLUSTER2_IPADDR=ip_to_ping&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  /bin/ping -c 1 -w $PING_WAIT $CLUSTER2_IPADDR &amp;gt; /dev/null&lt;BR /&gt;  rc=$?&lt;BR /&gt;  if [ $rc -ne 0 ]&lt;BR /&gt;  then&lt;BR /&gt;    echo "ping test failed...."&lt;BR /&gt;    (( NET_FAIL_COUNT = NET_FAIL_COUNT + 1 ))&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What the code does is try and send 1 ping out and wait 30 seconds in this example for an answer. if the test fails put logic in that takes appropriate action.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 27 Apr 2005 14:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533408#M87073</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-04-27T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent : The result Of Ping command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533409#M87074</link>
      <description>Which network driver are you using? (lsmod)&lt;BR /&gt;&lt;BR /&gt;Also, do you know if you have any limiters in the firewall?&lt;BR /&gt;&lt;BR /&gt;You've said you've 'checked' the cable.  What did you do, just re-seat it?  Try completely replacing the cable (I assume it's just a patch lead between server/switch).  Also try a different port in the switch.</description>
      <pubDate>Wed, 27 Apr 2005 18:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533409#M87074</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-27T18:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent : The result Of Ping command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533410#M87075</link>
      <description>Can you paste the output of your ping? If I am understanding you correctly, you are getting one returned ICMP request and one failed? Correct me if I'm wrong. &lt;BR /&gt;&lt;BR /&gt;If this is the case you could have routing problems, or even DNS problems (a dns name pointing at 2 IP numbers can cause this).&lt;BR /&gt;&lt;BR /&gt;-paul.</description>
      <pubDate>Thu, 28 Apr 2005 11:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/urgent-the-result-of-ping-command/m-p/3533410#M87075</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-04-28T11:54:41Z</dc:date>
    </item>
  </channel>
</rss>

