View Single Post
  #1   (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
Unhappy dhcpd problems... dynamic and static leases present

Hello guys. I need some help.
In my network I have set up a dhcp server on freebsd 6.3.

But I have some troubles. Here is message log:
Code:
May 16 15:49:59 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144.
May 16 15:49:59 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144
May 16 15:49:59 netis0 dhcpd: from the dynamic address pool for 192.168.0/24
May 16 15:50:02 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144.
May 16 15:50:02 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144
May 16 15:50:02 netis0 dhcpd: from the dynamic address pool for 192.168.0/24
Here is its conf file
Code:
authoritative;
option subnet-mask 255.255.255.0;
option routers 192.168.0.2;
option ntp-servers 192.168.0.2;
option domain-name "pulsar.bg";
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.2;
option netbios-name-servers 192.168.0.2;
option netbios-node-type 8;
default-lease-time 259200;
max-lease-time 259200;
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.255.0 {

    #uknown
    pool {
        allow unknown-clients;
        deny known-clients;
        range 192.168.0.101 192.168.0.199;
    }

    #known - here I'll put hosts
    group {
        deny unknown-clients;
        host geopc {
            hardware ethernet  00:30:18:A8:06:0D;
            fixed-address 192.168.0.60;}

        host jazz {
            hardware ethernet 00:1A:4D:5C:9F:7F;
            fixed-address 192.168.0.58;}

        host vlado {
            hardware ethernet 00:1A:4D:5B:86:0B;
            fixed-address 192.168.0.144;}

        host ico {
            hardware ethernet 00:18:F3:C7:4E:14;
            fixed-address 192.168.0.155;}

    } #end of group
} #end of subnet
for hosts in blue I never get warnings, they are out of my range definition,
but for those in red I get warnings in message log.

I have declared deny known-clients but it doesnt matter...
Need help
Reply With Quote