IT lexicon › Networking › CARP

CARP

Networking På svenska → Updated: 2026-11-08
More info
Creator
OpenBSD project
Released
2004
Type
Protocol
License
BSD

Common Address Redundancy Protocol — OpenBSD's patent-free answer to VRRP, letting several machines share one IP address.

A group of routers or firewalls shares a virtual address; one acts as master and sends periodic advertisements, and if it goes quiet a backup takes the address over. It is the same idea as VRRP and Cisco's HSRP, but Cisco claimed patents covering VRRP. OpenBSD refused to depend on anything that might come with a licence bill and wrote its own protocol, shipped in OpenBSD 3.5 in 2004.

CARP uses IP protocol number 112 — the same as VRRP, and without an IANA assignment. The collision was deliberate. Combined with pf and pfsync, which replicates the state table, it gives firewalls failover in which open connections survive the switch. It is the standard route to high availability on pfSense and FreeBSD.

← Back to the lexicon