Well, it says: rl1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<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 <kra...@googlemail.com> To: Dánielisz László <laszlo_daniel...@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ánielisz László <laszlo_daniel...@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 decode >>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ánielisz László <laszlo_daniel...@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ánielisz László <laszlo_daniel...@yahoo.com> >>To: patrick <gibblert...@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 <gibblert...@gmail.com> >>To: Dánielisz László <laszlo_daniel...@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ánielisz László <laszlo_daniel...@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="inet 192.168.1.1 netmask 255.255.255.0" >>> dhcpd_enable="YES" >>> dhcpd_conf="/usr/local/etc/dhcpd.conf" >>> dhcpd_ifaces="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 = >>> 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 = >>> 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 what 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-unsubscr...@freebsd.org" >>> >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > start with the silly stuff what does ifconfig say for that interface _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"