---
name: "ocf_heartbeat_SendArp"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_SendArp"
---

# ocf\_heartbeat\_SendArp(7)

Broadcasts unsolicited ARP announcements

## NAME

ocf\_heartbeat\_SendArp - Broadcasts unsolicited ARP announcements

## SYNOPSIS

**SendArp** \[start \| stop \| monitor \| meta-data \| validate-all\]

## DESCRIPTION

This RA can be used \_instead\_ of the IPaddr2 or IPaddr RA to send gratuitous ARP for an IP address on a given interface, without adding the address to that interface. For example, if for some reason you wanted to send gratuitous ARP for addresses managed by IPaddr2 or IPaddr on an additional interface.

## SUPPORTED PARAMETERS

**ip**

The IP address for sending ARP packet.

(required, string, no default)

**nic**

The NIC for sending ARP packet.

(required, string, no default)

**background**

Send ARPs in background. Set to false if you want to test if sending ARPs succeeded.

(optional, boolean, default true)

## SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

**start**

Starts the resource. Suggested minimum timeout: 20s.

**stop**

Stops the resource. Suggested minimum timeout: 20s.

**monitor**

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10s.

**meta-data**

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

**validate-all**

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

## EXAMPLE CRM SHELL

The following is an example configuration for a SendArp resource using the [**crm**(8)](/crm/8.md) shell:

```
primitive p_SendArp ocf:heartbeat:SendArp \
  params \
    ip=string \
    nic=string \
  op monitor depth="0" timeout="20s" interval="10s"
```

## EXAMPLE PCS

The following is an example configuration for a SendArp resource using [**pcs**(8)](/pcs/8.md)

```
pcs resource create p_SendArp ocf:heartbeat:SendArp \
  ip=string \
  nic=string \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
```

## SEE ALSO

**http://clusterlabs.org/**

## AUTHOR

**ClusterLabs contributors (see the resource agent source for information about individual authors)**
