This is an old revision of the document!
ping [--size <size>] [--timeout <timeout>] <host>
iPXE> ping www.ipxe.org 64 bytes from 212.13.204.60: seq=1 64 bytes from 212.13.204.60: seq=2 64 bytes from 212.13.204.60: seq=3
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.
Success | Not possible; this command does not terminate unless cancelled |
---|---|
Failure | Command was cancelled, or a network problem occurred |
This command is available only when the build option PING_CMD
is enabled.