Probleme mit dem DHCP Server (Suse 8.0)

Post Reply
Message
Author
Bocki

Probleme mit dem DHCP Server (Suse 8.0)

#1 Post by Bocki »

Hallo,
um es gleich vorweg zu nehmen, ich bin blutiger Anfänger was Linux betrifft!
Ich habe mit Hilfe von linuxbu.ch und verschiedenen Tutorials ein Server auf Basis Suse Linux 8.0 aufgebaut der folgende Funktionen macht:
DHCP, Squid, Samba

Mein dhcp Server der Wochenlang gelaufen hat, verweigert plötzlich seinen Dienst!

Wenn ich dhcpd eingebe bekomme ich folgende Meldung:
server:~ # dhcpd
Internet Software Consortium DHCP Server V3.0.1rc6
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for eth1 (192.168.10.1).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **

Listening on LPF/eth0/00:00:e8:70:aa:28/192.168.1.0/24
Sending on LPF/eth0/00:00:e8:70:aa:28/192.168.1.0/24
Sending on Socket/fallback/fallback-net
There's already a DHCP server running.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
Das steht zwar oben was mit Subnet Declaration, aber ich habe keinen Plan was er mir damit sagen will! Zumal die eth1 Netzwerkkarte die DSL Karte ist.

Meine dhcpd.conf sieht wie folgt aus:
deny bootp;
authoritative;
ddns-update-style none;
ddns-updates off;
option domain-name "RS";
option netbios-node-type 1;

subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.250 192.168.1.254;
default-lease-time 10000;
max-lease-time 15000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;

}

group
{
use-host-decl-names on;
default-lease-time 100000;
max-lease-time 1500000;
# geschw. Klammer zu am Ende der Gruppe

host Pr1
{
hardware ethernet 00:0D:87:47:E3:E2;
fixed-address 192.168.1.10;
}

host We1
{
hardware ethernet 00:0D:87:2A:40:B8;
fixed-address 192.168.1.11;
}

host ve1
{
hardware ethernet 00:0D:87:51:73:CF;
fixed-address 192.168.1.12;
}
}
Wenn ich dhcpd restart oder start eingebe dann bekomme ich folgende Meldung:
server:/etc # dhcpd restart
Internet Software Consortium DHCP Server V3.0.1rc6
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for restart (0.0.0.0).
** Ignoring requests on restart. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface restart is attached. **

Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
Wie gesagt, der Server hat funktioniert und verweigert erst seit kurzem seinen Dienst!
Nein, ich habe nix an dem Server geschraubt, ich war froh das alles so toll geklappt hat!
Ich hoffe das mir jemand helfen kann ?

Gruß Bocki

CheersMichael

#2 Post by CheersMichael »

Vielleicht hat er ein Problem mit ser Subnet-Sektion.

rcdhcpd stop

(joe|vi|nano) dchpd.conf
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.250 192.168.1.254;
default-lease-time 10000;
max-lease-time 15000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
<--
}
Die mit "<--" markierte Leerzeile entfernen (Vielleicht steht das ja auch nen ungültiges Zeichen)

rcdhcpd start

BTW: ifconfig gibt Dir doch eine Schnittstelle aus, die eine IP in dem Subnetz hat, oda?

Cheers

Michael

User avatar
Hans Solo
prolinux-forum-admin
Posts: 601
Joined: 20. Apr 2004 12:19
Location: AT
Contact:

#3 Post by Hans Solo »

hi

versuch mal ein
$killall dhcpd
und dann den server starten mit
$dhcpd eth0

mfg
arno
[root@host]# cd /pub
[root@host]# more beer

DH

#4 Post by DH »

Hallo,

vielleicht liegt's nur an einem Tippfehler?

No subnet declaration for eth1 (192.168.10.1). <-------IP-Adresse!!!!
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **


Viele Grüße - Dieter

User avatar
Hans Solo
prolinux-forum-admin
Posts: 601
Joined: 20. Apr 2004 12:19
Location: AT
Contact:

#5 Post by Hans Solo »

schau mal in
/etc/sysconfig/
nach ob dort eine datei namens dhcpd ist.
in der kann man eintragen auf welchem interface der dhcpd läuft.

mfg
arno
[root@host]# cd /pub
[root@host]# more beer

Bocki

#6 Post by Bocki »

Die Erfolgsversprechendste Methode ist sich nicht selbst zu verarschen! *fg

Der Fehler den ich gemacht habe steht sogar oben drinnen!!!!!!!!
Ich war von einem anderem Tutorial noch so in Gedanken das ich dauernd dhcpd start und Restart eingegeben habe statt rcdhcpd restart !!!! *grrrr

Ich danke euch für eure Mühe!
Gruß Bocki

Post Reply