Changes between Initial Version and Version 1 of DhcpFailover


Ignore:
Timestamp:
Sep 30, 2010, 5:27:47 PM (14 years ago)
Author:
mirek@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DhcpFailover

    v1 v1  
     1= DHCP failover setup =
     2
     3== Master server ==
     4{{{
     5include "/usr/local/etc/dhcpd-classes.conf";
     6
     7ldap-server "127.0.0.1";
     8ldap-port 389;
     9ldap-username "cn=root,dc=rionet,dc=cz";
     10ldap-password "rio33net";
     11ldap-base-dn "dc=rionet,dc=cz";
     12ldap-method dynamic;
     13ldap-debug-file "/var/log/dhcp-ldap-startup.log";
     14
     15authoritative;
     16
     17subnet 172.25.8.0 netmask 255.255.255.248 { }
     18
     19failover peer "dhcp" {
     20  primary;
     21  address 172.25.8.4;           # local host IP address
     22  port 647;                     # make sure this port is not used by other programs
     23  peer address 172.25.8.250;    # backup host IP address
     24  peer port 647;
     25  max-response-delay 60;
     26  max-unacked-updates 10;
     27  mclt 7200;
     28  split 128;
     29  load balance max seconds 5;
     30}
     31}}}
     32
     33== Slave server ==
     34
     35{{{
     36include "/usr/local/etc/dhcpd-classes.conf";
     37
     38ldap-server "127.0.0.1";
     39ldap-port 389;
     40ldap-username "cn=root,dc=rionet,dc=cz";
     41ldap-password "rio33net";
     42ldap-base-dn "dc=rionet,dc=cz";
     43ldap-method dynamic;
     44ldap-debug-file "/var/log/dhcp-ldap-startup.log";
     45
     46authoritative;
     47
     48failover peer "dhcp" {
     49   secondary;
     50   address 172.25.8.250;          # local host IP address
     51   port 647;                      # make sure this port is not used by other programs
     52   peer address 172.25.8.4;       # primary host IP address
     53   peer port 647;
     54   max-response-delay 60;
     55   max-unacked-updates 10;
     56}
     57
     58subnet 172.25.8.248 netmask 255.255.255.248 { }
     59}}}
     60