undeclared subnet for eth0
Simon Hobson
dhcp at thehobsons.co.uk
Tue Mar 21 12:25:49 UTC 2006
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
More information about the dhcp-users
mailing list