From owner-freebsd-questions@FreeBSD.ORG Sun Nov 1 13:22:55 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 9A4C51065670 for ; Sun, 1 Nov 2009 13:22:55 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30803.mail.mud.yahoo.com (web30803.mail.mud.yahoo.com [68.142.200.146]) by mx1.freebsd.org (Postfix) with SMTP id 548908FC1D for ; Sun, 1 Nov 2009 13:22:55 +0000 (UTC) Received: (qmail 95524 invoked by uid 60001); 1 Nov 2009 13:22:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257081774; bh=l8WjEJU8f9OvPSTUTe34aifixJK1aFpro7hu6C7q51g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=uW5a9ixRQkEk3vFvi6rJmQ/kKXlAR3sZNIQf4zTC9MNhjGKP6BmkeSp6jctXYE8saPmF0JdyOtoZby16RHCTrD4AQd3ETjXd27gN2DM/+kOL5YAsKxfN2ZifRrShtm/xJndk9ZH+SYxXw9+GEA9Y5kVYM72okFuCn76G3DfB9PY= 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:Cc:In-Reply-To:MIME-Version:Content-Type; b=v6v51zXxswUZW54AaEN0vGUohovOE5yRAt3R6MyZuiF4zijSh0kJYZ4eBzfU6APqZaPDrrcNYveC+vwoKVU58uUGMh++NCfv0HwCtEldVG/PJGsSHN63w8zCzSTQM2uJsDDIx5JGK4Uxcya+tgm811qIpNvgn+Nkpt2zptaH5YE=; Message-ID: <590678.95241.qm@web30803.mail.mud.yahoo.com> X-YMail-OSG: OvXTQU4VM1nikGgRt5c4k5fTCmb6krsdXyfXKt.NBW4cV1zxXuGONluQu_A.7qfvCk3E.rnoBG41T2UfmNtt.NU8cVuachnblZOKi2Foc2K47WVX7K60EtdQ3AqROv9RD.bDj44zn6ONLClery1ni2bTpAm4.54EuG2ZKQDq9zQScN86VmtuX7uEj9lCrRkackYNc5ll0p2ExwE8pQBBm2Pe_l6Xxbmhg4zBJPqtCOw2Q2voh3R0I0PmU5gXWad3Btfschy21hzPo.5_jmMP5YCfANew89rZ0GObCZjZizh5RcHGXeag32bvA0hei2GHZH4BBlZIg5OknoAZiGqyfBpOSAzKiIbJzz8ggiNOWwVX5i1lKXjafUCLoM29eueUfAu9L1x01j5drS.4L.jaVyfEetNg7iRKv5Ez6syOIxat85J2vVXjrU4Cs8UEJC7m4lBLD2QaDsjtJKZ4sbWz3zSvOVsBU20SoffC6at5oT1Pzhe5ncdycc7bvIjHvp03YsZdSvffv_myWrlG.Mn3.H_6Kg9H8T3EfC1xXmXqtYgYmqNEB9REanDbZjVEIupWi1oKEf0pucW_tLmziig- Received: from [78.131.57.57] by web30803.mail.mud.yahoo.com via HTTP; Sun, 01 Nov 2009 05:22:54 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> <367136.24680.qm@web30807.mail.mud.yahoo.com> Date: Sun, 1 Nov 2009 05:22:54 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: krad In-Reply-To: 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 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 13:22:55 -0000 Right now I'm using a layer 3 switch but I also tried with direct UTP conne= ction between BSD-s rl1 port and MacBook's en0 port and I experience the sa= me.=0A=0A=0A=0A=0A________________________________=0AFrom: krad =0ATo: D=E1nielisz L=E1szl=F3 =0ACc= : freebsd-questions@freebsd.org=0ASent: Sun, November 1, 2009 1:39:13 PM=0A= Subject: Re: dhcpd related issue - not giving up=0A=0A=0A=0A=0A2009/11/1 D= =E1nielisz L=E1szl=F3 =0A=0AWell, it says:=0A>= =0A>rl1: flags=3D8943 metri= c 0 mtu 1500=0A> options=3D8=0A>> ether 00:13:8f:86:2f:64= =0A> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255=0A> = media: Ethernet autoselect (100baseTX )=0A> status: active= =0A>=0A>=0A>=0A>=0A________________________________=0AFrom: krad =0A>=0A>To: D=E1nielisz L=E1szl=F3=0A> =0A>Cc: freebsd-questions@freebsd.org=0A>Sent: Sun, November 1, 2009 1= 2:09:30 PM=0A>Subject: Re: dhcpd related issue - not giving up=0A>=0A>=0A>= =0A>=0A>=0A>2009/11/1 D=E1nielisz L=E1szl=F3 = =0A>=0A>>>=0A>>I don't give it up, doing some tcpdump on my BSD I can see t= he 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=0A>>>>tcpdu= mp: verbose output suppressed, use -v or -vv for full protocol decode=0A>>>= >listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes=0A>>>= >11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request fr= om 00:24:03:f1:bd:36, length 300=0A>>>>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=0A>>= >>11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request f= rom 00:24:03:f1:bd:36, length 300=0A>>>>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=0A>= >>>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=0A>>>>11:52:03.160029 IP 0.0.0.0.68 > 25= 5.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300=0A= >>>>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=0A>>>>11:57:11.941379 IP 0.0.0.0.68 > 2= 55.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300= =0A>>>>11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Requ= est from 00:23:6c:86:41:d9, length 300=0A>>>>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 30= 0=0A>>>>11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Req= uest from 00:23:6c:86:41:d9, length 300=0A>>>>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 3= 00=0A>>=0A>>=0A>>=0A>>=0A>>=0A>>=0A>>>>________________________________=0A>= >>>From: D=E1nielisz L=E1szl=F3 =0A>>>>To: free= bsd-questions@freebsd.org=0A>>>>Sent: Sun, November 1, 2009 11:06:36 AM=0A>= >>>Subject: Re: dhcpd related issue=0A>>=0A>>>>I had one more idea: try nma= p on my dhcp server, and port 67 does not seems to be opened, after I tried= telneting in and my connection was refused:=0A>>=0A>>>>$ telnet 192.168.1.= 1 67=0A>>>>Trying 192.168.1.1...=0A>>>>telnet: connect to address 192.168.1= .1: Connection refused=0A>>>>telnet: Unable to connect to remote host=0A>>= =0A>>>>Than I disabled pf=0A>>>># pfctl -d=0A>>>>No ALTQ support in kernel= =0A>>>>ALTQ related functions disabled=0A>>>>pf disabled=0A>>=0A>>>>Than I = checked telnet/nmap again but still don't found any 67 port ever there. I c= hecked 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/d= hcpd.conf -lf /var/db/dhcpd/dhcpd.lease=0A>>=0A>>>>Any idea?=0A>>=0A>>=0A>>= =0A>>=0A>>>>________________________________=0A>>>>From: D=E1nielisz L=E1sz= l=F3 =0A>>>>To: patrick = =0A>>>>Cc: freebsd-questions@freebsd.org=0A>>>>Sent: Sun, November 1, 2009 = 8:34:03 AM=0A>>>>Subject: Re: dhcpd related issue=0A>>=0A>>>>It's the same,= I still don't got any IP address.=0A>>=0A>>=0A>>=0A>>=0A>>>>______________= __________________=0A>>>>From: patrick =0A>>>>To: D= =E1nielisz L=E1szl=F3 =0A>>>>Cc: freebsd-questi= ons@freebsd.org=0A>>>>Sent: Sun, November 1, 2009 6:38:31 AM=0A>>>>Subject:= Re: dhcpd related issue=0A>>=0A>>>>What happens if you disable pf temporar= ily?=0A>>=0A>>>>2009/10/31 D=E1nielisz L=E1szl=F3 :=0A>>>>> Hello,=0A>>>>>=0A>>>>> I just configured 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-serve= rs ;=0A>>>>> option subnet-mask 255.255.255.0;=0A>>>>> au= thoritative;=0A>>>>>=0A>>>>> default-lease-time 3600;=0A>>>>> max-lease-tim= e 86400;=0A>>>>> ddns-update-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 followi= ng ones to /etc/rc.conf=0A>>>>> ifconfig_rl1=3D"inet 192.168.1.1 netmask 2= 55.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. Op= ened the 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 on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port= =3D bootps keep state=0A>>>>>=0A>>>>> 5.. When I start de daemon:=0A>>>>> = # /usr/local/etc/rc.d/isc-dhcpd start=0A>>>>> Starting dhcpd.=0A>>>>> Inter= net Systems Consortium DHCP Server V3.0.7=0A>>>>> Copyright 2004-2008 Inter= net Systems Consortium.=0A>>>>> All rights reserved.=0A>>>>> For info, plea= se visit http://www.isc.org/sw/dhcp/=0A>>>>> Wrote 0 leases to leases file.= =0A>>>>> Listening on Socket/rl1/192.168.1/24=0A>>>>> Sending on Socket/r= l1/192.168.1/24=0A>>>>>=0A>>>>> Everythings looks to be ok there but on the= client (I tried OS-X and Nokia symbian) I can not obtain the IP address, d= o you have any idea what should I check?=0A>>>>>=0A>>>>>=0A>>>>> Thanks!=0A= >>>>> Laci=0A>>>>>=0A>>>>>=0A>>>>>=0A>>>>> ________________________________= _______________=0A>>>>> freebsd-questions@freebsd.org mailing list=0A>>>>> = http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0A>>>>> To unsu= bscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A>>>= >>=0A>>>>_______________________________________________=0A>>freebsd-questi= ons@freebsd.org mailing list=0A>>http://lists.freebsd.org/mailman/listinfo/= freebsd-questions=0A>>>>To unsubscribe, send any mail to "freebsd-questions= -unsubscribe@freebsd.org"=0A>>=0A>>=0A>>=0A>>=0A>>>>_______________________= ________________________=0A>>freebsd-questions@freebsd.org mailing list=0A>= >http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0A>>>>To unsub= scribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A>>= =0A>>=0A>>=0A>>=0A>>>>_______________________________________________=0A>>f= reebsd-questions@freebsd.org mailing list=0A>>http://lists.freebsd.org/mail= man/listinfo/freebsd-questions=0A>>>>To unsubscribe, send any mail to "free= bsd-questions-unsubscribe@freebsd.org"=0A>>=0A>>=0A>>=0A>>=0A>>>>__________= _____________________________________=0A>>freebsd-questions@freebsd.org mai= ling list=0A>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions= =0A>>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@free= bsd.org"=0A>>=0A>start with the silly stuff what does ifconfig say for that= interface=0A>=0A>=0A=0Alooks good are you using a managed or unmanaged swi= tch . If its managed check the settings on it, VLANs, and whether it is for= warding broadcasts etc=0A=0A=0A=0A