Programme en ligne de commande pour tester le service DHCP

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Programme en ligne de commande pour tester le service DHCP

Message par ForumBot »

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 : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

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 »