PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : clients beziehen nichts vom dhcp server



martin2002
20.11.04, 23:34
Hi.

Ich habe unter SuSE9.1 den DHCP Server/Dämon folgendermaßen konfiguriert (dhcpd.conf):


# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "simon.local";
option domain-name-servers 192.168.10.1, 192.168.10.1;
option broadcast-address 192.168.10.255;
option ntp-servers orion.simon.local;
option pop-server orion.simon.local;
option smtp-server orion.simon.local;
option subnet-mask 255.255.255.0;
#option static-routes 0.0.0.0 192.168.10.1;
option routers 192.168.10.1;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

include "hidden_key";
ddns-update-style interim;
#ignore client-updates;
ddns-updates on;

subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.30 192.168.10.200;
zone simon.local { primary 192.168.10.1; key hidden_key; }
zone 10.168.192.in-addr.arpa { primary 192.168.10.1; key hidden_key; }
}


Nur leider beziehen meine Windooze Clients (Win2000/XP) keine IP vom Server.
Ich hab außerdem SuSEFirewall2 laufen... da hab ich aber meines wissens auch alles richtig eingestellt. Hier mal einige Parameter:
FW_PROTECT_FROM_INTERNAL="no"
FW_AUTOPROTECT_SERVICES="yes"
FW_SERVICES_INT_TCP="139 53 domain http https imap imaps pop3 pop3s smtp"
FW_TRUSTED_NETS="192.168.10.0/16"
FW_SERVICE_DHCLIENT="yes"
FW_SERVICE_DHCPD="yes"

Weiß jemand warum das so ist?
thx
Martin

shb
21.11.04, 00:04
ich habs jetzt nur mal überfolgen, sehe keine fehler (ist aber auch schon spät), schalt mal die firewall ab (ich hab mit der suse firewall NUR schlechte erfahrungen gemacht) können sich die pc's sonst erreichen (pingen) ?

cu SHB

martin2002
21.11.04, 01:14
hab die firewall abgeschaltet... hat sich aber nichts verändert.
(ich würde die sowieso lieber aus lassen... ich weiß aber nicht wie ich sonst die paketweiterleitung ins wan realisieren soll?)

ja die rechner können sich pingen.

ist mir irgendwie suspekt. :confused:
vielleicht deaktiviere ich erstmal das ddns-update.

martin2002
21.11.04, 01:23
ddns-update deaktivieren hat auch nicht geholfen... habe ich aber auch nicht erwartet :rolleyes:

drcux
21.11.04, 01:53
was sagt in /var/log/messages beim Start des dhcpd und beim Einschalten eines Clienten?

martin2002
21.11.04, 13:08
hm... manchmal sagt der dhcpd direkt (beim starten von konsole):
No subnet declaration for eth-id-00:04:e2 (0.0.0.0).
** Ignoring requests on eth-id-00:04:e2. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth-id-00:04:e2 is attached. **


Not configured to listen on any interfaces!

wenn ich ihn dann nochmal starte, dann kommt manchmal der selbe fehler und manchmal ist der start erfolgreich. (in /var/log/messages steht dann auch nur das drin)

mit nem client hab ich jetzt noch nicht getestet

martin2002
21.11.04, 13:25
ok... das hat sich grad erledigt.
es war einfach nur, dass (wie ich der meldung entnommen hab) das subnet für mein lokales interface nicht gefunden wurde.
ich hab jetzt einfach in die subnet deklaration "interface eth0;" eingefügt und siehe da... es geht :D

trotzdem danke. wie sagt man so schön, manchmal sieht man den wald vor lauter bäumen nicht ;)

thx
Martin