Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# 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