-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 05 Feb 2004 23:45, Nathan Cook wrote:
> this error:
> /etc/dhcpd.conf line 2: subnet 192.168.1.1: bad subnet number/mask
> combination.
> Subnet 192.168.1.1 netmask 255.255.255.0

> # evil.local
> Subnet 192.168.1.1 netmask 255.255.255.0 {
>       Range dynamic-bootp 192.168.1.10 192.168.1.50;
>       }

I don't think the subnet address is right.

Try
Subnet 192.168.1.0 netmask 255.255.255.0
or maybe
Subnet 192.168.1.* netmask 255.255.255.0

Try reading the documentation (man dhcpd or man dhcpd.conf or in the 
directory /usr/share/doc/dhcpd/)

I use udhcpd, which is a very minimal dhcp server.  Much simpler config file.  
Maybe a better option if you have a simple set up.

Hope this helps
Later
Lee Begg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIiK0pAHGV7d5I9kRAtN3AKCQibXPt6xbPsd8/GmsrpRcesTH/gCdHWqG
3TPkcHKCsssXveHyNCeQGS0=
=P5UC
-----END PGP SIGNATURE-----

Reply via email to