D-Link DWS-1008 CLI Manual
0
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 by default on a new (unconfigured) DWS-1008 in order to
provide an IP address to the host connected to the switch for access to the Web Quick Start.
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.
Specification of the DNS domain name, DNS servers, and default router are optional. If you omit
one or more of these options, the MSS DHCP server uses oath values configured elsewhere on
the switch:
• DNS domain name—If this option is not set with the
set interface dhcp-server
command’s dns-domain option, the MSS DHCP server uses the value set by the
set ip dns domain command.
Summary of Contents for DWS-1008
Page 1: ......
Page 27: ...D Link DWS 1008 CLI Manual 24 ...