Subject: bin/10378: dhcpd does not work for me anymore
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
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
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        -current as of June 16
>Organization:
	
>Environment:
System: NetBSD rumolt.teuto.de 1.4ZD NetBSD 1.4ZD (RUMOLT) #0: Fri Jun 16 07:05:23 MEST 2000 martin@rumolt.teuto.de:/usr/src/sys-i4b/arch/i386/compile/RUMOLT i386


>Description:

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.

>How-To-Repeat:

Use this setup:

ifconfig vr0:
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	media: Ethernet autoselect (100baseTX full-duplex)
	status: active
	inet 212.8.203.81 netmask 0xfffffff8 broadcast 212.8.203.87

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

server-identifier	rumolt.teuto.de;

# ----------------------------------------------------------------------
# Derzeit gibt es nur ein Subnetz
# ----------------------------------------------------------------------
subnet 212.8.203.80 netmask 255.255.255.248 {
	option subnet-mask 255.255.255.248;
	option broadcast-address 212.8.203.87;
	option routers 212.8.203.81;
	option domain-name-servers 212.8.197.2, 212.8.197.3, 194.77.20.44;
	option domain-name "teuto.de";
	option netbios-name-servers 212.8.203.81;

	# 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
	#
	range 212.8.203.86;

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

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



>Fix:
Not realy, but worked for me ;-) :

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

>Release-Note:
>Audit-Trail:
>Unformatted: