Re: dhcpd not assigning netmask correctly?

"James K. Lowden" <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.