From owner-freebsd-questions@FreeBSD.ORG Mon Nov 2 20:27:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF34E106566C for ; Mon, 2 Nov 2009 20:27:10 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30805.mail.mud.yahoo.com (web30805.mail.mud.yahoo.com [68.142.200.148]) by mx1.freebsd.org (Postfix) with SMTP id 7BB9C8FC27 for ; Mon, 2 Nov 2009 20:27:10 +0000 (UTC) Received: (qmail 62863 invoked by uid 60001); 2 Nov 2009 20:27:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257193629; bh=JiHzbmP43sdKhUf6qgjRNHLcSX3dIgULLkmEOlqxDA0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=y0sRm5D83eaSDqCfh+6TucAz3Snmqk6xn9dYMCygQBNWks3MOGU3IwYXa11dmNAwsZc45BNmUJuHf9dRzV2XFjFp+/dnTfDGX7V73F3m3NeIHw4G3iM6JDxUlCgtACOX7iHEXFKKBTjk1vfo5K8CN+ImbX9wWaVhWOMQEt07DwM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=bEDI7XfuiuKHz94JziqTvHOd1kchB/qnNsTw9JvdX4FF3S7I1TrIGnuCc1gk9Cbvb6Pd1Xsi7Q9t7URB2yzehcXs/MZSHm8MXzh+FIULPm7rwynZh4Y3uS/J+7zBX4b0cjxUHkjhCz1yRYyomE5tbu0d8FRaUEeHAzVA2h8KIyo=; Message-ID: <836747.62146.qm@web30805.mail.mud.yahoo.com> X-YMail-OSG: 3PTjH9UVM1mBM.mXuLKzrS.zZi7FsqYW0bKmNMScIl.WlNqWutgu3DqlItcMR6CMVch51CuuFaJ1PQU3EqNvtRsp5SqozgjwqAsxKdauG12YsWf07uf8Ulvxnwm44zSIjx0a11biCWvEL_11zA0O1T3YyT7R6Dc4MYhPW48BdRUPiNOrzQ0siYS5bwGlP3adcPIHFJ8OApR_WPMnlVMg5VL_jzjWaySLpUuEmgdzE0IFLjzhnLHXKdbDwsw2D3vfdSXTIDrStlnBCR03f3mwo8D2E744Ji5UT6IZiot9nklEgo4Y4UL_bPtmi9dQJhZLPjx8JTO4MjcQnWG9d1LT.tw__8XppBi1YTltuEXyzvQQtkW7rL31VEEOXdjUv3MyF5bT6.RN4.AfVZVUAAQwLjx2awa1yZI8S8Q9_L_WvHphKPfIXCMkUtmzG2q4wybZSb0tgMigOswGZAS8sUKM_lcMeGhcIO3WCw_RANCbUWS3rUvNBfLtXa5kMxmYpZCq0r9FHbU- Received: from [89.223.129.111] by web30805.mail.mud.yahoo.com via HTTP; Mon, 02 Nov 2009 12:27:09 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <82804.79685.qm@web30804.mail.mud.yahoo.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> <479349.15334.qm@web30804.mail.mud.yahoo.com> <356499.59817.qm@web30803.mail.mud.yahoo.com> <177578.41675.qm@web30805.mail.mud.yahoo.com> Date: Mon, 2 Nov 2009 12:27:09 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org In-Reply-To: <177578.41675.qm@web30805.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: dhcpd related issue <- solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2009 20:27:10 -0000 One of my friend brings the solution, it was reinstalling ports/net/isc-dhc= p31-server instead of ports/net/isc-dhcp30-server.=0ANow everything work fi= ne!=0A=0A$ sudo dhcping -v -h 00:23:6c:86:41:e3 -s 192.168.1.1=0AGot answer= from: 192.168.1.1=0A=0A=0A# tcpdump -i rl1 -n port 67 or port 68=0Atcpdump= : verbose output suppressed, use -v or -vv for full protocol decode=0Aliste= ning on rl1, link-type EN10MB (Ethernet), capture size 96 bytes=0A20: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=0A20:54:15.404320 IP 192.168.1.1.67 > 255.255.255.= 255.68: BOOTP/DHCP, Reply, length 300=0A20: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= =0A20:55:19.960973 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Reques= t from 00:23:6c:86:41:d9, length 300=0A20:55:19.963275 IP 192.168.1.1.67 > = 192.168.1.202.68: BOOTP/DHCP, Reply, length 300=0A20:57:49.958270 IP 192.16= 8.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, le= ngth 300=0A20:57:49.960509 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP= , Reply, length 300=0A=0AThanks for all of you to your help!=0ALaci=0A=0A= =0A=0A=0A=0A________________________________=0AFrom: D=E1nielisz L=E1szl=F3= =0ATo: Tim Judd =0ACc: freeb= sd-questions@freebsd.org=0ASent: Mon, November 2, 2009 8:49:15 PM=0ASubject= : Re: dhcpd related issue - not giving up=0A=0AThank you for your advice, I= tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s= .=0ARight now it's reinstalling the port.=0A=0A=0A=0A=0A___________________= _____________=0AFrom: Tim Judd =0ATo: D=E1nielisz L=E1szl= =F3 =0ACc: freebsd-questions@freebsd.org=0ASent= : Mon, November 2, 2009 5:16:58 PM=0ASubject: Re: dhcpd related issue - not= giving up=0A=0AOn 11/2/09, D=E1nielisz L=E1szl=F3 wrote:=0A> I tried about 10 conf, here is the actual one:=0A>=0A> # ca= t /usr/local/etc/dhcpd.conf=0A> authoritative;=0A> ddns-update-style none;= =0A>=0A> subnet 192.168.1.0 netmask 255.255.255.0 {=0A> option routers 19= 2.168.1.1;=0A>=0A>=0A> pool {=0A> option domain-name-servers cns= 01.hdsnet.hu;=0A> max-lease-time 300;=0A> range 192.1= 68.1.200 192.168.1.253;=0A> allow unknown-clients;=0A> = }=0A> }=0A=0A=0AIt looks awkward...=0A I don't recall ever seeing a pool i= nside a subnet declaration like this.=0AA subnet declaration can use all th= e declaration in your pool.=0A=0APure curiousity, because I am not looking = up the config syntax..=0Acomment out (or delete) the pool { and } lines onl= y. which bring the=0Astatements to the subnet clause.=0A=0A=0Arestart dhcp= d, and retry=0A=0AIIRC, pools are only useful if you have two pool definiti= ons.=0A=0Athanks... hope this works.=0A=0A=0A