DHCP Scopes

Note

To manage DHCP scopes in the Management console, see console-dhcp-scopes.

Overview

This section shows you how to perform specific actions in Micetro associated with maintaining your DHCP scopes, such as creating and modifying reservations, setting scope options and working with split scopes.

Viewing Scopes

All DHCP Scopes on All Servers

You can use the Web Application to view all of the existing DHCP scopes at once, regardless of the server to which they belong. In Networks select DHCP scopes from the filtering sidebar on the left.

../../../_images/dhcp-scopes-Micetro.png

The Utilization column in the scope list displays the utilization of available addresses within the address pool(s) of each scope.

Disabled scopes are shown as gray. The number of unassigned addresses is always shown as zero for disabled scopes.

Scopes on a Specific DHCP Server

It is easy to view the DHCP scopes that reside on individual DHCP Servers that are being managed by Micetro. In the Networks context click the relevant DHCP server in the filtering sidebar’s DHCP servers section.

Selected Scope Menus

When working with scopes, selecting one or more scopes enables an ellipsis menu and relevant actions from the Actions shortcut button. The available actions change based upon the type of the DHCP server the scope is hosted on.

DHCP scope actions

Open network

Opens the selected scope.

Edit network properties

Enable/disable scope

If you are no longer using a particular scope, but do not want to delete it completely because you may need it in the future, you can disable the scope instead. A scope that is disabled will be ignored by the DHCP server until it is re-enabled.

Convert to network

Converts the DHCP scope to a network.

Set folder

Adds the scope to a folder for easier access. See Object Folders.

Set discovery schedule

Sets discovery schedule for the scope.

Set subnet monitoring

Configures subnet monitoring for the scope.

Manage DHCP pools

View and manage DHCP pools.

Add Pool

Creates an address pool for the selected scope. Complete the From and To fields in the dialog box, typing the range of addresses to be included in the pool. Both of these fields default to the first available address in the range. If this is a split scope (a scope that exists on more than one server) and the address pool overlaps a warning message displays.

Edit Address Pool

To edit an existing pool, select it and from the ellipsis menu select Edit.

Delete Address Pool(s)

To delete an existing pool, select it and from the ellipsis menu select Delete.

Create Exclusion

MS DHCP only. Allows you to exclude a single IP Address or an entire range of addresses from being used. You can only exclude addresses that are already part of an address pool. To create an exclusion, specify the From and To IP Addresses. All the addresses between and including the ones entered will be excluded.

Edit Exclusion

MS DHCP only. To edit an exclusion, select it and from the ellipsis menu select Edit.

Delete Excluded Range(s)

MS DHCP only. To delete an exclusion, select it and from the ellipsis menu select Delete.

DHCP actions for IP addresses

Open a DHCP scope (by double clicking it in the grid, selecting Open network from the ellipsis menu, or using Actions ‣ Open network) to view the IP addresses it contains.

Create DNS record

Creates an A record from the selected IP address. See Creating a new DNS record.

Edit IP address properties

Define values for any custom properties configured in the system.

Claim/release IP address

Claims and releases the IP address(es).

Ping IP address

Performs a ping on the selected IP address(es).

Create DHCP reservation

Reservations can be created in unassigned address space, address pools, and excluded addresses. It is possible to set options for reserved IP Addresses. To create a reservation, do the following:

Name

Assign a name to identify the reserved address.

Description

(Optional) User defined description.

Reservation method

Hardware address or Client identifier

Hardware address

Enter the MAC Address (i.e., Media Access Control Address) of the network node for which this address is being reserved.

Client identifier

Use the Ascii and Hex switch on the right to change input type.

Reservation type

Select whether this reservation should support DHCP, BOOTP (i.e., Bootstrap Protocol), or both (default).

Edit DHCP reservation

Edit an existing reservation.

Edit reservation options

Edit options for a reservation. Refer to Options for details on this dialog box.

Delete DHCP reservation

To delete an existing reservation, right-click on the reservation you want to remove and select Delete Reservation(s).

View history

Displays the object history for the selected IP address.

Scope Creation Wizard

Note

Creating a scope on a Kea server configured for load balancing high availability, Micetro will automatically split the scope evenly between primary and secondary servers. See dhcp-kea-ha.

This section describes how to create and edit DHCP scopes with the new DHCP Scope Creation Wizard.

Whenever you create a new scope, Micetro automatically checks whether the new scope conflicts with an existing scope or an IPAM range.

The Wizard has additional steps, or skips over some steps, depending on the type of DHCP server the scope is being created on, and whether the AD Sites and Subnets integration has been enabled.

To create a new scope on the MS DHCP server, do the following:

  1. In Networks select Create and tick the Create a DHCP scope checkbox.

../../../_images/create-network-Micetro.png
  1. Edit the options for the DHCP scope.

DHCP server

Select from the dropdown menu.

Start/end of address pool

Define the address pool.

  1. Active Directory Site selection. If you have enabled AD Sites and Subnets, the Wizard will ask you which AD site the new DHCP Scope should be associated to.

  2. Scope properties.

  3. Summary. The changes the Wizard will perform are summarized here and applied once the user clicks “Finish”.

  4. Save comment.

Warning

Once the scope has been created, you must set access privileges for the scope if you want to allow users to make any changes to it, assuming the initial access for Ranges/Scopes has not been set appropriately.

Access

For complete details on this function, refer to Global Access.

Scope Migration Wizard (Management Console)

The Scope Migration Wizard allows users to migrate one or more scopes from one server to another, including all data in the scope.

To migrate a scope, do the following:

  1. In the Manager window, select one or more scopes.

  2. Right-click and, from the shortcut menu, select Migrate Scope. The Migrate Scope(s) Wizard dialog box displays.

Server

Click the drop-down list and select onto which you want to migrate this scope(s).

  1. Click Next. The Migration Options dialog box displays.

  2. For each of the resulting screens, make a selection/entry and move through the wizard.

Duplication Wizard (Management Console)

To duplicate a DHCP scope you should use the Duplicate Scope wizard. The duplicate will initially have the exact same properties as the original, but you will have the option to assign the duplicate to a different DHCP server and modify the duplicated values.

Within this wizard, you can do the following:

  • Create a new scope

  • Create a split scope interface

To launch the wizard, do the following:

  1. In the Object Section, click on DHCP Scopes.

  2. In the Object List, right-click on the DHCP Scope you want to duplicate and, from the shortcut menu, select Duplicate. The Duplicate scope wizard launches.

  3. For each of the resulting screens, make a selection/entry and move through the wizard.

Folders

Refer to Object Folders for details on this function.

Reconcile Scope (Management Console)

Note

Applies to MS DHCP Servers only.

Use this function to fix inconsistencies between information in the registry and the DHCP database.

  1. In the Object List, select DHCP Scopes and then select a scope.

  2. Right-click the scope and select Reconcile Scopes.

  3. Choose whether you want to verify only or fix any inconsistencies and click OK to complete the action.

Scope Policies (Windows Server 2012 or newer) (Management Console)

If you are managing DHCP servers on Windows Server 2012 or newer, you can use Micetro to set scope policies for individual scopes.

Activate/Deactivate a Scope Policy

  1. In the Scope List, right-click a scope that is stored on a Windows 2012 DHCP server.

  2. From the shortcut menu, select Manage Policies. The DHCP Scope Policy Management dialog box displays.

  3. The dialog box shows the current status of DHCP scope policies for the selected scope.

  4. To activate DHCP scope polices, click the Activate button. If DHCP scope polices are active, the button text shows Deactivate. To deactivate the DHCP scope policies, click the Deactivate button.

  5. Click Close.

Add a New Scope Policy

  1. In the Scope List, right-click a scope that is stored on a Windows 2012 DHCP server and, from the shortcut menu, select Manage Policies. The DHCP Scope Policy Management dialog box displays.

  2. Click the Add button. The DHCP Policy dialog box displays.

  3. Enter a name and description for the DHCP policy in the corresponding fields.

  4. Click the Add button in the Conditions section to add a new condition for the DHCP policy. The DHCP Policy Condition dialog box displays.

  5. Specify the condition you want to use and click OK to save the condition and close the dialog box. Note that you can enter multiple conditions for a DHCP policy by clicking the Add button in the DHCP Policy dialog box.

  6. To edit or delete an existing DHCP Policy condition, select the condition from the list of DHCP Policy conditions, and click the corresponding button.

  7. If there is more than one condition, you need to specify whether to use the OR or AND operator when evaluating the conditions. Select the corresponding radio button in the DHCP Policy dialog box.

Ranges

  1. Click the Add button in the ranges section to specify an IP Address range that should be affected by the policy. The Range specification dialog box displays.

  2. Enter the range using the from and to addresses separated by a hyphen (for example, 192.168.1.10-192.168.1.20).

  3. Click the Add button to add the range and close the dialog box. NOTE: You can enter multiple ranges by using the Add Range dialog box for each range you want to add.

  4. To edit or delete an existing range, select the range from the list of ranges, and click the corresponding button.

  5. When you have added all conditions and ranges, click the OK button to save the DHCP policy.

DNS Dynamic Updates

Options specific to dynamic updates are in the field named DNS Dynamic Updates. It can be configured accordingly for the policy.

Lease duration

The lease duration can be specified per policy in those fields.

DHCP Options

To specify DHCP options for this policy, click the Options button. That will open a dialog which will allow the user to specify the options.

Note

If this is unconfigured, the options will be inherited from the scope or server.

Change an Existing Scope Policy

You can edit, delete or disable existing DHCP Scope Policies. You can also change the order of DHCP scope policies.

  1. In the Scope List, right-click a scope that is stored on a Windows 2012 DHCP server and, from the shortcut menu, select Manage Policies. The DHCP Scope Policy Management dialog box displays.

  2. Select the DHCP Policy you want to work with by clicking it in the list of DHCP Policies.

  • To edit the policy, click the Edit button.

  • To delete the policy, click the Delete button.

  • To disable the policy, click the Disable button. If the policy is already disabled, the button text shows Enable. To enable the policy, click the button.

  • To move the policy up or down in the list of DHCP Policies, click the Move Up or Move Down button.

  1. When you have completed your changes, click the Close button.

Other Functions

At any time, you can modify the properties for a scope. Simply locate the item, and from the ellipsis menu select Edit network properties. For split scopes, the scope contents can be examined individually on each server.

Deleting a Lease

To delete a lease in a DHCP scope, do the following:

  1. Open the scope containing the lease you want to delete.

  2. Select the lease and from the ellpisis menu select Release DHCP lease or use Actions ‣ Release DHCP lease.

IP Address Details

The IP Address details window contains all information pertaining to an IP Address in Micetro, including DNS records, DHCP reservations, and custom properties. To access the IP address details select an IP address in the DHCP scope dialog, and all information is displayed in the Inspector, including information on any DNS and DHCP data associated with the IP address. A reservation can be created by clicking the + button in the Related DHCP data section of the Inspector.

Subranges of Scopes (Management Console)

It is possible to choose whether the contents of ranges that are created under scopes are displayed in a range view or a scope view. Use the Show DHCP data in subranges of scopes checkbox in the System Settings dialog box to choose the preferred display mode.

If the scope view is selected, a window similar to the scope window displays when you open a subrange of a scope. However, the only scope related action available in this window is reservation management. The access dialog box for these subranges will contain an additional access bit, Edit reservations.

If the range view is selected, the subranges are opened in the range view and no scope related actions are available.

Renaming a Scope

It is very simple to change the name and/or description of a scope in Micetro.

  1. Locate and select the DHCP Scope you want to rename.

  2. From the ellipsis menu, select Edit network properties.

  3. Enter the Title, and any other value you wish to change.

  4. Click Save.

Superscopes (Management Console)

Note

Superscopes are only supported on MS DHCP servers on Windows server.

All MS Superscopes are listed in the object section under the heading Superscopes.

../../../_images/console-dhcp-superscopes.png

When you click on the Superscope, all scopes within that superscope display. In addition, a new column, Superscope, is shown in the scope list. It is possible to filter by this column.

To assign an existing scope to a superscope, do the following:

  1. In the Object list, select a DHCP Scope for which you want to set a Superscope.

  2. Right-click and, from the shortcut menu, select Properties. The scope dialog box displays.

  3. Enter the name of the superscope in the Superscope field.

  4. Click OK. The scope is placed in the superscope. If the superscope did not exist, the new superscope is created and now displays as a new item in the object list.

Moving IP Address Information (Management Console)

IP Address information can be moved to a new IP Address. When the IP Address information is moved, all information about the IP Address is retained, and the associated DNS records are updated. If a reservation is associated with the IP Address, the reservation information is moved with the IP Address if the destination address is in a DHCP scope that is hosted on a DHCP server of the same type. If the destination address is in a scope hosted on a different type of a DHCP server or the destination is in an IP Address range, the reservation information is discarded.

To move IP Address information, do the following:

  1. Locate the IP scope containing the IP Address.

  2. Double-click on it to display the scope contents.

  3. Find the applicable IP Address.

  4. Right-click and, from the shortcut menu, select Move.

  5. In the Move IP Address Information dialog box, type the new IP Address.

  6. Click OK. The IP Address information is moved to the new IP Address.

Host Discovery

With this feature, you can see when hosts were last seen on your network. There are two methods you can use for host discovery – using ping or querying routers for host information.

When host discovery is enabled, two columns are added to the range or scope view.

Last Seen

This column identifies when a host was last seen on the network and which method was used to discover the host.

Last Known MAC Address

This column shows the MAC address used by the host the last time it was seen on the network. This column is only populated if the host was seen using a router query.

Configuring Host Discovery Using Ping

  1. Select one or more scopes.

  2. From the ellipsis menu select Set Set discovery Schedule.

  3. Check the Enable option.

Frequency

Click the drop-down list and select the frequency (e.g., 1, 2, etc.).

Every

Enter the frequency unit for discovery (e.g. days, weeks, etc.).

Next run

Select the start date and time.

  1. Click Save.

Once the schedule options have been set and saved, two columns - Last Seen and Last Known MAC Address - are added to the range or scope grid. The Last Seen column identifies when a host was last seen on the network.

Green

Host responded to the last PING request. The date and time are shown.

Orange

Host has responded in the past, but did not respond to the last PING request. The date and time of last response is shown.

Red

Host has never responded to a PING request. The text Never is shown.

At any time if you wish to disable host discovery, do the following:

  1. Select the object(s) for which you want to disable discovery.

  2. From the ellipsis menu, select Set discovery schedule.

  3. Uncheck the Enable option.

  4. Click Save.

Configuring Host Discovery by Querying Routers (Management Console)

To collect information about hosts by querying routers, you must first enable collection of IP information from routers.

To configure host discovery:

  1. Select an IP Address Range.

  2. Right-click and, from the shortcut menu, select Configure IP Address Collection. The IP Address Collection dialog box displays

  3. Enter the IP Address of the router(s) that you want to use to collect information about hosts in the range.

  4. Click OK.

Failover Configurations and Split Scopes (Management Console)

Managing Failover Configurations (ISC DHCP)

This function allows you to manage DHCP failover peers on ISC DHCP servers.

Note

When adding a server’s first failover peer, all other address pools on the server will be updated to refer to this failover peer.

  1. On the object menu, select the DHCP Server that contains the scope for which you want to setup failover configuration.

  2. From the list of scopes, double-click on the applicable one.

  3. From the list of IP Addresses, right-click on the applicable one, and select Create Address Pool from the shortcut menu. The DHCP Address Pool dialog box displays.

  4. Move to the Failover Peer field, and click the drop-down list arrow.

  5. Select Add new failover peer.

  6. Click OK. The New Failover Peer dialog box displays.

Name

Specifies the name of the failover peer.

Role

Specifies the role of the failover peer. The available roles are Primary and Secondary.

Address

Specifies the IP Address or DNS name on which the server should listen for connections from its failover peer.

Port

Specifies the port number on which the server should listen for connections from its failover peer.

Peer Address

Specifies the IP Address or DNS name to which the server should connect to reach its failover peer for failover messages.

Peer Port

Specifies the port number to which the server should connect to reach its failover peer for failover messages.

Max Response Delay

Specifies the number of seconds that may pass without the server receiving a message from its failover peer before it assumes that the connection has failed.

Max Unacked Updates

Specifies the number of messages the server can send before receiving an acknowledgement from its failover peer. According to ISC documentation, 10 seems to be a good value.

Max Client Lead Time

Specifies the number of seconds for which a lease can be renewed by either server without contacting the other. Only specified on the primary failover peer.

Split Index

Specifies the split between the primary and secondary failover peer for the purposes of load balancing. According to ISC documentation, 128 is really the only meaningful value. Only specified on the primary failover peer.

Load Balance Max Seconds

Specifies the cutoff in seconds after which load balancing is disabled. According to ISC documentation, a value of 3 or 5 is recommended.

  1. Click OK. The DHCP Address Pool dialog box displays and shows the updated information.

  2. Click OK.

If you need to EDIT or DELETE an existing failover peer, do the following:

  1. Locate the relevant ISC DHCP server.

  2. Right-click and, from the shortcut menu, select Manage Failover Peers. The Failover Peers for … dialog box displays. All failover peers are shown.

  3. To EDIT a failover peer, select it and click the Edit button. Then modify the Failover Peers … properties dialog box, as needed.

  4. To DELETE a failover peer, select it and click the Delete button.

Note

In order to finalize the setup of the failover relationship, the scope needs to be migrated to the failover peer.

Note

When deleting a failover peer through this dialog, if it is the last failover peer defined on the server, any references to it will be removed from existing address pools on the server. If there is one other failover peer left on the server, references to the failover peer being deleted will be changed to refer to the remaining failover peer. If, however, there are two or more other failover peers left on the server, the user will be prompted with a list of the remaining failover peers where he will have to choose which failover peer should be referenced by address pools currently referring to the failover peer being deleted.

Note

When changing from one failover peer to another for some specific address pool, if the address pool is the last one referring to the (old) failover peer, the user will be warned that performing the action will result in the deletion of the failover peer.

Managing Failover Configurations (Windows Server 2012)

DHCP failover on Windows Server 2012 enables high availability of DHCP services by synchronizing IP Address lease information between two DHCP servers. It is also possible to use DHCP failover to provide load balancing of DHCP requests.

You can configure failover for a single scope or for multiple scopes on the same server.

Note

To manage failover between two Windows 2012 Servers, the DHCP Server Controller must be running as a service account with enough privileges to manage the DHCP service. For more information, refer to the Men&Mice DHCP Server Controller section in the Installation Guide.

Setting up a Scope Failover

To setup failover for a scope, do the following:

  1. On the object menu, select the DHCP Server that contains the scope(s) for which you want to setup failover configuration.

  2. You have two ways to choose the scopes you want to configure.

  • From the list of scopes, select one or more scopes, right-click and select Configure Failover.

  • Right-click the DHCP server and select Configure Failover. A dialog box listing all configurable scopes displays. Select the scopes you want to configure and click Next. The failover configuration dialog box displays.

Relationship Name

Select the relationship you want to use for the failover configuration or enter a name if you want to create a new relationship. If you choose an existing relationship, you will not be able to change any of the relationship properties and you can simply click OK to complete the failover configuration for the scope.

Partner Server

Enter the name or IP Address of the partner DHCP server with which failover should be configured. You can select from the list of Windows Server 2012 machines or you can type the host name or IP Address of the partner server.

Mode

Select the failover mode you want to use. You can choose between Hot standby and Load balance.

Role of Partner Server

If you chose the Hot standby mode, you must choose the role of the partner server. You can choose between Standby and Active. If you choose Standby the current server will be Active and vice versa.

Maximum Client Lead Time

If you don’t want to use the default values, enter the new values in the hours and minutes edit fields.

Addresses reserved for standby server

If you chose the Hot standby mode, you must enter the percentage of addresses that should be reserved to the standby server.

Local server load balance percentage

If you chose the Load balance mode, you need to specify the load balance percentage to use on the local server. The remaining percentage will be used on the partner server.

State Switchover Interval

Select this checkbox if you want to use Automatic State Switchover and specify the interval to use.

Enable Message Authentication

Select this checkbox if you want to use message authentication between the DHCP servers. If the message authentication is enabled, you must provide a shared secret for the message authentication.

Removing a Failover Configuration

  1. On the object menu, select the DHCP Server that contains the scope(s) for which you want to remove the failover configuration.

  2. Select one or more scopes, right-click the selection and select Deconfigure Failover. A confirmation dialog box displays.

  3. Click Yes to confirm the action. The failover configuration for the selected scope(s) is removed.

Replicating Failover Scopes

When using a failover configuration, it is possible to replicate scope information between servers. This is possible for individual scopes, all scopes that share a failover relationship or all scopes on a particular DHCP server. When a scope replication takes place, the scopes on the selected DHCP are considered the source scopes and the entire scope contents are replaced on the destination server.

To replicate individual scopes:

  1. On the object menu, select the DHCP Server that contains the scope(s) you want to replicate.

  2. Select one or more scopes, right-click the selection and select Replicate Scope. A confirmation dialog box displays.

  3. Click OK to confirm the action. The selected scope is replicated.

To replicate all scopes that share a failover relationship:

  1. On the object menu, select the DHCP Server that contains the scopes you want to replicate.

  2. Right-click a scope using the desired relationship, and select Replicate Relationship. A confirmation dialog box displays.

  3. Click OK to confirm the action. The scopes that use the same relationship as the selected scope are replicated. Note that this action may take some time if multiple scopes use the relationship.

To replicate all failover scopes on a DHCP server:

  1. On the object menu, right-click the DHCP Server that contains the scopes you want to replicate and select Replicate Failover Scopes from the menu. A confirmation dialog box displays.

  2. Click OK to confirm the action. All failover scopes on the selected server are replicated. Note that this action may take some time if the server contains multiple failover scopes.

Managing Failover Relationships

Note

In the Web Application, the failover mode, as well as the failover partners, is displayed in the Inspector’s High availability section when a server or scope is selected that is configured for high availability.

You can view, create, edit and delete existing failover relationships.

Adding a Failover Relationship

  1. On the object menu, right-click the DHCP Server and select Manage Failover Relationships from the menu. A dialog box listing the current failover relationships displays.

  2. Click the Add button. A dialog box displays, listing all scopes that are available to be configured for high availability.

  3. Select the scope(s) you want to configure. To select all scopes, click the Select all checkbox. Click Next. The failover configuration dialog box displays.

  4. Setup the failover configuration for the selected scopes.

Editing an Existing Failover Relationship

  1. On the object menu, right-click the DHCP Server and select Manage Failover Relationships from the menu. A dialog box listing the current failover relationships displays.

  2. Click the Edit button. The failover configuration dialog box displays. Note that some properties are disabled and cannot be changed.

  3. Edit the failover configuration and click OK to save the settings.

You can delete existing failover relationships. When a failover relationship is deleted, the scopes are not removed from the DHCP server, but they are no longer in a failover configuration. After removing the failover relationship Micetro will handle the affected scopes as split scopes.

Deleting a Failover Relationship

  1. On the object menu, right-click on the DHCP Server, and select Manage Failover Relationships from the menu. A dialog box listing the current failover relationships displays.

  2. Click the Delete button and click Yes in the confirmation dialog box.

Managing Split Scopes

When a scope is hosted on multiple servers, the scope view lists all the servers that contain a copy of the scope. For scopes on MS servers, the line says ‘Split Scope’ and then lists the servers. For the ISC DHCP server, the line says ‘Multiple Instances’ and then lists the servers:

../../../_images/console-dhcp-split-scopes.png

Micetro detects when a split scope configuration is in place. Split scopes are handled as follows:

  • In the scope list, split scopes are shown with a different icon and in the server column, the text “split scope” displays

  • When performing various actions on scopes (for example enable/disable, scope option changes, scope deletion), a dialog box displays where the user is asked to specify to which instances of the split scope the action should be applied.

  • The DHCP scope window will show every instance of the split scope in a separate tab, making it possible to work with all instances of the split scope in a single window.

  • The Overview and Statistics tab in the DHCP scope window will show a graphical overview for all of the split scope instances.

  • Reservations are managed automatically. All changes to reservations (creation, modification, and deletion) are applied to all instances of the split scope.

The servers listed in this dialog box all contain the scope to which the user was applying the change. By pressing the Enable button, all instances of the scope would be enabled.

Note

Split scopes are only supported on MS DHCP and ISC Kea servers.