Re: dhcpd related issue - not giving up



Thank you for your advice, I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s.
Right now it's reinstalling the port.




________________________________
From: Tim Judd <tajudd@xxxxxxxxx>
To: Dánielisz László <laszlo_danielisz@xxxxxxxxx>
Cc: freebsd-questions@xxxxxxxxxxx
Sent: Mon, November 2, 2009 5:16:58 PM
Subject: Re: dhcpd related issue - not giving up

On 11/2/09, Dánielisz László <laszlo_danielisz@xxxxxxxxx> wrote:
I tried about 10 conf, here is the actual one:

# cat /usr/local/etc/dhcpd.conf
authoritative;
ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;


pool {
option domain-name-servers cns01.hdsnet.hu;
max-lease-time 300;
range 192.168.1.200 192.168.1.253;
allow unknown-clients;
}
}


It looks awkward...
I don't recall ever seeing a pool inside a subnet declaration like this.
A subnet declaration can use all the declaration in your pool.

Pure curiousity, because I am not looking up the config syntax..
comment out (or delete) the pool { and } lines only. which bring the
statements to the subnet clause.


restart dhcpd, and retry

IIRC, pools are only useful if you have two pool definitions.

thanks... hope this works.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"




_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: dhcpd related issue <- solved
    ... I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s. ... option routers 192.168.1.1; ... I don't recall ever seeing a pool inside a subnet declaration like this. ...
    (freebsd-questions)
  • Re: dhcpd related issue - not giving up
    ... option routers 192.168.1.1; ... I don't recall ever seeing a pool inside a subnet declaration like this. ...
    (freebsd-questions)