[svlug] DHCPD error

ericv ericv at cruzio.com
Mon Jan 29 17:03:26 PST 2007


192.168.0.0 is static.
192.168.1.0 is dynamic.

Without the minimal 192.168.0.0 def, dhcpd won't start.

On Mon, 29 Jan 2007 16:49:07 -0800, Bill Teeple wrote
> could just be me....
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
> option subnet-mask 255.255.255.0;
> option routers 192.168.0.1;
> }
> 
> You have no settings for your 192.168.0.0 network?  Is this by design?
> 
> Or do you have 3 networks operating on the same SWITCH?
> 
> Why put 192.168.0.0/24 in the DHCP Conf file, if there are no leases 
> to give on it?
> 
> Bill
> 
> ericv wrote:
> > I have a /23 network, 192.168.0.0/24 and 192.168.1.0/24.
> >
> > My dhcpd.conf is:
> >
> > =====
> > server-name "server.domain";
> > ddns-updates on;
> > ddns-update-style interim;
> > ddns-domainname "dyn.domain.";
> > ddns-rev-domainname "1.168.192.in-addr.arpa.";
> > option subnet-mask 255.255.254.0;
> > option routers 192.168.0.1;
> > send fqdn.fqdn "domain.";
> > send fqdn.encoded on;
> > send fqdn.server-update off;
> >
> > subnet 192.168.1.0 netmask 255.255.255.0 {
> > ddns-rev-domainname "1.168.192.in-addr.arpa";
> > ddns-updates on;
> > ddns-update-style interim;
> > authoritative;
> > allow unknown-clients;
> > allow client-updates;
> > option domain-name-servers server.domain;
> > option domain-name "domain";
> > option broadcast-address 192.168.1.255;
> > option subnet-mask 255.255.255.0;
> > option routers 192.168.0.1;
> > ddns-domainname "dyn.domain";
> > max-lease-time 259200;
> > default-lease-time 259200;
> > ddns-updates on;
> > range 192.168.1.1 192.168.1.253;
> > key tsig-key {
> >         algorithm hmac-md5;
> >         secret "secretgoeshere";
> >         }
> > zone dyn.domain {
> >         primary 192.168.0.10;
> >         key tsig-key;
> >         }
> >
> > zone 1.168.192.in-addr.arpa {
> >         primary 192.168.0.10;
> >         key tsig-key;
> >         }
> > }
> > subnet 192.168.0.0 netmask 255.255.255.0 {
> > option subnet-mask 255.255.255.0;
> > option routers 192.168.0.1;
> > }
> > =====
> >
> > dhcpd starts, but gives no leases.  Syslog reveals:
> >
> > =====
> > dhcpd: DHCPDISCOVER from 00:80:77:37:a8:02 via eth0: network 192.168.0.0/24:
> > no free leases
> > =====
> >
> > Any ideas?
> >
> > --
> > Eric N. Valor
> > http://www.alsa.org
> > (sent from my web client)
> >
> >
> > _______________________________________________
> > svlug mailing list
> > svlug at lists.svlug.org
> > http://lists.svlug.org/lists/listinfo/svlug
> >


--
Eric N. Valor
http://www.alsa.org
(sent from my web client)





More information about the svlug mailing list