Static Dhcp Host Assignment - D-Link DFL-1660 User Manual

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

Advertisement

5.2.2. Custom Options
parameters:
Host
MAC Address
Client Identified
Example 5.2. Static DHCP Host Assignment
This example shows how to assign the IPv4 address 192.168.1.1 to the MAC address 00-90-12-13-14-15. The
example assumes that the DHCP server DHCPServer1 has already been defined.
Command-Line Interface
1.
First, change the category to the DHCPServer1 context:
gw-world:/> cc DHCPServer DHCPServer1
2.
Add the static DHCP assignment:
gw-world:/> add DHCPServerPoolStaticHost
3.
All static assignments can then be listed and each is listed with an index number:
gw-world:/> show
#
Comments
-
-------
+
1
(none)
4.
An individual static assignment can be shown using its index number:
gw-world:/> show DHCPServerPoolStaticHost 1
Property
-----------
Index:
Host:
MACAddress:
Comments:
5.
The assignment could be changed later to IP address 192.168.1.12 with the following command:
gw-world:/> set DHCPServerPoolStaticHost 1
Web Interface
1.
Go to: System > DHCP > DHCP Servers > DHCPServer1 > Static Hosts > Add > Static Host Entry
2.
Now enter:
Host: 19.168.1.1
MAC: 00-90-12-13-14-15
3.
Click OK
This is the IP address that will be handed out to the client.
This is the MAC address of the client. Either the MAC address can be
used or the alternative Client Identified parameter can be used.
If the MAC address is not used for identifying the client then the client
can send an identifier in its DHCP request. The value of this identifier
can be specified as this parameter. The option exists to also specify if
the identifier will be sent as an ASCII or Hexadecimal value.
Host=192.168.1.1
MACAddress=00-90-12-13-14-15
Value
-----------------
1
192.168.1.1
00-90-12-13-14-15
(none)
Host=192.168.1.12
MACAddress=00-90-12-13-14-15
260
Chapter 5. DHCP Services

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents