Custom Options; Static Dhcp Host Assignment - D-Link DFL-260E User Manual

Network security firewall netdefendos version 2.27.03
Hide thumbs Also See for DFL-260E:
Table of Contents

Advertisement

5.2.2. Custom Options

Example 5.3. Static DHCP Host Assignment
This example shows how to assign the IP address 192.168.1.1 to the MAC address 00-90-12-13-14-15. The
examples 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 Host=192.168.1.1
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 Host=192.168.1.12
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
5.2.2. Custom Options
Adding a Custom Option to the DHCP server definition allows the administrator to send specific
pieces of information to DHCP clients in the DHCP leases that are sent out.
An example of this is certain switches that require the IP address of a TFTP server from which they
can get certain extra information.
can be specified as this parameter. The option exists to also specify if
the identifier will be sent as an ASCII or Hexadecimal value.
MACAddress=00-90-12-13-14-15
Value
-----------------
1
192.168.1.1
00-90-12-13-14-15
(none)
MACAddress=00-90-12-13-14-15
233
Chapter 5. DHCP Services

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents