User`s manual
87
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring and Managing IP Interfaces and Services
Adding an IP Interface
You can add an IP interface to a VLAN by statically conguring an IP address or by enabling
the Dynamic Host Conguration Protocol (DHCP) client on the VLAN.
Statically Conguring an IP Interface
To add an IP interface to a VLAN, use the following command:
set interface vlan-id ip {ip-addr mask | ip-addr/mask-length}
Enabling the DHCP Client
The MSS DHCP client enables an Switch to obtain its IP conguration from a DHCP server.
A switch can use the DHCP client to obtain the following conguration information:
• IP address
• Default gateway
• DNS domain name
• DNS server IP address
The DHCP client is implemented according to “RFC 2131: Dynamic Host Conguration
Protocol” and “RFC 2132: DHCP Options and BOOTP Vendor Extensions”. The client
supports the following options:
• (12) Host Name (the system name)
• (55) Parameter request list, consisting of (1) Subnet Mask, (3) Router, (15)
Domain Name, and (6) Domain Name Server
• (60) Vendor Class Identier, set to TRPZ x.x.x, where x.x.x is the MSS version
The DHCP client is disabled by default on the DWS-1008, You can enable the DHCP client
on one VLAN only.
MSS also has a congurable DHCP server. You can congure a DHCP client and DHCP
server on the same VLAN, but only the client or the server can be enabled. The DHCP client
and DHCP server cannot both be enabled on the same VLAN at the same time.
How MSS Resolves Conicts with Statically Congured IP Parameters
MSS compares the IP parameter values already congured on the switch with the values
received from the DHCP server, and resolves any conicts as follows:
• IP address - If the VLAN also has a statically congured IP address, MSS uses an
address from the DHCP server instead of the statically congured address. MSS
sends an ARP for the IP address offered by the DHCP server to verify that the
address is not already in use.