View Single Post
  #5   (View Single Post)  
Old 16th May 2008
edhunter's Avatar
edhunter edhunter is offline
Real Name: Georgi Iovchev
Port Guard
 
Join Date: May 2008
Location: Sofia, Bulgaria
Posts: 41
Default

Quote:
Originally Posted by 18Googol2 View Post
Code:
pool {
        allow unknown-clients;
        deny known-clients;
        range 192.168.0.101 192.168.0.143;
        range 192.168.0.145 192.168.0.154;
        range 192.168.0.156 192.168.0.199;
       }
Now stop and start dhcpd again:
Strange ... it didnt help:

Code:
May 16 16:46:14 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144.
May 16 16:46:14 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144
May 16 16:46:14 netis0 dhcpd: from the dynamic address pool for 192.168.0/24
May 16 16:46:16 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144.
May 16 16:46:16 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144
May 16 16:46:16 netis0 dhcpd: from the dynamic address pool for 192.168.0/24
EDIT: stupid me... I have been editing wrong file (dhcpd.conf-backup)
now it works with definied multiple ranges excluding fixed addressess

Last edited by edhunter; 16th May 2008 at 01:50 PM.
Reply With Quote