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-idip dhcp-server [enable disable] [start ip-addr1stop 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-domaindomain-nameName of the DHCP client’s default DNS domain.

primary-dnsip-addrIP addresses of the DHCP client’s DNS servers. [secondary-dnsip-addr]

default-routerip-addrIP 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.

D-Link DWS-1008 CLI Manual

124

Page 127
Image 127
D-Link dws-1008 manual Set interface dhcp-server