|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: ifstated.conf,v 1.2 2004/03/17 23:58:27 mcbride Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: ifstated.conf,v 1.3 2004/04/27 03:47:55 mcbride Exp $ |
|
|
# This is a sample config for a pair of firewalls with two interfaces |
|
|
# This is a sample config for a pair of firewalls with two interfaces |
|
|
# |
|
|
# |
|
|
# carp0 and carp1 have ip addresses on 192.168.3.0/24 and 192.168.6.0/24 |
|
|
# carp0 and carp1 have ip addresses on 192.168.3.0/24 and 192.168.6.0/24 |
|
@ -7,7 +7,7 @@ |
|
|
# net.inet.carp.preempt must be enabled (set to 1) for this to work correctly. |
|
|
# net.inet.carp.preempt must be enabled (set to 1) for this to work correctly. |
|
|
|
|
|
|
|
|
# Uncomment one of the following lines to force primary/backup status. |
|
|
# Uncomment one of the following lines to force primary/backup status. |
|
|
# init state primary |
|
|
|
|
|
|
|
|
# init-state primary |
|
|
# init-state backup |
|
|
# init-state backup |
|
|
|
|
|
|
|
|
carp_up = "((carp0 link up) and (carp1 link up))" |
|
|
carp_up = "((carp0 link up) and (carp1 link up))" |
|
|