The policy for saving the lease database to disk. The options are:
i.
Never - Never save the database.
ii.
ReconfShut - Save the database on a reconfigure or a shutdown.
iii.
ReconfShutTimer - Save the database on a reconfigure or a shutdown and also
periodically. The amount of time between periodic saves is specified by the next
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.2. 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
gw-world:/> add DHCPServer DHCPServer1
Interface=lan
IPAddressPool=DHCPRange1
Netmask=255.255.255.0
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:
gw-world:/> dhcpserver -show -mappings
DHCP server mappings:
Client IP
Client MAC
Mode
Chapter 5: DHCP Services
399
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...