[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpd is screwing with me...



Forsaken wrote:
> This is what my dhcpd.conf looks like:
> 
> ddns-update-style none;
> option domain-name "boo.local";
> option domain-name-servers 192.168.3.7,192.168.1.1;
> default-lease-time 600;
> max-lease-time 7200;
> log-facility local7;
> subnet 192.168.3.0 netmask 255.255.255.0 {
>         range 192.168.3.100 192.168.3.200;
>         option routers 192.168.3.1;
>         option broadcast-address 192.168.3.255;
>         option subnet-mask 255.255.255.0;
> }
> subnet 192.168.2.0 netmask 255.255.255.0 {
>         range 192.168.2.100 192.168.3.200;
                              ^^^^^^^^^^^^^

Are you sure you do not want 192.168.2.200 (note number two, not three)
here?

>         default-lease-time 86400;
>         max-lease-time 86400;
>         option routers 192.168.2.1;
>         option broadcast-address 192.168.2.255;
>         option subnet-mask 255.255.255.0;
>         option domain-name-servers 192.168.3.7;
> }
> 
> Whenever I try to start dhcpd, I get the following:
> 
> root@fire:/etc/dhcp3# /etc/init.d/dhcp3-server start
> dhcpd self-test failed. Please fix the config file.
> The error was: 
> Internet Systems Consortium DHCP Server V3.0.4
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Address range 192.168.2.100 to 192.168.3.200, netmask 255.255.255.0
> spans multiple subnets!

I've gotten to the above observation because of this message.


-- 
When you live in a sick society, just about everything you do is wrong.

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
http://move.to/hpkb


Reply to: