1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Common Commands"
23 HREF="common-commands.html"><LINK
26 HREF="mfill-command.html"><LINK
29 HREF="reset-command.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="mfill-command.html"
71 HREF="reset-command.html"
82 NAME="PING-COMMAND">ping</H1
90 >ping -- Verify network connectivity</DIV
92 CLASS="REFSYNOPSISDIV"
103 > local_IP_address</I
128 > server_IP_address</I
140 CLASS="INFORMALTABLE"
187 >Be verbose, displaying information about each packet sent.</TD
220 >Controls the number of packets to be sent.</TD
242 >Numeric IP or DNS name</TD
247 >The IP address RedBoot should use.</TD
265 >server_IP_address</I
272 >Numeric IP or DNS name</TD
277 >The IP address of the host to contact.</TD
310 >The length of the ICMP data payload.</TD
337 >How fast to deliver packets, i.e. time between successive sends.
338 A value of 0 sends packets as quickly as possible.</TD
343 >1000ms (1 second)</TD
365 >How long to wait for the round-trip to complete, specified in milliseconds.</TD
370 >1000ms (1 second)</TD
389 > command checks the connectivity of the local network by sending
390 special (ICMP) packets to a specific host. These packets should be automatically
391 returned by that host. The command will indicate how many of these round-trips
392 were successfully completed.
403 >Test connectivity to host 192.168.1.101.
415 >ping -h 192.168.1.101</B
418 Network PING - from 192.168.1.31 to 192.168.1.101
419 PING - received 10 of 10 expected</PRE
425 >Test connectivity to host 192.168.1.101, with verbose reporting.
437 >ping -h 192.168.1.101 -v -n 4</B
440 Network PING - from 192.168.1.31 to 192.168.1.101
441 seq: 1, time: 1 (ticks)
442 seq: 2, time: 1 (ticks)
443 seq: 3, time: 1 (ticks)
444 seq: 4, time: 1 (ticks)
445 PING - received 10 of 10 expected</PRE
459 >Test connectivity to a non-existent host (192.168.1.109).
463 >ping -h 192.168.1.109 -v -n 4</B
466 PING: Cannot reach server '192.168.1.109' (192.168.1.109)</PRE
478 SUMMARY="Footer navigation table"
489 HREF="mfill-command.html"
507 HREF="reset-command.html"
523 HREF="common-commands.html"