Hallo Zusammen
Nachdem ich failover eingerichtet habe, wie unten bekomme ganz oft die folgende Warnung:
Weiss jemand woran es liegen kann bzw. was ich machen muss um die Warung zu beheben.
Unten sind die Abschnitte, die ich geändert habe.
Danke
Master:
Secondary:
Nachdem ich failover eingerichtet habe, wie unten bekomme ganz oft die folgende Warnung:
Dynamic and static leases present for 192.168.1.132.
Mar 1 12:48:43 xxxx dhcpd: Remove host declaration hostname or remove 192.168.1.132
Mar 1 12:48:43 xxxx dhcpd: from the dynamic address pool for 192.168.1.0/24
Weiss jemand woran es liegen kann bzw. was ich machen muss um die Warung zu beheben.
Unten sind die Abschnitte, die ich geändert habe.
Danke
Master:
failover peer "dhcp1" {
primary;
address dhcp1.mydomin;
port 519;
peer address dhcp2.mydomin;
peer port 519;
max-response-delay 60;
max-unacked-updates 10;
mclt 3600;
split 128;
load balance max seconds 3;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
### only unregistered clients
pool {
allow unknown clients;
# use-host-decl-names on;
do-forward-updates false;
ddns-updates false;
range 192.168.1.200 192.168.1.220;
option host-name = concat("dhcp", binary-to-ascii(10,8,"",substring(leased-address,3,1)));
ddns-hostname = concat("dhcp", binary-to-ascii(10,8,"",substring(leased-address,3,1)));
}
## pooln for fail over
pool {
failover peer "dhcp1";
deny dynamic bootp clients;
use-host-decl-names on;
range 192.168.1.22 192.168.1.199;
}
Secondary:
failover peer "dhcp2" {
secondary;
address dhcp2.mydomin;
port 519;
peer address dhcp1.mydomin;
peer port 519;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
### only unregistered clients
pool {
allow unknown clients;
use-host-decl-names on;
do-forward-updates false;
ddns-updates false;
range 192.168.1.221 192.168.1.239;
option host-name = concat("dhcp", binary-to-ascii(10,8,"",substring(leased-address,3,1)));
ddns-hostname = concat("dhcp", binary-to-ascii(10,8,"",substring(leased-address,3,1)));
}
## pool for fail over
pool {
failover peer "dhcp2";
deny dynamic bootp clients;
range 192.168.1.1 192.168.1.199;
}
### static Clients without DNS-Update
# (nur der Vollstaendigkeit wegen, DNS-eintraege manuell machen)