PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : DCHP-Server will nicht ?!?!?



MarioR
07.01.05, 18:03
Hallo,

System: Trustix Linux 2.2
DHCP Server: 3.0.1

ich habe folgende Einstellungen in der /etc/dhcpd.conf



default-lease-time 600;
max-lease-time 600;
ddns-update-style none;

option domain-name "dududa.de";
option domain-name-servers 192.168.0.1, 212.237.149.225, 217.237.151.97;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
}


wenn ich den server mit "dhcp start" starten will kommt folgende Ausgabe:


Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems 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 requests 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. **


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.


Was ist an der dhcpd.conf falsch ???
oder woran könnte es denn dann liegen ?

Gruß Mario

Tomek
07.01.05, 18:24
Ändere die Konfiguration in:

default-lease-time 600;
max-lease-time 600;
ddns-update-style none;

option domain-name "dududa.de";
option domain-name-servers 192.168.0.1, 212.237.149.225, 217.237.151.97;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option subnet-mask 255.255.255.0;
}

MarioR
07.01.05, 18:28
@ Tomek,

keine Änderung.

Stormbringer
07.01.05, 18:33
Muß die nicht für die grundlegende Konfig erst enmal eine Ebene höher?



default-lease-time 600;
max-lease-time 600;
ddns-update-style none;

option domain-name "dududa.de";
option domain-name-servers 192.168.0.1, 212.237.149.225, 217.237.151.97;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
}


Gruß

MarioR
07.01.05, 19:45
@ Stormbringer,

ebanfals keine Änderung. ... mmm ...

in dieser hier (http://www.linuxforen.de/forums/showthread.php?t=6004) Diskusion hatte der gast das gleich Problem und gelöst.

ABER WIE ?

(wie ich doch solche Beiträge liebe :( )

Stormbringer
07.01.05, 19:55
Du startest den DHCPd aber auf einer vorhandenen Netzwerkkarte mit fest vergebener IP-Adresse (bspw. eth0)?
Und diese IP-Adresse befindet sich innerhalb 192.168.0.0/24 (bspw. 192.168.0.250/255.255.255.0)?
... denn die Konfigdatei läuft hier ohne Probleme, und da fällt mir dann nur noch grundsätzliches dazu ein ...

Gruß

MarioR
07.01.05, 20:53
@ Stormbringer,

JA, die eth0 hat die IP 192.168.0.5

Ich glaube auch nicht, daß die dhcpd.conf einen Fehler hat.

Nur wo kann denn der Fehler liegen ?

Was setzt der DHCP Server voraus, welche Dienste etc. ?

heatwalker
07.01.05, 21:21
Änder den unteren Eintrag mal so ab:

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
authoritative;
}

ansonsten kann ich nichts feststellen. Bei mir läuft der DHCP jedenfalls
so. (-:

MarioR
08.01.05, 08:51
:confused: jetzt geht der sch... :confused:

1 Nacht geschlafen und ein Reboot und das funktioniert !?!?

(also wirkt auch bei Linux ein Reboot manchmal "Wunder".

In diesem Sinne Dankeschön für die Unterstützung und erst einmal
ein schönenes Wochenende.

Gruß Mario :) :cool: