DHCP failover le "secondary" ne fonctionne pas

Bonjour j’ai mis un DHCP failover sur notre petit réseau local de "Maintenance"
le serveur primaire fonctionne sans problème par contre le secondaire ne fonctionne pas

voici les dhcpd.conf
primaire:


authoritative;
ddns-update-style none;
failover peer "dhcp-fo" {
	primary; 
	address 192.168.1.1;
	port 519; 
	peer address 192.168.1.10;
	peer port 520;
	max-response-delay 60;
	max-unacked-updates 10;
	mclt 3600;
	split 255;
	load balance max seconds 3;
	}
 
subnet 192.168.1.0 netmask 255.255.255.0 {
	pool{
		failover peer "dhcpfo";
		range 192.168.1.100 192.168.1.199;
		}

	option subnet-mask 255.255.255.0;
	default-lease-time 21600 ;
	max-lease-time 36000 ;

	filename "pxelinux.0";
	next-server 192.168.1.1;
	}

et du secondaire :

[code]
ddns-update-style none;
failover peer “dhcp-fo” {
secondary;
address 192.168.1.10;
port 520;
peer address 192.168.1.1;
peer port 519;
max-response-delay 60;
max-unacked-updates 10;
mclt 3600;
split 255;
load balance max seconds 3;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
pool{
failover peer “dhcpfo”;
range 192.168.1.100 192.168.1.199;
}

option subnet-mask 255.255.255.0;
default-lease-time 21600 ;
max-lease-time 36000 ;

filename "pxelinux.0";
next-server 192.168.1.10;
}[/code]

comme je suis en week-end j’apporterai plus de précision lundi, mais si vous avez une piste :wink:
source config:
kb.isc.org/article/AA-00502/0/A … lover.html

ok donc la semaine dernière le “secondary” ne fonctionnait pas (pas de DHCPACK) , mais aujourd’hui il fonctionne tout le temps lol

A ce que j’ai compris le paramètre split sur le “primary” sert pour la répartition des plages ip
Moi je veux uniquement que le serveur réponde quand il est en fonctionnement et que le secondary se taise, mais ils répondent en même temps à la requête DHCP et du coup une fois je suis redirigé vers mon PXE srveur et une autre fois sur le Backup (aléatoire).
log dhcp serveur:

Feb 9 17:48:09 Serveur-Indus dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Feb 9 17:48:09 Serveur-Indus dhcpd: Copyright 2004-2011 Internet Systems Consortium. Feb 9 17:48:09 Serveur-Indus dhcpd: All rights reserved. Feb 9 17:48:09 Serveur-Indus dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Feb 9 17:48:11 Serveur-Indus dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Feb 9 17:48:11 Serveur-Indus dhcpd: Copyright 2004-2011 Internet Systems Consortium. Feb 9 17:48:11 Serveur-Indus dhcpd: All rights reserved. Feb 9 17:48:11 Serveur-Indus dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Feb 9 17:48:11 Serveur-Indus dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Feb 9 17:48:11 Serveur-Indus dhcpd: Copyright 2004-2011 Internet Systems Consortium. Feb 9 17:48:11 Serveur-Indus dhcpd: All rights reserved. Feb 9 17:48:11 Serveur-Indus dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Feb 9 17:48:11 Serveur-Indus dhcpd: Wrote 50 leases to leases file. Feb 9 17:48:11 Serveur-Indus dhcpd: failover peer dhcp-fo: I move from normal to startup Feb 9 17:48:11 Serveur-Indus dhcpd: failover peer dhcp-fo: peer moves from normal to communications-interrupted Feb 9 17:48:12 Serveur-Indus dhcpd: failover peer dhcp-fo: I move from startup to normal Feb 9 17:48:12 Serveur-Indus dhcpd: balancing pool b92eb948 192.168.1.0/24 total 50 free 29 backup 19 lts 5 max-own (+/-)5 Feb 9 17:48:12 Serveur-Indus dhcpd: balanced pool b92eb948 192.168.1.0/24 total 50 free 29 backup 19 lts 5 max-misbal 7 Feb 9 17:48:12 Serveur-Indus dhcpd: failover peer dhcp-fo: peer moves from communications-interrupted to normal Feb 9 17:51:42 Serveur-Indus dhcpd: DHCPDISCOVER from e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:43 Serveur-Indus dhcpd: DHCPOFFER on 192.168.1.121 to e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:44 Serveur-Indus dhcpd: DHCPREQUEST for 192.168.1.121 (192.168.1.10) from e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:44 Serveur-Indus dhcpd: DHCPACK on 192.168.1.121 to e8:9d:87:0e:94:1e via eth0

Log dhcp backup:

Feb 9 17:48:07 Backup-Indus dhcpd: Copyright 2004-2011 Internet Systems Consortium. Feb 9 17:48:07 Backup-Indus dhcpd: All rights reserved. Feb 9 17:48:07 Backup-Indus dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Feb 9 17:48:07 Backup-Indus dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Feb 9 17:48:07 Backup-Indus dhcpd: Copyright 2004-2011 Internet Systems Consortium. Feb 9 17:48:07 Backup-Indus dhcpd: All rights reserved. Feb 9 17:48:07 Backup-Indus dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Feb 9 17:48:07 Backup-Indus dhcpd: Wrote 50 leases to leases file. Feb 9 17:48:08 Backup-Indus dhcpd: failover peer dhcp-fo: I move from normal to startup Feb 9 17:48:08 Backup-Indus dhcpd: failover peer dhcp-fo: peer moves from normal to communications-interrupted Feb 9 17:48:08 Backup-Indus dhcpd: failover peer dhcp-fo: I move from startup to normal Feb 9 17:48:08 Backup-Indus dhcpd: balancing pool b836e978 192.168.1.0/24 total 50 free 29 backup 19 lts -5 max-own (+/-)5 Feb 9 17:48:08 Backup-Indus dhcpd: balanced pool b836e978 192.168.1.0/24 total 50 free 29 backup 19 lts -5 max-misbal 7 Feb 9 17:48:08 Backup-Indus dhcpd: failover peer dhcp-fo: peer moves from communications-interrupted to normal Feb 9 17:48:09 Backup-Indus dhcpd: peer dhcp-fo: disconnected Feb 9 17:48:09 Backup-Indus dhcpd: failover peer dhcp-fo: I move from normal to communications-interrupted Feb 9 17:48:12 Backup-Indus dhcpd: failover peer dhcp-fo: peer moves from normal to normal Feb 9 17:48:12 Backup-Indus dhcpd: failover peer dhcp-fo: I move from communications-interrupted to normal Feb 9 17:48:12 Backup-Indus dhcpd: balancing pool b836e978 192.168.1.0/24 total 50 free 29 backup 19 lts -5 max-own (+/-)5 Feb 9 17:48:12 Backup-Indus dhcpd: balanced pool b836e978 192.168.1.0/24 total 50 free 29 backup 19 lts -5 max-misbal 7 Feb 9 17:51:42 Backup-Indus dhcpd: DHCPDISCOVER from e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:43 Backup-Indus dhcpd: DHCPOFFER on 192.168.1.121 to e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:44 Backup-Indus dhcpd: DHCPREQUEST for 192.168.1.121 (192.168.1.10) from e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:44 Backup-Indus dhcpd: DHCPACK on 192.168.1.121 to e8:9d:87:0e:94:1e via eth0 Feb 9 17:51:44 Backup-Indus dhcpd: bind update on 192.168.1.121 from dhcp-fo rejected: incoming update is less critical than outgoing update

OK donc le probleme c’est que même le paramètre split a 255, les dhcp continues a faire du “load balance” mais moi j’ai juste besoin de failover car j’ai un “next server” different (PXE)…
Avez vous une idée ?

je sent que mon sujet va tomber dans les oubliette …