dhcpstatus output is right?

GUILLERMO ALVAREZ guillermo.alvarez at ehu.es
Wed Nov 9 16:24:56 UTC 2011


Hello !

I'm trying to resolve a DHCP problem about a big pool balanced between two servers.
Sometimes there are too many clients and the pool is not big enough (clients have to wait for an IP address several minutes!) , furthermore  we can found those logs:

Nov  9 11:37:11 lgux06 dhcpd: pool 997e798 wguest-bizkaia total 967  free 2  backup 2  lts 0
Nov  9 11:37:27 lgux06 dhcpd: pool 997e798 wguest-bizkaia total 967  free 2  backup 2  lts 0
[Only 4 IP free (2 me + 2 otherserver )]


Otherwise , we parse the output of dhcpstatus perl script at the same time (aprox) and we get:
Subnet: 10.227.92.0    :Netmask: 255.255.252.0 :IP range: 10.227.92.1 - 10.227.95.254 :IPs defined: 965 :IPs used: 704 :IPs free: 263
Subnet: 10.227.92.0    :Netmask: 255.255.252.0 :IP range: 10.227.92.1 - 10.227.95.254 :IPs defined: 965 :IPs used: 711 :IPs free: 256
[More than 250 IP free]


I thought dhcpstatus  gave me right info, but It seems that's not correct...  or the balance is not working?

How can I know the real use of the pool?

Do you use dhcpstatus script?



Thanks in advance,

Guiller


Network definition in dhcpd.conf
==
shared-network "wguest-bizkaia" {
        ddns-updates off ;
        option domain-name-servers 10.10.13.6, 10.20.13.6, 10.30.13.6 ;
        # bizkaia-wguest-privada-10-227-92-0
        subnet 10.227.92.0 netmask 255.255.252.0 {
                option routers 10.227.92.1;
                option broadcast-address 10.227.95.255  ;
                option subnet-mask 255.255.252.0 ;
        }

        # dynamic IP pools

        pool {  # pool-10-227-92-50
                default-lease-time 900;
                max-lease-time 900;
                deny dynamic bootp clients;
                failover peer "bizkaia-gipuzkoa";
                range 10.227.92.50 10.227.92.254;
                range 10.227.93.1 10.227.93.254;
                range 10.227.94.1 10.227.94.254;
                range 10.227.95.1 10.227.95.254;
        }

}

==
OS and package version

RH 4 .6
Name        : dhcp                         Version     : 3.0.1                             Vendor: Red Hat, Inc.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111109/97c05007/attachment.html>


More information about the dhcp-users mailing list