Subject: Re: dhcpd not assigning netmask correctly?
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 11/08/2006 19:55:41
Mark E. Perkins wrote:
> you can
> use 'host' statements with 'fixed-address' in dhcpd.conf. Just give the
> dns name in the fixed-address declaration.
That's what I have, as a matter of fact:
host monarch {
hardware ethernet 00:11:24:e3:60:98;
fixed-address 192.168.1.9;
option subnet-mask 255.255.255.0;
option host-name "monarch";
}
The problem seems to have gone away after fixing the subnet-mask for the
subnet:
# Set parameters for the 192.168.1.0/24 subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.208;
option subnet-mask 255.255.255.0;
option routers 192.168.1.254;
}
Maybe that was it? <shrug> It worked before but was wrongly configured.
Now it's rightly configured and works. I'll take it.
Thanks for your reply. If it breaks again I'll report back.
Regards,
--jkl