no free leases

manu manu at ubuntu-fr.org
Mon Dec 19 11:56:28 UTC 2005


Hello,

Jean-Francois CLEMENT a écrit :
> Hi all,
> 
> i see in your syslog that some NIC ask an IP frequently and the dhcpd 
> give one different each time, so the IP range it's rapidly empty (no 
> free leases). I don't know if it's normal but may be one solution it's 
> to assign a short "lease-time" to the IP address with :
> 
> default-lease-time 600;   (an IP for 10 minutes)
> max-lease-time 7200;
> 
> see this page : http://linuxcommand.org/man_pages/dhcpd8.html
> 
> another solution very stable for my computers (less than ten) it's to 
> assign fix address with :
> 
>    host PC_name1 {
>      hardware ethernet xx:xx:xx:xx:xx:xx;
>      fixed-address 192.168.0.X;
>      }
>    host PC_name2 {
>      hardware ethernet xx:xx:xx:xx:xx:yy;
>      fixed-address 192.168.0.Y;
>      }
>     ..............

It's very good solution, I use DHCP server with ip address fix
and webmin for configuration, I manage one vlan /24 without
problem
http://www.webmin.com/
http://www.webmin.com/screens/dhcpd.gif

Regards

Manu
> 
> 


-- 
Emmanuel Le Normand
Ubuntu-fr

Keep cool and take it easy... use Ubuntu, the linux for human beings




More information about the edubuntu-devel mailing list