From owner-freebsd-questions@FreeBSD.ORG Sun Nov 1 06:07:09 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 A7037106568B for ; Sun, 1 Nov 2009 06:07:09 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 7D30E8FC16 for ; Sun, 1 Nov 2009 06:07:09 +0000 (UTC) Received: by pzk40 with SMTP id 40so2611685pzk.7 for ; Sat, 31 Oct 2009 23:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Yj3o+uqQlQeFzLtejI6T5gO9prjISc4n9YklY5ClDXs=; b=jWJwYgyq6TpW6k2hkG/MOl5G5sTxsnaQghgm/r6wZ1Cv9DXsIMLRRx8/xiNcoup/2I vliKYRT9fu4/7izRaSL0/29NwcG+ptOrlQiHy1QhkWwcg98epPfPplaLn4LWzBPJHjzi tCHc6KOYaq9Qkqrd7HEHXrTHH4pLf6nqyM02o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VrpGfbxPt5ZXX7pgimsL3ARXd8rDoBN9WblaCyhycuFY4S5uLSMGyRMrZdpA+jOT2A T+lGRYqR3RkpGvAZf5yZRoYmEqdCZ1IfdYUI+zjH8q8EIgT0q2li9xtTUJC0g3n7VJXD 02QLIe/RGY0tx22cxcRuoKykLw5AsvPQz01A8= MIME-Version: 1.0 Received: by 10.143.21.29 with SMTP id y29mr342785wfi.175.1257053911915; Sat, 31 Oct 2009 22:38:31 -0700 (PDT) In-Reply-To: <82804.79685.qm@web30804.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> Date: Sat, 31 Oct 2009 22:38:31 -0700 Message-ID: From: patrick To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue 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 06:07:09 -0000 What happens if you disable pf temporarily? 2009/10/31 D=E1nielisz L=E1szl=F3 : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > =A01. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1=3D"inet 192.168.1.1 =A0netmask 255.255.255.0" > dhcpd_enable=3D"YES" > dhcpd_conf=3D"/usr/local/etc/dhcpd.conf" > dhcpd_ifaces=3D"rl1" > > > 4. Opened the adequate port in pf > 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 > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port= =3D bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on =A0 Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Noki= a symbian) I can not obtain the IP address, do you have any idea what shoul= d I check? > > > Thanks! > Laci > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >