carp['carp']VHID GroupvhidVirtual IP AddressipaddressAdvertising FrequencyadvskewSynchronize StatepfsyncLoad BalancingbalancingPremptionpremptionVirtual IP AddressipaddressEnter the IPAddress that you would like to share on both machinesinputVHID GroupvhidEnter the VHID group that the machines will shareselect1Advertising FrequencyadvskewThe frequency that this machine will advertiseselect0Synchrnoize StatepfsyncPFSync transfers state insertion, update, and deletion messages between firewalls. Each firewall sends these messages out via multicast on a specified interface, using the PFSYNC protocol (IP Protocol 240). It also listens on that interface for similar messages from other firewalls, and imports them into the local state table.checkboxSynchronize Interfacesyncifaceinterfaces_selectionIf Synchronize State is enabled, it will utilize this interface for communication.Load BalancingbalancingIf this feature is enabled, CARP source-hashes the originating IP of a request. The hash is then used to select a virtual host from the available pool to handle the request. This is disabled by default.checkboxPremptionpremptionWhen preemption is enabled, each CARP host will look at the advskew (Advertising Frequency) parameter in the advertisements it receives from the master, to try to determine whether it can advertise more frequently. If so, it will begin advertising, and the current master, seeing that there is another host with a lower advskew, will bow out.checkbox
function sync_package() {
global $config;
/* create /usr/local/etc/rc.d/carp.sh here */
}
sync_package();
sync_package();