carp.conf 476 Bytes
Newer Older
1 2 3 4 5 6 7 8
#
# CARP notify hooks. This will call carpup/carpdown with the
# interface (carp0, carp1) as the first parameter.
#

notify 100 {
    match "system"          "CARP";
    match "type"            "MASTER";
9
    action "/usr/local/opnsense/service/configd_ctl.py interface carpmaster $subsystem";
10 11 12 13 14
};

notify 100 {
    match "system"          "CARP";
    match "type"            "BACKUP";
15
    action "/usr/local/opnsense/service/configd_ctl.py interface carpbackup $subsystem";
16
};