This section is located at the network dhcp level.
To create a DHCP subnet, use the following command:
Admin@nodename# create network dhcp
Parameters:
|
Parameter |
Description |
|---|---|
|
enabled |
Enable/disable the use of this IP address range:
|
|
name |
Subnet name. |
|
description |
Subnet description. |
|
interface |
Interface of the server which will assign IP addresses from the range being created. |
|
ip-range |
The IP address range assigned to DHCP clients. Format: <IP_start-IP_end>. |
|
mask |
The subnet mask assigned to DHCP clients. |
|
expiration-time |
The duration in seconds for which IP addresses are assigned. |
|
domain |
The domain name assigned to DHCP clients. |
|
gateway |
The gateway IP address assigned to DHCP clients. |
|
dns-servers |
The DNS server IP addresses assigned to DHCP clients. |
|
reserved-hosts |
The MAC addresses and the associated IP addresses:
|
|
ignored-mac |
List of MAC addresses ignored by the DHCP server. |
|
pxe-boot-ip |
PXE boot server IP. |
|
pxe-boot-filename |
PXE boot filename. |
|
options |
Option number and value:
|
To update an existing DHCP subnet, use the following command:
Admin@nodename# set network dhcp <dhcp-name>
The parameters available for settings are the same as those used when creating a subnet.
To delete a subnet, use the following command:
Admin@nodename# delete network dhcp <dhcp-name>
You can also delete individual DHCP subnet parameters:
-
dns-servers.
-
ignored-mac.
-
reserved-hosts (specify all three values: mac, ip, and hostname)
-
options (specify both values: code and values).
To display information about all subnets created, use the following command:
Admin@nodename# show network dhcp
To display information about a specific DHCP subnet, use the following command:
Admin@nodename# show network dhcp <dhcp-name>