# nodeping(8) - Pings a node or a noderange.

## SYNOPSIS

`nodeping [options] noderange`

## DESCRIPTION

**nodeping** is a command that pings the default NIC on a node. It can also be used with the `-s` flag to change the ping location to something that is 'non primary'

## OPTIONS

- `-f` COUNT, `-c` COUNT, --count=COUNT  
  Number of commands to run at a time
- `-h`, `--help`:  
  Show help message and exit
- `-s` SUBSTITUTENAME, --substitutename=SUBSTITUTENAME  
  Use a different name other than the nodename for ping. This may be an expression, such as {bmc} or, if no { character is present, it is treated as a suffix. -s -eth1 would make n1 become n1-eth1, for example.

## EXAMPLES

- Pinging a node :  
  `# nodeping <node>`  
  `node : ping`
- Pinging a group:  
  `# nodeping <groupname>`  
  `Node1 : ping     Node2 : ping     Node3 : ping`
- Pinging BMC on a node:  
  `# nodeping -s {bmc} <noderange>`  
  `Node-bmc : ping`
- Pinging by specifying a suffix: `# nodeping d1-d4 -s -eth1`  
  `d2-eth1: no_ping`  
  `d1-eth1: no_ping`  
  `d3-eth1: no_ping`  
  `d4-eth1: no_ping`
- Fail to ping node:  
  `# nodeping <node>`  
  `node : no_ping`
