Link to home
Start Free TrialLog in
Avatar of princeofsudan
princeofsudan

asked on

DHCPD authoritative

Dear Experts,

I have a problem..... I config the DHCPD as the following:-


       ddns-update-style ad-hoc;

subnet 192.168.0.0 netmask 255.255.248.0
{
        option routers                  192.168.1.2;
        option subnet-mask              255.255.248.0;

        option domain-name-servers      192.168.1.4;
        option domain-name-servers      192.168.1.5;
        option domain-name-servers      212.0.159.66;

        authoritative;
        range 192.168.4.1 192.168.5.254;
        default-lease-time 21600;
        max-lease-time 43200;
}

But I still get below messege in log file?????

necfw dhcpd: DHCPINFORM from 192.168.1.47 via eth0: not authoritative for subnet 192.168.0.0

Can you plz help.

Osama
Avatar of Cyclops3590
Cyclops3590
Flag of United States of America image

make this the first line of your config

authoritative;
verify the subnet mask on eth0 - is it 255.255.0.0 or is it 255.255.248.0 ?
dhcp range and your interface should be in the same subnet.
Avatar of princeofsudan
princeofsudan

ASKER

I did...it is same range.... but still no thing!!
please post your dhcpd.conf file,

prince, you did try my suggestion, right?
I did..... find below my config file


        ddns-update-style ad-hoc;
        authoritative;
#       boot-unknown-clients false;



subnet 192.168.0.0 netmask 255.255.248.0
{
        option routers                  192.168.1.2;
        option subnet-mask              255.255.248.0;

        option domain-name-servers      192.168.1.4;
        option domain-name-servers      192.168.1.5;
        option domain-name-servers      212.0.159.66;

        range 192.168.4.1 192.168.5.254;
        default-lease-time 21600;
        max-lease-time 43200;

}
ASKER CERTIFIED SOLUTION
Avatar of Cyclops3590
Cyclops3590
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it is work !!!!

:S

one line up....... is that make sense ???

Any way..it is working.

Thanks for help.