Date: Mon, 2 Nov 2009 12:27:09 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue <- solved Message-ID: <836747.62146.qm@web30805.mail.mud.yahoo.com> In-Reply-To: <177578.41675.qm@web30805.mail.mud.yahoo.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> <177578.41675.qm@web30805.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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= <laszlo_danielisz@yahoo.com>=0ATo: Tim Judd <tajudd@gmail.com>=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 <tajudd@gmail.com>=0ATo: D=E1nielisz L=E1szl= =F3 <laszlo_danielisz@yahoo.com>=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 <laszlo_danielisz@yahoo.= com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?836747.62146.qm>