Date: Sun, 1 Nov 2009 00:34:03 -0700 (PDT) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> To: patrick <gibblertron@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd related issue Message-ID: <516971.12872.qm@web30807.mail.mud.yahoo.com> In-Reply-To: <b043a4850910312238p79e05049ka3ce74f8f44307ed@mail.gmail.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <b043a4850910312238p79e05049ka3ce74f8f44307ed@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It's the same, I still don't got any IP address.
________________________________
From: patrick <gibblertron@gmail.com>
To: Dánielisz László <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ánielisz László <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="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-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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?516971.12872.qm>
