Specifications

7-26 IP Services Commands
set interface dhcp-server
ConfigurestheMSSDHCPserver.
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]
Parameters
Defaults
TheDHCPserverisdisabledbydefault.
Mode
Enabled.
Usage
Bydefault,alladdressesexceptthehostaddressoftheVLAN,thenetworkbroadcastaddress,and
thesubnetbroadcastaddressareincludedintherange.Ifyouspecifytherange,thestartaddress
mustbelowerthanthestopaddress,andalladdressesmust beinthesamesubnet.TheIP
interfaceoftheVLANmustbewithinthesamesubnetbutisnotrequiredtobewithintherange.
SpecificationoftheDNSdomainname,DNSservers,anddefaultrouterareoptional.Ifyouomit
oneormoreoftheseoptions,theMSSDHCPserverusesoathvaluesconfiguredelsewhereon
the
switch:
•DNSdomainname—Ifthisoptionisnotsetwiththesetinterfacedhcpservercommand’s
dnsdomainoption,theMSSDHCPserverusesthevaluesetbythesetipdnsdomain
command.
•DNSservers—Iftheseoptionsarenotsetwiththesetinterfacedhcpservercommand’s
primarydns
andsecondarydnsoptions,theMSSDHCPserverusesthevaluessetbytheset
ipdnsservercommand.
Note: Use of the MSS DHCP server to allocate client addresses is intended for temporary,
demonstration deployments and not for production networks. Enterasys Networks recommends that
you do not use the MSS DHCP server to allocate client addresses in a production network.
vlanid VLANnameornumber.
enable EnablestheDHCPserver.
disable DisablestheDHCPserver.
startipaddr1 Specifiesthebeginning addressoftheaddressrange(alsocalledthe
addresspool).
stopipaddr2 Specifiestheendingaddressoftheaddressrange.
dnsdomaindomainname NameoftheDHCPclient’sdefaultDNSdomain.
primarydnsipaddr
[secondarydnsipaddr]
IPaddressesoftheDHCPclient’sDNSservers.
defaultrouteripaddr IPaddressoftheDHCPclient’sdefaultrouter.