dhcpstatus output is right?

jeffrey j donovan donovan at beth.k12.pa.us
Wed Nov 9 18:33:30 UTC 2011


On Nov 9, 2011, at 11:24 AM, GUILLERMO ALVAREZ wrote:

>  
> 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

hello ,

many times i dump my leases file to a tmpfile and sort by ip address and count the lines. you can see when your scrolling the blocks increment if there is a current lease.

check for miscreant devices sucking up your ip's. here are my 4 faviorites 
tail -f /var/log/dhcpd.log | grep pod
tail -f /var/log/dhcpd.log | grep phone
tail -f /var/log/dhcpd.log | grep droid
tail -f /var/log/dhcpd.log | grep blackberry

give different pools to these devices and you'll find your clients will get their ip's quicker.
-j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111109/1ed51abc/attachment.html>


More information about the dhcp-users mailing list