[BACK]Return to ifstated.conf CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/Attic/ifstated.conf between version 1.3 and 1.4

version 1.3, 2004/04/27 03:47:55 version 1.4, 2004/04/28 01:01:27
Line 2 
Line 2 
 # 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
 # respectively.  # respectively.
   
 # 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.
   
Line 16 
Line 16 
     ((!carp0 link up) and (!carp1 link up)))"      ((!carp0 link up) and (!carp1 link up)))"
   
 # The "net" addresses are other addresses which can be used to determine  # The "net" addresses are other addresses which can be used to determine
 # whether we have connectivity. Make sure the hosts are always up, or  # whether we have connectivity. Make sure the hosts are always up, or
 # test multiple ip's, 'or'-ing the tests.  # test multiple ip's, 'or'-ing the tests.
 net = '( "ping -q -c 1 -w 1 192.168.6.8 > /dev/null" every 10 and \  net = '( "ping -q -c 1 -w 1 192.168.6.8 > /dev/null" every 10 and \
     "ping -q -c 1 -w 1 192.168.3.8 > /dev/null" every 10)'      "ping -q -c 1 -w 1 192.168.3.8 > /dev/null" every 10)'
Line 31 
Line 31 
         }          }
         if $carp_down {          if $carp_down {
                 set-state backup                  set-state backup
         }          }
 }  }
   
 state primary {  state primary {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4