Date: Mon, 2 Nov 2009 11:49:15 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> To: Tim Judd <tajudd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue - not giving up Message-ID: <177578.41675.qm@web30805.mail.mud.yahoo.com> In-Reply-To: <ade45ae90911020816w47e45eadr5b1cb575c97c73a2@mail.gmail.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <b043a4850910312238p79e05049ka3ce74f8f44307ed@mail.gmail.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <ade45ae90911010841v3722425ej26c645a537a55bb1@mail.gmail.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> <ade45ae90911012103h476c3ed5w7f14dc3d81e34c0f@mail.gmail.com> <356499.59817.qm@web30803.mail.mud.yahoo.com> <ade45ae90911020816w47e45eadr5b1cb575c97c73a2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
To: Dánielisz László <laszlo_danielisz@yahoo.com>
Cc: freebsd-questions@freebsd.org
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@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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?177578.41675.qm>
