Micetro DHCP Agent is the DHCP server agent and sits on each DHCP server machine (or in environments using MS DHCP, ISC Kea, Meraki, or cloud servers, on any machine in the network). It manages the DHCP service on your behalf, and also handles communication with any cloud providers you are using. If you want to use cloud services, make sure that the DHCP Agent and DNS Agent are running on the same machine. Additionally, it's possible to install a DHCP Agent without requiring a DHCP server to be already installed in the system.
localhost, make sure it is up-to-date and running. f you cannot
update it from within Micetro, you can update using the server controller
installer.Installing Micetro DHCP Agent is typically quite straightforward, with far fewer considerations than the Micetro DNS Agent. By default, when installation is executed, the agent installer tries to figure out the installed service (e.g., BIND) automatically and attempts to install it without further user input. If the installer cannot install the service, it prints out hints and further information.
If the machine has multiple services installed, like ISC DHCP and ISC BIND DNS, you must specify explicitly the Micetro Agents that should be installed.
To retrieve the list of available agents/parameters, run the installer script with the
--help parameter:
cd archive-name
./install --help
Micetro server controller installer.
--help: Print help.
--quiet: Suppress output during install.
--auto: Automatically determine what controllers to install. Default if no other option is given.
--bind-dns-controller: Install a DNS server controller for BIND.
--unbound-dns-controller: Install a DNS server controller for Unbound.
--generic-dns-controller: Install a Generic DNS server controller.
--isc-dhcp-controller: Install a DHCP server controller for ISC dhcpd.
--kea-dhcp-controller: Install a DHCP server controller for Kea dhcp4.
--update-controller: Install update controller. Always installed, if another Micetro service is installed.
Multiple agents can be specified. If, for example, you have both ISC Kea and ISC DHCP runnning on the machine, run the installer as follows:
./install --kea-dhcp-controller --isc-dhcp-controller
--auto parameter
and figures out the service automatically.Quiet/unattended installation is possible with the --quiet parameter (no
output at all):
./install --isc-dhcp-controller --quiet
--update-controller is added automatically.If you run into issues with the new installer, the old interactive Perl-based installer is still present in the same archive:
deprecated_installer.pl
To execute the deprecated installer for the Micetro Agents, please run it as follows:
cd archive-name
./deprecated_installer
The installer will ask a series of questions. Be prepared to answer them, as indicated below, for each component.
Installer questions
The installer asks the following questions, which pertain to the Micetro DHCP Agent:
- Do you want to install the Micetro DHCP Agent?
- Where is the DHCP server configuration file?
- Where is the DHCP server lease file?
- Enter the user and group names under which you want to run the Micetro DHCP
Agent. This must be the user which is running
dhcpd. - Where do you want to install the Micetro Agent binaries?
Installing a standalone DHCP Agent
It's also possible to install the DHCP Agent without requiring a DHCP server to be installed in Micetro or a DHCP configuration. You may want to install a standalone DHCP Agent in order to, for example, control Cisco IOS DHCP or a group of ISC Kea servers that exist elsewhere in your network.
To install a standalone DHCP Agent, use the following parameter:
--standalone-dhcp-controller
Managing Cisco with DHCP support
Micetro DHCP Agent can also manage Cisco IOS servers with DHCP support. There's no need to install any software on the Cisco device, but it is necessary to create a user account on the device that has the ability to telnet or SSH in. You will be asked for the username and password when adding the server.
When adding a Cisco IOS server to Micetro, the options are similar to those shown when adding an MS DHCP server. By default, if possible, Micetro Central will look for a copy of the DHCP Agent on the same server it is hosted on, but you can also specify a particular installation to use as a proxy. It is recommended to use a copy of the DHCP Agent that is on the same network segment as the Cisco IOS server.
- Extract the Micetro Agent install package (as
root):
tar -xzvf mmsuite-controllers-10.0.linux.x64.tgz - In the newly created
mmsuite-controllers-10.0.linux.x64directory run the installer script to install the Micetro Agent (as root):cd mmsuite-controllers-10.1.linux.x64 && ./install - Ensure the
named-checkconffile is readable:chmod a+s /usr/sbin/named-checkconf - Verify the Agent application is
running:
systemctl status mmremote