Subject: dhcpd working under 1.5B?
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 07/06/2000 05:20:19
Hi,

I've just finished updating all of my home network to 1.5B, and I've
discovered that dhcpd appears not to be working.  I've got one machine
that needs dhcp (it's my laptop from work), and I discovered over night
that it no longer could get its IP address lease.

/var/log/messages claims that no leases are available, yet looking at
/var/db/dhcp.leases shows an empty file (other than the comment about
time-zones).

I will be looking into this in more detail when I get home from work
tonight, but I was kinda sorta hoping that someone else had already run
into this and had a quick answer!

FWIW, here's my /etc/dhcpd.conf file.  All it has is the one entry for
the fixed address I want my laptop to get.  This same file has worked
forever under previous NetBSD versions, including as recently as 1.4ZB
(or was it ZD?).  Also, the server runs on i386, in case it makes any
difference.

TIA,
paul

-----------/etc/dhcpd.conf---------------
deny unknown-clients;
deny bootp;

subnet 208.25.86.144 netmask 255.255.255.240 {
	option subnet-mask 255.255.255.0;
	option routers 208.25.86.144;
	option domain-name-servers 208.25.86.146;
	option domain-name "whooppee.com";
}
host lap1 {
	hardware ethernet 0:10:4b:fe:f9:4b;
	fixed-address 208.25.86.150;
	option host-name "lap1";
}

-----------------------------------------------------------------------
|   Paul Goyette  | PGP DSS Key fingerprint:  | E-mail addresses:     |
| Network Engineer|  BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| & kernel hacker |  91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
-----------------------------------------------------------------------