D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 124
set interface dhcp-server
Configures the MSS DHCP server.
Note: Use of the MSS DHCP server to allocate client addresses is intended for temporary,
demonstration deployments and not for production networks. D-Link recommends that you do not
use the MSS DHCP server to allocate client addresses in a production network.
Syntax: set interface vlan-id ip dhcp-server [enable | disable] [start ip-addr1
stop ip-addr2] [dns-domain domain-name] [primary-dns ip-addr
[secondary-dns ip-addr]] [default-router ip-addr]
vlan-id VLAN name or number.
enable Enables the DHCP server.
disable Disables the DHCP server.
start ip-addr1 Specifies the beginning address of the address range (also called
the address pool).
stop ip-addr2 Specifies the ending address of the address range.
dns-domain domain-name Name of the DHCP client’s default DNS domain.
primary-dns ip-addr IP addresses of the DHCP client’s DNS servers.
[secondary-dns ip-addr]
default-router ip-addr IP address of the DHCP client’s default router.
Defaults: The DHCP server is enabled and cannot be disabled for directly connected APs. The
DHCP server is disabled by default for any other use.
Access: Enabled.
Usage: By default, all addresses except the host address of the VLAN, the network broadcast
address, and the subnet broadcast address are included in the range. If you specify the range,
the start address must be lower than the stop address, and all addresses must be in the same
subnet. The IP interface of the VLAN must be within the same subnet but is not required to be
within the range.