dhcp3 failover protocol failure

From: Rene Hogendoorn (rene.hogendoorn_at_hccnet.nl)
Date: 03/31/04

  • Next message: Brent Miller: "Re: ssh port forwarding errors"
    To: debian-user@lists.debian.org
    Date: Wed, 31 Mar 2004 00:10:15 +0200
    
    

    I am running two debian woody dhcp3 servers (version 3.0+3.0.1rc9-2.2)
    that are configured to use a common address pool with fail-over.
    Whenever one of the servers fails, the other server takes over
    correctly.
    After a certain time running as stand-alone, the server stops issuing
    addresses with an error message "peer holds all free leases".
    The pool is about 6 times larger than the total number of machines.

    I have no idea what is causing this. I hope someone more knowledgeable
    can point me into the right direction.

    Regards
    Rene Hogendoorn

    dhcpd.conf:
    ------------------------------------------------------------------
    use-host-decl-names on;

    default-lease-time 259200;
    max-lease-time 432000;
    ddns-update-style interim;
    ddns-domainname "montessori-zwolle.nl";
    ddns-updates on;

    include "/etc/dhcp3/dhcp.key";

    zone montessori-zwolle.nl. {
       primary 127.0.0.1;
       key dhcp-maan;
    }

    zone 0.168.192.in-addr.arpa. {
       primary 127.0.0.1;
       key dhcp-maan;
    }
     
    failover peer "melkweg.montessori-zwolle.nl" {
       primary; # we are a primary
       address 192.168.0.3; # address to listen on
       peer address 192.168.0.6; # who we connect to
       port 519; # port to use for msgs
       peer port 521; # where we send msgs
       max-response-delay 60; # how many seconds to
                                       # wait before we
                                       # determine a
                                       # failure
       max-unacked-updates 10; # number of unacked
                                       # packets to send
       mclt 3600; # only defined on primary
       split 128;
       load balance max seconds 3;
    }

    option option-128 code 128 = string;
    option option-160 code 160 = string;
    option option-184 code 184 = string;
    option option-193 code 193 = string;
    option option-194 code 194 = string;

    subnet 192.168.0.0 netmask 255.255.255.0 {
       pool {
          failover peer "melkweg.montessori-zwolle.nl";
          deny dynamic bootp clients;
          range 192.168.0.64 192.168.0.192;
       }

       option broadcast-address 192.168.0.255;
       option routers 192.168.0.1;

       option domain-name "montessori-zwolle.nl";
       option domain-name-servers ns1.montessori-zwolle.nl,
    ns2.montessori-zwolle.nl;

       option netbios-name-servers universe;
       option netbios-dd-server universe;
       option netbios-node-type 8;

       option option-128 e4:45:74:68:00:00;
       option option-160 "timeout=10:default=193";
       option option-184 "Installatie menu";
       option option-193 "Via server:::-::0i:";
       option option-194 "Locaal:::/dev/hda1::0i:ip=off";

       #filename "/host/nbi/vmlinuz-2.4.1-ac3-nbi.tagged";
       #option root-path "/host/nfsroot";
    }

    # Fixed IP addresses can also be specified for hosts. These addresses
    # should not also be listed as being available for dynamic assignment.
    # Hosts for which fixed IP addresses have been specified can boot using
    # BOOTP or DHCP. Hosts for which no fixed address is specified can
    only
    # be booted with DHCP, unless there is an address range on the subnet
    # to which a BOOTP client is connected which has the dynamic-bootp flag
    # set.

    host aarde {
       hardware ethernet 00:02:44:4f:b4:70;
       fixed-address aarde;
    }

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Brent Miller: "Re: ssh port forwarding errors"

    Relevant Pages

    • Re: Slow DNS Lookup - Debian
      ... >> hosts: files nisplus nis dns ... >> and if you don't run NIS or NIS+, you can speed things up slightly by ... use tcpdump to see that you are using responsive name servers. ...
      (comp.os.linux.networking)
    • Re: Threading advice sought
      ... tcl, or are at the C level (mapping shared memory pages, or simply ... You can think about it in terms of other servers. ... create new COM objects for every request, ... or create a pool of COM objects for reuse. ...
      (comp.lang.tcl)
    • Re: Can someone recommend a product?
      ... string before the site will allow them to proceed. ... I don't know of a product that does this for mail servers. ... I did work at AIG with 2 postfix servers running on solaris. ... Postfix scanned for viruses and spams, then relayed 'clean' emails to exchange, lotus and groupwise servers. ...
      (microsoft.public.exchange.admin)
    • Re: IPTables rules and hosts that use DHCP
      ... authentication requests with all sorts of passwords and/or usernames. ... the rules blacklist hosts that attempt to connect more than ... my sister and I act as backup servers for each ... Do you HAVE to have your SSH server on port 22, ...
      (comp.os.linux.misc)
    • Re: List SQL servers in a network
      ... > private static extern short SQLAllocHandle(short hType, IntPtr ... > public static string[] GetServers{ ... > throw new ApplicationException("Unabled to aquire SQL Servers from ODBC ...
      (microsoft.public.dotnet.general)