Setting up an ipv4 dhcp server – Amer Networks E5Web GUI User Manual
Page 363

parameter, Lease Store Interval.
•
Lease Store Interval
The number of seconds between auto saving the lease database to disk. The default value is
86400 seconds.
Example 5.1. Setting up an IPv4 DHCP server
This example shows how to set up a DHCP server called DHCPServer1 which assigns and manages
IP addresses from an IPv4 address pool called DHCPRange1.
This example assumes that an IP range for the DHCP Server has already been created.
Command-Line Interface
Device:/> add DHCPServer DHCPServer1
Interface=lan
IPAddressPool=DHCPRange1
Netmask=255.255.255.0
InControl
Follow the same steps used for the Web Interface below.
Web Interface
1.
Go to: Network > Network Services > DHCP Servers > Add > DHCPServer
2.
Now enter:
•
Name: DHCPServer1
•
Interface Filter: lan
•
IP Address Pool: DHCPRange1
•
Netmask: 255.255.255.0
3.
Click OK
Displaying IP to MAC Address Mapping
To display the mappings of IP addresses to MAC addresses that result from allocated DHCP
leases, the dhcpserver command can be used. Below is some typical output:
Device:/> dhcpserver -show -mappings
DHCP server mappings:
Client IP
Client MAC
Mode
---------------
-----------------
-------------
10.4.13.240
00-1e-0b-a0-c6-5f
ACTIVE(STATIC)
10.4.13.241
00-0c-29-04-f8-3c
ACTIVE(STATIC)
10.4.13.242
00-1e-0b-aa-ae-11
ACTIVE(STATIC)
10.4.13.243
00-1c-c4-36-6c-c4
INACTIVE(STATIC)
Chapter 5: DHCP Services
363