Subject: bin/10378: dhcpd does not work for me anymore
To: None <>
From: Martin Husemann <>
List: netbsd-bugs
Date: 06/16/2000 05:13:14
>Number:         10378
>Category:       bin
>Synopsis:       dhcpd does not work for me anymore
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 16 05:14:00 PDT 2000
>Originator:     Martin Husemann
>Release:        -current as of June 16
System: NetBSD 1.4ZD NetBSD 1.4ZD (RUMOLT) #0: Fri Jun 16 07:05:23 MEST 2000 i386


After the import of the new dhcpd (and the fixing of crashes thereafter)
dhcpd stopped working for me. It receives packets and the simply ignores
them, no answer is ever send. Nothing is loged.


Use this setup:

ifconfig vr0:
	media: Ethernet autoselect (100baseTX full-duplex)
	status: active
	inet netmask 0xfffffff8 broadcast

# ----------------------------------------------------------------------
# dhcpd.conf fuer das Subnetz bei Martin zu Hause
# ----------------------------------------------------------------------


# ----------------------------------------------------------------------
# Derzeit gibt es nur ein Subnetz
# ----------------------------------------------------------------------
subnet netmask {
	option subnet-mask;
	option broadcast-address;
	option routers;
	option domain-name-servers,,;
	option domain-name "";
	option netbios-name-servers;

	# Dauer einer lease: 10 Minuten, ausser der client will
	# unbedingt mehr...
	default-lease-time 600;
	max-lease-time 7200;

	# Zur Vereinfachung von Neuinstallation haben wir einen
	# kleinen Bereich von dynamischen Nummern

	# fixe IP Nummern:
	host hwart {
		hardware ethernet 00:a0:c9:25:13:84;
		server-name "";
		option root-path "/usr/exp/hosts/hwart";
	host asprian {
		hardware ethernet 00:50:ba:e0:1f:e5;
		server-name "";
		option root-path "/usr/exp/hosts/asprian";
	host alzey {
		hardware ethernet 00:00:b4:32:66:54;
		server-name "";
		option root-path "/usr/exp/hosts/alzey";

# ----------------------------------------------------------------------

Not realy, but worked for me ;-) :

cd /usr/src/usr.sbin/dhcp; cvs -z3 update -D "Jun 7, 2000"; make; make install