User manual
5.3. Static DHCP Assignment
Where the administrator requires a fixed relationship between a client and the assigned IP address,
NetDefendOS allows the assignment of a given IP to a specific MAC address.
Example 5.3. Setting up Static DHCP
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.
CLI
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
MACAddress=00-90-12-13-14-15
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 Value
----------- -----------------
Index: 1
Host: 192.168.1.1
MACAddress: 00-90-12-13-14-15
Comments: (none)
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
MACAddress=00-90-12-13-14-15
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.3.1. DHCP Advanced Settings
The following advanced settings are available with DHCP servers.
5.3. Static DHCP Assignment Chapter 5. DHCP Services
185