dhcpd related issue - not giving up

Tim Judd tajudd at gmail.com
Mon Nov 2 16:16:59 UTC 2009


On 11/2/09, Dánielisz László <laszlo_danielisz at yahoo.com> 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.


More information about the freebsd-questions mailing list