Date: Sun, 1 Nov 2009 02:06:36 -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 Message-ID: <806321.83601.qm@web30807.mail.mud.yahoo.com> In-Reply-To: <516971.12872.qm@web30807.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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:=0A= =0A$ telnet 192.168.1.1 67=0ATrying 192.168.1.1...=0Atelnet: connect to add= ress 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 kernel=0AALT= Q related functions disabled=0Apf disabled=0A=0AThan I checked telnet/nmap = again but still don't found any 67 port ever there. I checked again that th= e dhcpd is running, and its up:=0A# ps ax|grep dhcp=0A 958 ?? Is 0:0= 0.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/= dhcpd.lease=0A=0AAny idea?=0A=0A=0A=0A=0A________________________________= =0AFrom: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>=0ATo: patrick = <gibblertron@gmail.com>=0ACc: freebsd-questions@freebsd.org=0ASent: Sun, No= vember 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 <gibblertron@gmail.com>=0ATo: D=E1nielisz L=E1s= zl=F3 <laszlo_danielisz@yahoo.com>=0ACc: freebsd-questions@freebsd.org=0ASe= nt: Sun, November 1, 2009 6:38:31 AM=0ASubject: Re: dhcpd related issue=0A= =0AWhat happens if you disable pf temporarily?=0A=0A2009/10/31 D=E1nielisz = L=E1szl=F3 <laszlo_danielisz@yahoo.com>:=0A> Hello,=0A>=0A> I just configur= ed 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.c= onf=0A>=0A> option domain-name "bsd";=0A> option domain-name-servers <my dn= s server ip>;=0A> option subnet-mask 255.255.255.0;=0A> authoritative;=0A>= =0A> default-lease-time 3600;=0A> max-lease-time 86400;=0A> ddns-update-sty= le none;=0A>=0A> subnet 192.168.1.0 netmask 255.255.255.0 {=0A> range 192.1= 68.1.129 192.168.1.250;=0A> option routers 192.168.1.1;=0A> }=0A>=0A> 3. Ad= ded the following ones to /etc/rc.conf=0A> ifconfig_rl1=3D"inet 192.168.1.1= netmask 255.255.255.0"=0A> dhcpd_enable=3D"YES"=0A> dhcpd_conf=3D"/usr/lo= cal/etc/dhcpd.conf"=0A> dhcpd_ifaces=3D"rl1"=0A>=0A>=0A> 4. Opened the adeq= uate port in pf=0A> pass in log on rl1 inet proto tcp from 192.168.1.0/24 t= o 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 stat= e=0A>=0A> 5.. When I start de daemon:=0A> # /usr/local/etc/rc.d/isc-dhcpd s= tart=0A> Starting dhcpd.=0A> Internet Systems Consortium DHCP Server V3.0.7= =0A> Copyright 2004-2008 Internet Systems Consortium.=0A> All rights reserv= ed.=0A> For info, please visit http://www.isc.org/sw/dhcp/=0A> Wrote 0 leas= es to leases file.=0A> Listening on Socket/rl1/192.168.1/24=0A> Sending on = Socket/rl1/192.168.1/24=0A>=0A> Everythings looks to be ok there but on t= he client (I tried OS-X and Nokia symbian) I can not obtain the IP address,= do you have any idea what should I check?=0A>=0A>=0A> Thanks!=0A> Laci=0A>= =0A>=0A>=0A> _______________________________________________=0A> freebsd-qu= estions@freebsd.org mailing list=0A> http://lists.freebsd.org/mailman/listi= nfo/freebsd-questions=0A> To unsubscribe, send any mail to "freebsd-questio= ns-unsubscribe@freebsd.org"=0A>=0A_________________________________________= ______=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.= org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail 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 unsubsc= ribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A= =0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?806321.83601.qm>