Date: Sun, 1 Nov 2009 12:39:13 +0000 From: krad <kraduk@googlemail.com> To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue - not giving up Message-ID: <d36406630911010439x3f5dba54y63f1b4612c5a3dd3@mail.gmail.com> In-Reply-To: <367136.24680.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> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <d36406630911010309w3b3486a8p96428cc294bd6ca6@mail.gmail.com> <367136.24680.qm@web30807.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/11/1 D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com> > Well, it says: > > rl1: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 > mtu 1500 > options=3D8<VLAN_MTU> > ether 00:13:8f:86:2f:64 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > > ------------------------------ > *From:* krad <kraduk@googlemail.com> > > *To:* D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com> > *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 <laszlo_danielisz@yahoo.com> > >> 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 <laszlo_danielisz@yahoo.com> >> 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 <laszlo_danielisz@yahoo.com> >> To: patrick <gibblertron@gmail.com> >> 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 <gibblertron@gmail.com> >> To: D=E1nielisz L=E1szl=F3 <laszlo_danielisz@yahoo.com> >> 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 <laszlo_danielisz@yahoo.com>: >> > 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 <my dns server ip>; >> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d36406630911010439x3f5dba54y63f1b4612c5a3dd3>