oui, voici le résultat de systemctl status :
Code : Tout sélectionner
user@serveur:~$ sudo systemctl status isc-dhcp-server.service
[sudo] password for user:
× isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Sun 2023-10-08 22:47:07 CEST; 19h ago
Docs: man:systemd-sysv-generator(8)
Process: 3838 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
CPU: 48ms
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: bugs on either our web page at www.isc.org or in the>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: before submitting a bug. These pages explain the pr>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: process and the information we find helpful for debu>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: exiting.
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: Starting ISC DHCPv4 server: dhcpdcheck sys>
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: failed!
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Control process exited, code>
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Failed with result 'exit-cod>
Oct 08 22:47:07 serveur.isec.local systemd[1]: Failed to start isc-dhcp-server.service - LSB: DHCP s>
...skipping...
× isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Sun 2023-10-08 22:47:07 CEST; 19h ago
Docs: man:systemd-sysv-generator(8)
Process: 3838 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
CPU: 48ms
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: bugs on either our web page at www.isc.org or in the>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: before submitting a bug. These pages explain the pr>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: process and the information we find helpful for debu>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: exiting.
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: Starting ISC DHCPv4 server: dhcpdcheck sys>
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: failed!
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Control process exited, code>
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Failed with result 'exit-cod>
Oct 08 22:47:07 serveur.isec.local systemd[1]: Failed to start isc-dhcp-server.service - LSB: DHCP s>
Et voici le résultat de sudo journalctl -xeu isc-dhcp-server.service :
Code : Tout sélectionner
user@serveur:~$ sudo journalctl -xeu isc-dhcp-server.service
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: No subnet declaration for enp3s0 (192.168.200.254).
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: ** Ignoring requests on enp3s0. If this is not what
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: you want, please write a subnet declaration
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: in your dhcpd.conf file for the network segment
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: to which interface enp3s0 is attached. **
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: No subnet declaration for enp2s0 (192.168.0.29).
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: ** Ignoring requests on enp2s0. If this is not what
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: you want, please write a subnet declaration
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: in your dhcpd.conf file for the network segment
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: to which interface enp2s0 is attached. **
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: Not configured to listen on any interfaces!
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: If you think you have received this message due to a>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: than a configuration issue please read the section o>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: bugs on either our web page at www.isc.org or in the>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: before submitting a bug. These pages explain the pr>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: process and the information we find helpful for debu>
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]:
Oct 08 22:47:05 serveur.isec.local dhcpd[3850]: exiting.
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: Starting ISC DHCPv4 server: dhcpdcheck sys>
Oct 08 22:47:07 serveur.isec.local isc-dhcp-server[3838]: failed!
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Control process exited, code>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit isc-dhcp-server.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Oct 08 22:47:07 serveur.isec.local systemd[1]: isc-dhcp-server.service: Failed with result 'exit-cod>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit isc-dhcp-server.service has entered the 'failed' state with result 'exit-code'.
Oct 08 22:47:07 serveur.isec.local systemd[1]: Failed to start isc-dhcp-server.service - LSB: DHCP s>
░░ Subject: A start job for unit isc-dhcp-server.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit isc-dhcp-server.service has finished with a failure.
░░
░░ The job identifier is 2037 and the job result is failed.
lines 69-116/116 (END)
Si je comprends bien, il me reproche de ne pas avoir déclaré de zones DHCP sur chacune des interfaces ? Mais comment aurais-je pu en déclarer alors que je n'avais pas encore installé le service ?
Pour votre bonne compréhension :
enp2s0 est l'interface reliée à ma box, l'ip est donnée par le DHCP de ma box.
enp3s0 est l'interface à laquelle je relierai plus tard mon réseau interne. Actuellement rien n'est branché dessus.