[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-server
Subject:    RE: Small problems of last minute
From:       "Michael Davidson" <michael () bbd ! co ! za>
Date:       2003-09-29 18:22:33
[Download RAW message or body]

   *** From dhcp-server -- To unsubscribe, see the end of this message. ***

Hi Kalkoul,

Lease times of only one hour might indicate that your failover peers are not
in "normal state". The leases are being given the "mclt" time which in your
config (and most others) is 1hour.

Look in your dhcpd.leases file for the failover-peer-state. Below is an
example of what you should see.

failover peer "bup-pxy" state {
  my state normal at 6 2003/09/06 09:50:40;
  partner state normal at 5 2002/06/28 12:45:49;
}

There can be several reasons why the peers are not in normal state. In
brand-new installations it's often the system's date & time being too far
apart.

Regards Mike D.


-----Original Message-----
From: dhcp-server-bounce@isc.org [mailto:dhcp-server-bounce@isc.org]On
Behalf Of Kalkoul Morad
Sent: 29 September 2003 16:01
To: dhcp-server@isc.org
Subject: Small problems of last minute


   *** From dhcp-server -- To unsubscribe, see the end of this message. ***

Hi everybody,

I have some questions about dhcp server.


1. During the start of dhcp server, I could see it starts correctly , and
there is this line :

...Total free 8 backup 8 lts 0

It means that I have a pool of 16 Ip of wich 8free and 8 in backup. Why it
takes the half of my range to distribute in backup? that it happens when
addresses are in backup ?

Whats does it means Lts ?

2., I know that it is necessary to indicated at least one interface which is
logical, but I have two network interfaces on my dhcp server , how to make
for say it to listen on both ?


3.	it seems that the site of the options max-lease-time and
default-lease-time are not taken into account below. The lease time on PCs
is one heure. I Tried to put it at the first line os the dhcpd;conf but it
is similar. Where is the good place to put these options.


This is my dhcp.conf with failover on the primary.

  #server-identifier hulk.mk.strg;
        option domain-name "mk.strg";
        option domain-name-servers 175.25.0.2, 175.25.0.1 ;

        if substring (option dhcp-client-identifier, 0, 3) =3D "RAS" {
              deny booting;
        }

        #omapi-port 7911;
        ddns-update-style interim;
        ddns-updates on;
        ignore client-updates;
        update-static-leases on;
        authoritative;

        failover peer "hulk.mk.strg" {
              primary;                # we are a primary
              address 175.25.0.2;          # address to listen on
              peer address 175.25.0.1;     # who we connect to
                port 519;            # port to use for msgs
              peer port 519;               # 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

                                     # hba is a split defined
                                     # via a bitmap.  Only on
                                     # the primary though.
              hba ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:
                  00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00;
              load balance max seconds 3;
        }

        shared-network ItArte {
              subnet 175.25.0.0 netmask 255.255.0.0 {
                    option subnet-mask 255.255.0.0;
                    default-lease-time 86400; <--
                    max-lease-time 86400; <--
                    option broadcast-address 175.25.255.255;
                    option routers 175.25.0.1;

                    pool {
                          failover peer "hulk.mk.strg";
                          range 175.25.0.5 175.25.0.10;
                          deny dynamic bootp clients;
                    }



              }#Fin de subnet

              host crapoutou {
                    hardware ethernet 00:00:E2:8B:61:C4;
                    fixed-address 175.25.0.101;
              }#Fin de host


              key DHCP_UPDATER{
                    algorithm hmac-md5;
                    secret "mysecretcombi";
              }#Fin de Key


              zone mk.strg {
                    primary 175.25.0.2;
                    key DHCP_UPDATER;
              }#Fin de Zone

              zone 0.25.175.in-addr.arpa {
                    primary 175.25.0.2;
                    key DHCP_UPDATER;
              }#Fin de zone
        }#Fin du If




Thanks in advance for your response.









           \|||/
------ooO-- o 0 --OooO--------
             Ô

Mo

--ooO------------------Oooo---




-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe   : http://www.isc.org/dhcp-lists.html
-or-          : mailto:dhcp-server-request@isc.org?Subject=unsubscribe
-----------------------------------------------------------------------


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe   : http://www.isc.org/dhcp-lists.html    
-or-          : mailto:dhcp-server-request@isc.org?Subject=unsubscribe  
-----------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic