undeclared subnet for eth0

dopazo jonathan neustadtwireless at hotmail.com
Tue Mar 21 14:00:29 UTC 2006


When I start the dhcpd this is the error it gives me:

#dhcpd eth0 start

Internet System Consortium DHCP Server V3.0.4b3
Copyright 2004-2005. Internet System Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.

No subnet declaration for start (0.0.0.0).

**Ignoring request on start. If this is not what you want, please, write a 
subnet declaration in your dhcpd.conf file for the network segment to which 
interface start is attached. **

Listening on LPF/eth0/00:14:85:a8:70:fc/192.168.1/24
Sending on LPF/eth0/00:14:85:a8:70:fc/192.168.1/24
Sengind on Socket/fallback/fallback-net

failover peer dhcp-failover: I move from recover to startup.

----------------------------------------------------------------------------------------------------

Any idea ?, I hope not to be the only one with this problem :(

Thanks for all,

Jonathan D.


>From: Simon Hobson <dhcp at thehobsons.co.uk>
>Reply-To: dhcp-users at isc.org
>To: dhcp-users at isc.org
>Subject: Re: undeclared subnet for eth0
>Date: Tue, 21 Mar 2006 12:25:49 +0000
>
>dopazo jonathan wrote:
>
> >This is my dhcpd.conf file:
> >
> >
> >authoritative;
> >ddns-update-style none;
> >
> >failover peer "dhcp-failover" {
> >   primary; # declare this to be the primary server
> >   address 192.168.1.100;
> >   port 520;
> >   peer address 192.168.1.200;
> >   peer port 520;
> >   max-response-delay 30;
> >   max-unacked-updates 10;
> >   load balance max seconds 3;
> >   mclt 1800;
> >   split 128;
> >}
> >
> >subnet 192.168.1.0 netmask 255.255.255.0 {
> >   option subnet-mask 255.255.255.0;
> >   option broadcast-address 192.168.1.255;
> >   option routers 192.168.1.1;
> >   pool {
> >     failover peer "dhcp-failover";
> >     max-lease-time 1800; # 30 minutes
> >     range 192.168.1.201 192.168.1.254;
> >   }
> >}
> >
> >
> >and ifconfig says.
> >
> >eth0	Protokoll:Ethernet  Hardware Adresse 00:E0:98:9E:AC:FA
> >	inet Adresse:192.168.1.100  Bcast:192.168.1.255  Maske:255.255.255.0
> >	UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >	RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >	TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >	Kollisionen:0 Sendewarteschlangenlänge:100
> >	RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >	Interrupt:11 Basisadresse:0xc000
>
>That looks OK
>
>
> >Is possible that not having a gateway crash when
> >it tries to connect to 192.168.1.1 as gateway?
>
>I assume you mean, will the dhcp server crash if
>the gateway isn't connected ? It shouldn't do
>since the dhcp server doesn't need to contact the
>gateway.
>
>
>Now, back to the original query, you say you got
>a message "undeclared subnet for eth0 to start
>(0.0.0.0)". Was this in syslog or somewhere else
>? Is this the only message you get when dhcpd
>tries to start ? If not, can you post the rest of
>the messages ?
>
>At the moment I can't see any obvious reason for the problem.
>
>Simon
>

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!



More information about the dhcp-users mailing list