Date: Sun, 1 Nov 2009 03:28:23 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> To: krad <kraduk@googlemail.com> Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue - not giving up Message-ID: <367136.24680.qm@web30807.mail.mud.yahoo.com> In-Reply-To: <d36406630911010309w3b3486a8p96428cc294bd6ca6@mail.gmail.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <b043a4850910312238p79e05049ka3ce74f8f44307ed@mail.gmail.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> <d36406630911010309w3b3486a8p96428cc294bd6ca6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, it says:=0A=0Arl1: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,= MULTICAST> metric 0 mtu 1500=0A options=3D8<VLAN_MTU>=0A ether 00:13:= 8f:86:2f:64=0A inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.2= 55=0A media: Ethernet autoselect (100baseTX <full-duplex>)=0A status:= active=0A=0A=0A=0A=0A________________________________=0AFrom: krad <kraduk= @googlemail.com>=0ATo: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>= =0ACc: freebsd-questions@freebsd.org=0ASent: Sun, November 1, 2009 12:09:30= PM=0ASubject: Re: dhcpd related issue - not giving up=0A=0A=0A=0A=0A2009/1= 1/1 D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>=0A=0A>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>># tcpd= ump -i rl1 -n port 67 or port 68=0A>>tcpdump: verbose output suppressed, us= e -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 from 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 fro= m 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 from 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 0= 0:24:03:f1:bd:36, length 300=0A>>11:51:59.157311 IP 0.0.0.0.68 > 255.255.25= 5.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 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:2= 4:03:f1:bd:36, length 300=0A>>11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.2= 55.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300=0A>>11:57:11.= 941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6= c:86:41:d9, length 300=0A>>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=0A>>11:57:16.378= 911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:8= 6:41:d9, length 300=0A>>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=0A>>11:57:18.839763= IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:4= 1:d9, length 300=0A>=0A>=0A>=0A>=0A>=0A>=0A>>______________________________= __=0A>>From: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>=0A>>To: fr= eebsd-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 nmap on = my dhcp server, and port 67 does not seems to be opened, after I tried teln= eting 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: Connecti= on refused=0A>>telnet: Unable to connect to remote host=0A>=0A>>Than I disa= bled pf=0A>># pfctl -d=0A>>No ALTQ support in kernel=0A>>ALTQ related funct= ions disabled=0A>>pf disabled=0A>=0A>>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:=0A>># ps ax|grep dhcp=0A>> 958 ?? Is 0:00.00 /= usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.= lease=0A>=0A>>Any idea?=0A>=0A>=0A>=0A>=0A>>_______________________________= _=0A>>From: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>=0A>>To: pat= rick <gibblertron@gmail.com>=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 <gibblertron@gmail.com>= =0A>>To: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com>=0A>>Cc: freebs= d-questions@freebsd.org=0A>>Sent: Sun, November 1, 2009 6:38:31 AM=0A>>Subj= ect: Re: dhcpd related issue=0A>=0A>>What happens if you disable pf tempora= rily?=0A>=0A>>2009/10/31 D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com= >:=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 p= orts=0A>>>=0A>>> 2. edited the /usr/local/etc/dhcpd.conf=0A>>>=0A>>> option= domain-name "bsd";=0A>>> option domain-name-servers <my dns server ip>;=0A= >>> option subnet-mask 255.255.255.0;=0A>>> authoritative;=0A>>>=0A>>> defa= ult-lease-time 3600;=0A>>> max-lease-time 86400;=0A>>> ddns-update-style no= ne;=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.168.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 the adequate port in pf=0A>>> pass in log on rl1 inet prot= o tcp from 192.168.1.0/24 to 192.168.1.1 port =3D bootps flags S/SA keep st= ate=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>>> Interne= t 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>>> Lis= tening on Socket/rl1/192.168.1/24=0A>>> Sending on Socket/rl1/192.168.1/2= 4=0A>>>=0A>>> Everythings looks to be ok there but on the client (I tried O= S-X and Nokia symbian) I can not obtain the IP address, do you have any ide= a what should I check?=0A>>>=0A>>>=0A>>> Thanks!=0A>>> Laci=0A>>>=0A>>>=0A>= >>=0A>>> _______________________________________________=0A>>> freebsd-ques= tions@freebsd.org mailing list=0A>>> http://lists.freebsd.org/mailman/listi= nfo/freebsd-questions=0A>>> To unsubscribe, send any mail to "freebsd-quest= ions-unsubscribe@freebsd.org"=0A>>>=0A>>___________________________________= ____________=0A>freebsd-questions@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-quest= ions=0A>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@fr= eebsd.org"=0A>=0A>=0A>=0A>=0A>>____________________________________________= ___=0A>freebsd-questions@freebsd.org mailing list=0A>http://lists.freebsd.o= rg/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 maili= ng list=0A>http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0A>>= To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "=0A>=0Astart with the silly stuff what does ifconfig say for that interfac= e=0A=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367136.24680.qm>