Rechercher une page de manuel
dhcp-edit
Langue: en
Version: 2010-10-05 (ubuntu - 25/10/10)
Section: 8 (Commandes administrateur)
NAME
dhcp-edit - add or and remove entries to/from dhcpd.confSYNOPSIS
dhcp-edit [OPTION] HOST MAC [IP]DESCRIPTION
Add a new host entry to dhcpd.conf or remove an existing entry. Additionally restart DHCP daemon.OPTIONS
- -d
- Dry run. Do not change files.
- -h
- Print help.
- -n
- Do not restart DHCP daemon.
- -p PATTERN
- Add new entry before line matching PATTERN
- -r HOST|MAC
- Remove entry contain HOST or MAC address.
EXAMPLES
dhcp-edit host macAdd 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.
COPYRIGHT
This program is Copyright (C) 2010 by Thomas Lange <lange@informatik.uni-koeln.de>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre