undeclared subnet for eth0

dopazo jonathan neustadtwireless at hotmail.com
Tue Mar 21 11:27:49 UTC 2006


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


Let´s see ...


>From: Simon Hobson <dhcp at thehobsons.co.uk>
>Reply-To: dhcp-users at isc.org
>To: dhcp-users at isc.org, dhcp-server at isc.org
>Subject: Re: undeclared subnet for eth0
>Date: Tue, 21 Mar 2006 10:47:10 +0000
>
>dopazo jonathan wrote:
>
> >ifconfig says that I have and ip (private) in one server and another one 
>in
> >the same range (192.168.1.x). Is possible that not having a gateway crash
> >when it tries to connect to 192.168.1.1  as gateway?
> >
> >I have two servers in a switch and I am trying to get ip by any of dhcpd
> >servers connecting my laptop to the switch as well.
>
>I'm not clear what you have connected to where, can you do a diagram please 
>?
>
> >When I start the hdcpd it says the same:
> >
> >undeclared subnet for eth0 to start (0.0.0.0)
>
>I'll repeat the question I asked before :
>
> >  >From: Simon Hobson <dhcp at thehobsons.co.uk>
> >>Reply-To: dhcp-server at isc.org
> >>To: dhcp-server at isc.org
> >>Subject: Re: 300 Users in two DHCP servers
> >  >Date: Mon, 6 Mar 2006 18:59:56 +0000
><snip>
> >  >What does 'ifconfig' give ?
>
>Ie, type ifconfig at the command line and copy the results. Also
>please post your dhcpd.conf file.
>
>Simon
>

_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



More information about the dhcp-users mailing list