Check network connectivity


  ping [--size <size>] [--timeout <timeout>] <host>


Check connectivity to

  iPXE> ping
  64 bytes from seq=1
  64 bytes from seq=2
  64 bytes from seq=3

Check connectivity to default gateway

  ping ${netX/gateway}


Check network connectivity to the specified host using ICMP ECHO (“ping”) packets of the specified payload size, sent every specified timeout interval (in milliseconds). If no payload size is explicitly specified, then the default size of 64 bytes will be used. If no timeout interval is explicitly specified, then the default timeout interval of one second will be used.

Command status

Success Not possible; this command does not terminate unless cancelled
Failure Command was cancelled, or a network problem occurred

See also

Build options

This command is available only when the build option PING_CMD is enabled.

cmd/ping.txt · Last modified: 2014/03/03 13:41 by mcb30
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL
References to "iPXE" may not be altered or removed.