From owner-freebsd-questions@FreeBSD.ORG Sun Nov 1 12:39:15 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 929D9106566C for ; Sun, 1 Nov 2009 12:39:15 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id E43678FC20 for ; Sun, 1 Nov 2009 12:39:14 +0000 (UTC) Received: by bwz5 with SMTP id 5so5357919bwz.3 for ; Sun, 01 Nov 2009 04:39:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=mMTpzeZk4feyvJIILvTBLwfCqbLXDfJh2PbhbMyZ23Y=; b=QGlYKYbOlEpewHFDV6yuhrjSshZ9Wx1P8OQLZJ9eDe1G8G9t7BJWd2MYsIJQBn2X5X u61ahxxpNwIyhx456dXRgju/6meZTQt4NMjwWkl3TGwM4UjGostOmhvf84kfWyhjJt27 jMip1TMK/Sg8h2pcJfMClCyxAAw11fUadP9H8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z7e7V9Im5Jv+jcALLWuO2V6Gdlj4xGLH+ssHNdijRCSgmnvuQIcAn89IXNVe+XNwJp g+OawDJXxu0ZNIfe/dtxN/dv47/3xWD+Nwi/pmZxiODNRCPup7vfBuceYQDHP/BgK4kC 8OoC4n25noehfSh7+Fi86zG0wrP7YZPA0Ni7w= MIME-Version: 1.0 Received: by 10.239.145.149 with SMTP id s21mr403095hba.141.1257079153354; Sun, 01 Nov 2009 04:39:13 -0800 (PST) In-Reply-To: <367136.24680.qm@web30807.mail.mud.yahoo.com> 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> <367136.24680.qm@web30807.mail.mud.yahoo.com> Date: Sun, 1 Nov 2009 12:39:13 +0000 Message-ID: From: krad To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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 12:39:15 -0000 2009/11/1 D=E1nielisz L=E1szl=F3 > Well, it says: > > rl1: flags=3D8943 metric = 0 > mtu 1500 > options=3D8 > ether 00:13:8f:86:2f:64 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > > ------------------------------ > *From:* krad > > *To:* D=E1nielisz L=E1szl=F3 > *Cc:* freebsd-questions@freebsd.org > *Sent:* Sun, November 1, 2009 12:09:30 PM > *Subject:* Re: dhcpd related issue - not giving up > > > > 2009/11/1 D=E1nielisz L=E1szl=F3 > >> 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? >> >> # tcpdump -i rl1 -n port 67 or port 68 >> tcpdump: verbose output suppressed, use -v or -vv for full protocol deco= de >> listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >> 11: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 300 >> 11: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 >> 11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11: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 >> 11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11: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 >> 11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11: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 >> 11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11: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 >> >> >> >> >> >> >> ________________________________ >> From: D=E1nielisz L=E1szl=F3 >> To: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 11:06:36 AM >> Subject: Re: dhcpd related issue >> >> I had one more idea: try nmap on my dhcp server, and port 67 does not >> seems to be opened, after I tried telneting in and my connection was >> refused: >> >> $ telnet 192.168.1.1 67 >> Trying 192.168.1.1... >> telnet: connect to address 192.168.1.1: Connection refused >> telnet: Unable to connect to remote host >> >> Than I disabled pf >> # pfctl -d >> No ALTQ support in kernel >> ALTQ related functions disabled >> pf disabled >> >> Than I checked telnet/nmap again but still don't found any 67 port ever >> there. I checked again that the dhcpd is running, and its up: >> # ps ax|grep dhcp >> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf >> /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease >> >> Any idea? >> >> >> >> >> ________________________________ >> From: D=E1nielisz L=E1szl=F3 >> To: patrick >> Cc: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 8:34:03 AM >> Subject: Re: dhcpd related issue >> >> It's the same, I still don't got any IP address. >> >> >> >> >> ________________________________ >> From: patrick >> To: D=E1nielisz L=E1szl=F3 >> Cc: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 6:38:31 AM >> Subject: Re: dhcpd related issue >> >> 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: >> > >> > 1. 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 netmask 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 Socket/rl1/192.168.1/24 >> > >> > Everythings looks to be ok there but on the client (I tried OS-X and >> Nokia symbian) I can not obtain the IP address, do you have any idea wha= t >> should 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.org" >> > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > start with the silly stuff what does ifconfig say for that interface > > looks good are you using a managed or unmanaged switch . If its managed check the settings on it, VLANs, and whether it is forwarding broadcasts et= c