Setting up DHCP serving in Micro Edge

Overview

Micro Edge can be configured as a DHCP server, enabling it to provide IP address leases to internal devices connected to its LAN interfaces. If you do not have a standalone DHCP server elsewhere in your network, your Micro Edge provides a simple way to handle DHCP addressing.

Configuring DHCP Serving

Setup options are found in Settings > Network > [your internal interface] > DHCP:

edit_interface_1.png

The "Enable DHCP Serving" switch turns on DHCP serving for the interface you are editing. DHCP serving is available for use on any LAN or VLAN which has its Config Type set to "Addressed" and is not bridged to another interface.

The options available on this page are:

Range Start The first IP address available for DHCP to assign.
Range End The last IP address available for DHCP to assign.

Both Range Start and Range End must belong to the same address subnet as the interface itself. For example, if your interface has the address 192.168.2.1/24, then your range must also fall within the 192.168.2.0/24 subnet.

Lease Duration

Measured in seconds, this setting determines how long the DHCP lease belongs to the device it is granted to. Once this duration has expired, the device will need to request a new IP lease.
Gateway Override Enables you to specify a gateway address other than the Micro Edge.
Netmask Override Enables you to specify a netmask different from the Micro Edge's interface address netmask. 
DNS Override Enables you to specify a DNS server other than the Micro Edge
 

The three override settings are optional. If you do not enter an override, the Micro Edge's own internal IP address or netmask will be provided. If you're not sure, it's best to leave these three settings blank.

 

Using DHCP Options

You can add DHCP Options via the Add Option button:

dhcp_options.png

Enabled check-box Enables & disables the specified DHCP option.
Description A description of the option for your reference. This will be auto-filled from the 'select option' choice when adding the option.
Value

The value will list the option number first, then the target server, with no space between.
For just an IP address, use option#,1.2.3.4
For a hostname/URL, use option#,"hostname" including the quotes around the hostname. For example: 66,"sip.example.com"

 

Enabling DHCP Relaying

You may configure Micro Edge to relay incoming DHCP lease requests to another server instead of serving DHCP leases itself. Enable the Enable DHCP Relaying option and enter the IP address of the desired DHCP server.

Note that enabling DHCP Relaying will disable DHCP Serving and vice versa.

dhcp_relay_enabled.png

 

Managing DHCP Leases & Reservations

You can view current DHCP leases served by the Micro Edge and manage DHCP reservations in Settings > Network > DHCP.

dhcp_reservations___leases.png

Current leases are listed in the bottom half of the page under Leases

At the top half of the page under Reservations, you'll find a list of all DHCP reservations. These are effectively static IP addresses: whenever a particular device MAC address requests a DHCP lease, it will receive the IP address you specify as a reservation. 

You can add reservations in two ways:

  1. Manually create your leases via the Add button at the right-hand side. You'll provide a description, the MAC address of the device in question, and the desired IP address.
  2. You can also convert an existing lease into a reservation by clicking the plus sign icon at the very right-hand side of the Leases list.
Follow
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Powered by Zendesk