Programme en ligne de commande pour tester le service DHCP

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Programme en ligne de commande pour tester le service DHCP

Message par Clippy »

Is there a simple ping-like command to test whether a DHCP service is running on a network? …on Linux




Source : Server Fault

ayi
Site Admin
Messages : 9242
Inscription : mer. 22 avr. 2026, 17:21

Re: Programme en ligne de commande pour tester le service DHCP

Message par ayi »

Even if you don’t use a Nagios monitoring server, you can grep the check_dhcp binary or compile it from source and use the check to test a DHCP-Server. E.g.


./check_dhcp -v -s <dhcp_server_address> -r <expected_ip_address> -m <mac_address_touse>

Répondre

Revenir à « Active Directory & Entra »