One of my friend brings the solution, it was reinstalling 
ports/net/isc-dhcp31-server instead of ports/net/isc-dhcp30-server.
Now everything work fine!

$ sudo dhcping -v -h 00:23:6c:86:41:e3 -s 192.168.1.1
Got answer from: 192.168.1.1


# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
20:54:15.403871 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:e3, length 250
20:54:15.404320 IP 192.168.1.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, 
length 300
20:54:15.409016 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:e3, length 244
20:55:19.960973 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
20:55:19.963275 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 
300
20:57:49.958270 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
20:57:49.960509 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 
300

Thanks for all of you to your help!
Laci





________________________________
From: Dánielisz László <laszlo_daniel...@yahoo.com>
To: Tim Judd <taj...@gmail.com>
Cc: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 8:49:15 PM
Subject: 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 <taj...@gmail.com>
To: Dánielisz László <laszlo_daniel...@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_daniel...@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-unsubscr...@freebsd.org"

Reply via email to