---
title: "ping and ping6 commands"
canonical: "https://docs.infoblox.com/space/NetMRI753/42010533/ping%20and%20ping6%20commands"
format: markdown
---
<span style="color: #000000">The</span><span style="color: #000000"> </span>`ping` and `ping6` <span style="color: #000000">commands verify if a remote IPv4 or IPv6 host is functioning and accessible across the network. When you execute the </span>`ping`<span style="color: #000000"> or </span>`ping`<span style="color: #000000">6 command, it sends ICMP ECHO requests to the host and displays the results; </span>`ping6`<span style="color: #000000"> can also send Node Information Queries (RFC4620).</span>

# <span style="color: #000000">Syntax</span>

<span style="color: #000000">The following is the command syntax:</span>

`ping ``[``options``] <``hostname``|``IPv4_address>`

`ping6 ``[``options``] <``hostname``|``IPv6_address>`

where:

- `hostname` is the name of host you want to ping.
- `IPv4_address` is the IPv4 address of the host you want to ping.
- `IPv6_address` is the IPv6 address of the host you want to ping.

The `ping and ping6` commands are basic Linux commands. Depending on the system you are working in, the available options for these commands may vary.