From: Chris Sorenson on
Eric Hameleers wrote:
>
> It would be better if _you_ would post your dhcpd.conf file...
>
> One quick check you can already make - is the following line present?
> If not, your server will not hand out IP addresses:
>
> authoritative;
>

Yep authoritative is in there.

I didn't want to post the file because I've diddled around with it so
much trying to get it to work that it's probably in an entirely
nonsensical state, but whatev, here it is:

# ISC DHCP-Server Configuration
# /etc/dhcpd.conf
#
# LAN I want to server IP addresses to:
#
subnet 10.4.0.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 604800;
ddns-update-style none;
authoritative;
range 10.4.0.40 10.4.0.60;
option subnet-mask 255.255.255.0;
option domain-name "frop.org";
option domain-name-servers 10.4.0.101, 205.171.3.25;
option routers 10.4.0.101;
allow unknown-clients;
}

#
# the outside world:
#
subnet 71.193.95.0 netmask 255.255.255.0 {
}
From: Chris Sorenson on
Robby Workman wrote:
> On 2010-06-26, Chris Sorenson <csoren(a)isd.net> wrote:
>
>>
>>So, if someone has dhcpd working on Slackware 13.1 would you please
>>please PLEASE post your dhcpd.conf file here?
>>
>
> log-facility local7;
> ddns-update-style interim;
> #allow client-updates;
> default-lease-time 43200;
> max-lease-time 86400;
> option subnet-mask 255.255.255.0;
>
> subnet 192.168.1.0 netmask 255.255.255.0
> {
> authoritative;
> ddns-update-style interim;
> ddns-domainname "rwhome.lan";
> do-forward-updates on;
> range 192.168.1.128 192.168.1.254;
> option broadcast-address 192.168.1.255;
> option subnet-mask 255.255.255.0;
> option domain-name-servers 192.168.1.1;
> option routers 192.168.1.1;
> option domain-name "rwhome.lan";
> option ntp-servers us.pool.ntp.org;
>
> # public wifi - linksys wap54g
> host wifipub
> {
> hardware ethernet 00:1E:E5:F7:09:51;
> fixed-address 192.168.1.2;
> }
>
> ... other host decls ...
> }
>

You only have one subnet declared? On mine, dhcpd exits immediately
if there's a subnet on the machine that's not declared in dhcpd.conf.
That is new behavior, previous versions of dhcpd didn't do that...
From: Helmut Hullen on
Hallo, Chris,

Du meintest am 26.06.10:

>> What about "dnsmasq" instead of the ISC "named" and "dhcp"? and
>> "pump" for getting the external DHCP server's data?

> Yah but then what do I do with my isc t-shirt?

Outside the machine: wear the t-shirt, for impressing the geeks. And
inside: use dnsmasq.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

From: Hans on
On 06/26/2010 08:42 AM, Chris Sorenson wrote:
> Greets all,
>
> I installed 13.1 on my firewall and, much to my deep consternation,
> dhcpd doesn't work. I'm sure it's my dhcpd.conf file, which (of
> course) has been working fine for years until now. So, I spent quite a
> bit of time with `man dhcpd.conf` and editing the file and restarting
> the daemon, all with zero result. The thing just will not serve out
> IP addresses. :(
>
> So, if someone has dhcpd working on Slackware 13.1 would you please
> please PLEASE post your dhcpd.conf file here? C'mon... I'll give ya
> five bucks! :P

Firewall? src 0.0.0.0 dest 255.255.255.255 ?

--
Hans
First  |  Prev  | 
Pages: 1 2
Prev: reading Word docs
Next: md5sum problems