CARP Config Example

master:

sysctl.conf

net.inet.carp.preempt=1

hostname.carp0

pass mekmitasdigoat 192.0.2.19 vhid 1

hostname.carp1

pass mekmitasdigoat 192.168.1.1 vhid 2

backup:

sysctl.conf

net.inet.carp.preempt=1

hostname.carp0

pass mekmitasdigoat 192.0.2.19 vhid 1 advskew 100

hostname.carp1

pass mekmitasdigoat 192.168.1.1 vhid 2 advskew 100