Hi Holger,
Post by Holger Baumhofweil wir in unserem Netz, außer ungewollten Clients und der
Rechneraufnahme, keine DHCP-Clients haben, die über die Leases versorgt
werden.
Das Ziel ist ja, dass alle Clients in der workstations stehen.
Die beiden "Rechner" die da abwechselnd anfragen, sind beides VMs, die aber im
bridged mode laufen und deren MAC-Adressen auch unter workstations
auftauchen. (Sonst hätten sie ja keinen (Inter-)Netzugriff)
Post by Holger BaumhofWenn du also von DHCP Requests "zugeballert" wirst, dann finde den
Verursacher und trag ihn in die workstations ein.
Ist schon eingetragen. Trotzdem kommen die Anfragen...
Übrigens steht bei mir in der Datei weiter oben nochmal der Eintrag und dort
steht auch
default-lease-time 86400;
max-lease-time 86400;
Mir scheint es so zu sein, als ob es einen Bereich für normale Clients und
einen für PXE-Boots gibt. Offenbar holen sich die VMs eine IP aus dem
PXE-Bereich.... oder liege ich da falsch?
Zur Sicherheit hier also mal meine komplette dhcpd.conf:
-------------------------------------------------------------------------------------------------------------------------
cat dhcpd.conf
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
server-identifier server;
ddns-update-style interim;
ddns-domainname "linux.lokal";
ddns-updates on;
ddns-ttl 7200;
deny client-updates;
ddns-rev-domainname "in-addr.arpa.";
update-static-leases true;
# option definitions common to all supported networks...
server-name "server.linux.lokal";
option domain-name "linux.lokal";
option domain-name-servers 10.16.1.1;
option netbios-name-servers 10.16.1.1;
option ntp-servers 10.16.1.1;
option routers 10.16.1.254;
option font-servers 10.16.1.1;
option subnet-mask 255.240.0.0;
option broadcast-address 10.31.255.255;
use-host-decl-names on; #rembo
default-lease-time 86400;
max-lease-time 86400;
include "/etc/bind/rndc.key";
zone linux.lokal {
primary 10.16.1.1;
key rndc-key;
}
zone 10.in-addr.arpa {
primary 10.16.1.1;
key rndc-key;
}
# 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;
allow booting;
allow bootp;
# pxelinux options for LINBO
option vendor-encapsulated-options
09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:
6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = string;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
site-option-space "pxelinux";
option pxelinux.magic f1:00:74:7e;
if exists dhcp-parameter-request-list {
# Always send the PXELINUX options (specified in hexadecimal)
option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-li st,d0,d1,d2,d3);
}
option configfile code 150 = string;
filename "pxelinux.0";
next-server 10.16.1.1;
# subnet for workstation import
subnet 10.16.0.0 netmask 255.240.0.0 {
range 10.16.1.100 10.16.1.200;
max-lease-time 3600;
default-lease-time 3600;
option host-name "pxeclient";
}
# dynamic part of dhcpd.conf is included
include "/etc/dhcp3/dhcpd.conf.linuxmuster";
--
Gymnasium Leoninum
c/o M. Hagedorn
Hestruper Straße 1
49838 Handrup
_______________________________________________
Hinweis:
Bitte melden Sie sich unter http://www.support-netz.de/hotline.html
an der Hotline des Support-Netzes an.
Nur so koennen wir eine langfristige Weiterentwicklung und einen
nachhaltigen und guten Support gewaehrleisten. Vielen Dank.