ping
The ping
command verifies if a remote IPv4/IPv6 host is functioning and accessible across the network. When you execute the ping command, it sends five (default) sequential ICMP ECHO requests to the host and displays the results.
Syntax
ping {hostname | ip_address} [ opt ]
Argument | Description |
---|---|
hostname | The name of the remote host that you want to verify. |
ip_address | The IP address of the remote host that you want to verify. |
opt |
|
Examples
Valid host
Infoblox > ping 10.1.1.1
pinging 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.295 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.102 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.155 ms
64 bytes from 10.1.1.1: icmp_seq=4 ttl=64 time=0.211 ms
64 bytes from 10.1.1.1: icmp_seq=5 ttl=64 time=0.265 ms
— 10.1.1.1 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 0.335/0.562/1.245/0.343 ms
Invalid host
Infoblox > ping jsparrow
pinging jsparrow
ping: unknown host jsparrow