DOKK / manpages / debian 10 / fai-server / dhcp-edit.8.en
DHCP-EDIT(8) DHCP-EDIT(8)

dhcp-edit - add or and remove entries to/from dhcpd.conf

dhcp-edit [OPTION] HOST MAC [IP]

Add a new host entry to dhcpd.conf or remove an existing entry. Additionally restart DHCP daemon.

Dry run. Do not change files.
Print help.
Do not restart DHCP daemon.
Add new entry before line matching PATTERN
Remove entry contain HOST or MAC address.

dhcp-edit host mac

   Add entry using host and mac address using a fixed IP address. You
   have to define the IP address in /etc/hosts or similar service.

dhcp-edit host mac ip

   Add entry using host and mac address using the numerical IP address.

dhcp-edit -r hostname|mac

   Remove line containing this hostname or mac address.

This program is Copyright (C) 2010-2015 by Thomas Lange <lange@informatik.uni-koeln.de>

2019-03-27