From owner-freebsd-questions@FreeBSD.ORG Sun Nov 1 11:00:52 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 0D678106566B for ; Sun, 1 Nov 2009 11:00:52 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30806.mail.mud.yahoo.com (web30806.mail.mud.yahoo.com [68.142.200.149]) by mx1.freebsd.org (Postfix) with SMTP id C1C418FC13 for ; Sun, 1 Nov 2009 11:00:51 +0000 (UTC) Received: (qmail 92785 invoked by uid 60001); 1 Nov 2009 11:00:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257073251; bh=FeEOoHSVYqVO3ekih+LDJSV6OnbRWec7+ONR3d307Y0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=3edE2x5okT9mTBkv6VTz76cPsTBYBKlVn/CF09nXhVUt3tymfiQiLklEaJp5eQMx0NPtEIRV/FN+prLg2C91GwjBH9Zq/4eP5S3iyZu9gXBURWUeC1a9ec1/VQ2fik5CqKOwhLOSj6ZpwCLtWVcF2XRpgAUGH1gMl6NEPEQvQ4g= 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=33VsBAHFYMODssTXjwviLJY/CQzVHCznxYg75HdEzUwV4zTRRASeozNGGM+U9M59t/Ib9udmlaqf6A/Z7e0/wMX/3Bpfxbrt5NS5Buu4MWk3ZVX2SgzHxTQPIL6jKRzcssRqraS56OuawipFPdo/RCVgu8O6dB9HamDX0sZr9FA=; Message-ID: <49594.91061.qm@web30806.mail.mud.yahoo.com> X-YMail-OSG: Jigwl0oVM1mTjFSHJkAL_G5owaUND4NnOIWosov6oC5PH8Tgx6MEsIkigGuPqlQaA5izu1gCjfJnQsY0dgoMzDSPDR0U_cEfT.IDrmXD1gvAGTdMtruX1ByQjKXJ0VWKz126POAvez_kBtesvIUXGvuvsAKo1AmEpRjDtP_UQvxkkwzlaOiq2oWq_66cUGaO_kz0gECjzwUR3iRpxhR.D203_vT48uoghJi658VKaJEn3rller91KDomNy55TgVM8HdrXlE3kscS.YcbEzxCF6.vHoRC_MUdK4t5mAtJ3IGmvydFiQEkV_.FXRCnPdHZpJJuzJ_xV7kdS0osbq5m8O7RYtG_JqfPx4yx2tut4dg9RJMP9G4k9.97mLstMO7r5Q7jRp7tSkaNIZKuxHjt.H4dgA50cco6F63vMXlHr1zMrGM3ymEfTcW5J1IPv1N_L3iTdwFm54q1KlzgSIsq37tDllYSWWENRf6O9j6kP6q2bwcgnx.EQWnlWsM- Received: from [78.131.57.57] by web30806.mail.mud.yahoo.com via HTTP; Sun, 01 Nov 2009 03:00:50 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> Date: Sun, 1 Nov 2009 03:00:50 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org In-Reply-To: <806321.83601.qm@web30807.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 - not giving up 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: Sun, 01 Nov 2009 11:00:52 -0000 I don't give it up, doing some tcpdump on my BSD I can see the dhcp request= reaches the machine, the dhcpd is running, but why doesn't gives any IP?= =0A=0A# tcpdump -i rl1 -n port 67 or port 68=0Atcpdump: verbose output supp= ressed, use -v or -vv for full protocol decode=0Alistening on rl1, link-typ= e EN10MB (Ethernet), capture size 96 bytes=0A11:51:43.086597 IP 0.0.0.0.68 = > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 30= 0=0A11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request= from 00:24:03:f1:bd:36, length 300=0A11:51:49.114960 IP 0.0.0.0.68 > 255.2= 55.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300=0A11:= 51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0= 0:24:03:f1:bd:36, length 300=0A11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.= 255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300=0A11:52:03.1= 60029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03= :f1:bd:36, length 300=0A11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67:= BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300=0A11:57:11.941379 I= P 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:= d9, length 300=0A11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/= DHCP, Request from 00:23:6c:86:41:d9, length 300=0A11:57:16.378911 IP 0.0.0= .0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, len= gth 300=0A11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, R= equest from 00:23:6c:86:41:d9, length 300=0A11:57:18.839763 IP 0.0.0.0.68 >= 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300= =0A=0A=0A=0A=0A=0A=0A________________________________=0AFrom: D=E1nielisz L= =E1szl=F3 =0ATo: freebsd-questions@freebsd.org= =0ASent: Sun, November 1, 2009 11:06:36 AM=0ASubject: Re: dhcpd related iss= ue=0A=0AI had one more idea: try nmap on my dhcp server, and port 67 does n= ot seems to be opened, after I tried telneting in and my connection was ref= used:=0A=0A$ telnet 192.168.1.1 67=0ATrying 192.168.1.1...=0Atelnet: connec= t to address 192.168.1.1: Connection refused=0Atelnet: Unable to connect to= remote host=0A=0AThan I disabled pf=0A# pfctl -d=0ANo ALTQ support in kern= el=0AALTQ related functions disabled=0Apf disabled=0A=0AThan I checked teln= et/nmap again but still don't found any 67 port ever there. I checked again= that the dhcpd is running, and its up:=0A# ps ax|grep dhcp=0A 958 ?? Is= 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/d= b/dhcpd/dhcpd.lease=0A=0AAny idea?=0A=0A=0A=0A=0A__________________________= ______=0AFrom: D=E1nielisz L=E1szl=F3 =0ATo: pa= trick =0ACc: freebsd-questions@freebsd.org=0ASent: S= un, November 1, 2009 8:34:03 AM=0ASubject: Re: dhcpd related issue=0A=0AIt'= s the same, I still don't got any IP address.=0A=0A=0A=0A=0A_______________= _________________=0AFrom: patrick =0ATo: D=E1nielisz= L=E1szl=F3 =0ACc: freebsd-questions@freebsd.or= g=0ASent: Sun, November 1, 2009 6:38:31 AM=0ASubject: Re: dhcpd related iss= ue=0A=0AWhat happens if you disable pf temporarily?=0A=0A2009/10/31 D=E1nie= lisz L=E1szl=F3 :=0A> Hello,=0A>=0A> I just con= figured my dhcpd but it gives no IP-s.=0A> What had I done until now:=0A>= =0A> 1. Installed isc-dhcp via ports=0A>=0A> 2. edited the /usr/local/etc/= dhcpd.conf=0A>=0A> option domain-name "bsd";=0A> option domain-name-servers= ;=0A> option subnet-mask 255.255.255.0;=0A> authoritativ= e;=0A>=0A> default-lease-time 3600;=0A> max-lease-time 86400;=0A> ddns-upda= te-style none;=0A>=0A> subnet 192.168.1.0 netmask 255.255.255.0 {=0A> range= 192.168.1.129 192.168.1.250;=0A> option routers 192.168.1.1;=0A> }=0A>=0A>= 3. Added the following ones to /etc/rc.conf=0A> ifconfig_rl1=3D"inet 192.1= 68.1.1 netmask 255.255.255.0"=0A> dhcpd_enable=3D"YES"=0A> dhcpd_conf=3D"/= usr/local/etc/dhcpd.conf"=0A> dhcpd_ifaces=3D"rl1"=0A>=0A>=0A> 4. Opened th= e adequate port in pf=0A> pass in log on rl1 inet proto tcp from 192.168.1.= 0/24 to 192.168.1.1 port =3D bootps flags S/SA keep state=0A> pass in log o= n rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port =3D bootps kee= p state=0A>=0A> 5.. When I start de daemon:=0A> # /usr/local/etc/rc.d/isc-d= hcpd start=0A> Starting dhcpd.=0A> Internet Systems Consortium DHCP Server = V3.0.7=0A> Copyright 2004-2008 Internet Systems Consortium.=0A> All rights = reserved.=0A> For info, please visit http://www.isc.org/sw/dhcp/=0A> Wrote = 0 leases to leases file.=0A> Listening on Socket/rl1/192.168.1/24=0A> Sendi= ng on Socket/rl1/192.168.1/24=0A>=0A> Everythings looks to be ok there bu= t on the client (I tried OS-X and Nokia symbian) I can not obtain the IP ad= dress, do you have any idea what should I check?=0A>=0A>=0A> Thanks!=0A> La= ci=0A>=0A>=0A>=0A> _______________________________________________=0A> free= bsd-questions@freebsd.org mailing list=0A> http://lists.freebsd.org/mailman= /listinfo/freebsd-questions=0A> To unsubscribe, send any mail to "freebsd-q= uestions-unsubscribe@freebsd.org"=0A>=0A___________________________________= ____________=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.fr= eebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mai= l to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A=0A____________= ___________________________________=0Afreebsd-questions@freebsd.org mailing= list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo un= subscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A= =0A=0A=0A=0A_______________________________________________=0Afreebsd-quest= ions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/f= reebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-unsu= bscribe@freebsd.org"=0A=0A=0A=0A