Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > IP Address Manager (IPAM) > IPAM Administrator Guide > DHCP management

DHCP management

Created by Nanette.Neal, last modified by Nanette.Neal on Jul 15, 2016

Views: 399 Votes: 0 Revisions: 2

IPAM allows you to manage ISC & Cisco DHCP Servers, ASA devices, and Windows DHCP servers.

Choose from the topics below:

Adding DHCP Servers to IPAM (DHCP servers already exist as nodes)

Manually add nodes

DHCP Scopes Management

DHCP Split Scopes

Cisco DHCP & ASA Requirements

ISC DHCP Requirements

Requirements for Monitoring Cisco DHCP servers

To monitor Cisco IOS DHCP servers in IPAM, the devices being added must support the following:

  • Cisco Commands that need to be supported:
    • - show running-config 
    •  - show ip dhcp pool 
    • - show ip dhcp binding 
  • ASA Devices require these commands:
    • -show dhcpd binding-show running-config dhcpd-show dhscpd statistics
    • -show interface l inc interface l ip address
  • The device needs to be a Layer 3 Switch or Router.
  • The IOS must be version 12.2(8)T or later.

Enable level 15 is required to view the complete configuration. This is due to how IOS manages permission levels and configuration information. For more information see http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800949d5.shtml.

ISC DHCP Server Requirements

The following ISC DHCP minimum requirements and configurations are needed for IPAM to access your ISC servers.

Supported Operating System:

  • POSIX compliant Linux distributions

User access:

  • User account needs to be configured to allow remote telnet or SSH access to ISC DHCP machine
  • Read and write file access for user on the configuration files.

Cli commands:

  • dhcpd --version
  • grep
  • echo $PATH_DHCPD_DB
  • dhcpd -t -cf
  • ps -w -A -o comm,pid,args | grep ^dhcpd -w (or) ps -A -o comm,pid,args | grep ^dhcp (or) ps -x -o comm,pid,args | grep ^dhcp
  • [ -f "" ] && echo 'true'
  • uname -mrs
  • sha1sum (or) sha1 (or) digest -v -a sha1
  • [ -r "" ] && echo 'true'
  • [ -w "" ] && echo 'true'
  • cat
  • \cp -u -f -b -S.backup -p "" ""
  • \rm -r -f ""
  • mkdir

IPAM will need to seek the config file in one of the following paths below:

Configuration File:

  • "/etc/dhcpd.conf"
  • "/etc/inet/dhcpd4.conf"
  • "/etc/dhcp/dhcpd.conf"
  • "/usr/local/etc/dhcpd.conf"

Lease File:

  • "/var/db/dhcpd.leases"
  • "/var/lib/dhcpd/dhcpd.leases"
  • "/var/lib/dhcp/dhcpd.leases"
  • "/var/db/dhcpd/dhcpd.leases"

Script File:

  • "/etc/init.d/dhcpd"
  • "/etc/init.d/dhcp"
  • "/etc/rc.d/dhcpd "
  • "/etc/init.d/isc-dhcp-server"
  • "/usr/local/etc/rc.d/isc-dhcpd"

Configuring your ISC DHCP Server

Nested Configurations are Unsupported.

On the fresh Installation of ISC DHCP from a terminal prompt, enter the following command to install dhcpd: sudo apt-get install isc-dhcp-server

To change the default configuration by editing /etc/dhcp3/dhcpd.conf to suit your needs and particular configuration.

You may also want to edit /etc/default/isc-dhcp-server to specify the interfaces dhcpd should listen to.

By default it listens to eth0.

Next, you would need to assign a static ip to the interface that you will use for dhcp.

Ensure the ISC service is running so IPAM can communicate with your ISC DHCP server. After editing the configuration file, restart the service.

For detailed instructions on configuring your ISC server see the following helpful links:

http://askubuntu.com/questions/140126/how-do-i-configure-a-dhcp-server

https://wiki.debian.org/DHCP_Server

Last modified

Tags

Classifications

Public