D-Link DFL-1660 User Manual page 258

Network security firewall
Hide thumbs Also See for DFL-1660:
Table of Contents

Advertisement

5.2. DHCP Servers
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
Web Interface
1.
Go to: System > DHCP > 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
---------------
10.4.13.240
10.4.13.241
10.4.13.242
10.4.13.243
10.4.13.244
10.4.13.254
10.4.13.1
10.4.13.2
10.4.13.3
10.4.13.4
The asterisk "*" before a MAC address means that the DHCP server does not track the client using
the MAC address but instead tracks the client through a client identifier which the client has given
to the server.
To display all DHCP information use the dhcpserver command with no options. Each individually
configured DHCP server is referred to as a Rule which is given a unique number. This number is
used to identify which lease belongs to which server in the CLI output. To see just the comfigured
DHCP servers, use the command:
gw-world:/> dhcpserver -show -rules
Interface=lan
IPAddressPool=DHCPRange1
Netmask=255.255.255.0
Client MAC
-----------------
00-1e-0b-a0-c6-5f
00-0c-29-04-f8-3c
00-1e-0b-aa-ae-11
00-1c-c4-36-6c-c4
00-00-00-00-02-14
00-00-00-00-02-54
00-12-79-3b-dd-45
00-12-79-c4-06-e7
*00-a0-f8-23-45-a3
*00-0e-7f-4b-e2-29
258
Chapter 5. DHCP Services
Mode
-------------
ACTIVE(STATIC)
ACTIVE(STATIC)
ACTIVE(STATIC)
INACTIVE(STATIC)
INACTIVE(STATIC)
INACTIVE(STATIC)
ACTIVE
ACTIVE
ACTIVE
ACTIVE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560Dfl-2560gDfl-260eDfl-860e

Table of Contents