Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 ]

ArgumentDescription
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
  • numerical (specifies to not interpret the IP address as a DNS name)
  • src_addr (specifies the starting or "from" address)
  • v6 (specifies you are using an IPv6 hostname)
  • broadcast (allows pinging to a broadcast address)
  • ttl<hops> (specifies the time-to-live setting for outgoing packets)
  • packetsize<bytes> (specifies the number of data bytes to send)
  • count<packets> (specifies number of echo_requests packets sent, default is 5, maximum is 250)


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

  • No labels