DHCP-server configuration tasks 298
SmartWare Software Configuration Guide 27 • DHCP configuration
Mode: Configure
Step Command Purpose
1 node(cfg)#profile dhcp-server name Enter DHCP-server profile mode
2 node(pf-dhcps)[name]#network ip-
address ip-mask
Defines the IP address range for which this pro-
file is responsible
IP address: basic DHCP information (‘your (cli-
ent) IP address’)
IP mask: DHCP Option 1
3 node(pf-dhcps)[name]#[no] include ip-
address-from ip-address-to
Defines up to 4 contiguous IP address ranges
the server may use in the subnet defined in 2
(incremental command)
4 node(pf-dhcps)[name]#[no] default-
router default-router-ip-address
Defines up to 2 default routers (default gate-
ways) (incremental command)
DHCP Option 3
5 node(pf-dhcps)[name]#lease infinite
or
node(pf-dhcps)[name]#lease time
days|hours|minutes
Defines the time a lease is valid
DHCP Option 51
6
(optional)
node(pf-dhcps)[name]#[no] domain-
name domain-name
A PC DHCP client may use this domain name to
complete host names to fully qualified domain
names.
DHCP Option 15
7
(optional)
node(pf-dhcps)[name]#[no] domain-
name-server domain-name-server-ip-address
Defines up to 2 domain name servers (DNS) to
be used by the client (incremental command)
DHCP Option 6
8
(optional)
node(pf-dhcps)[name]#[no] netbios-
name-server netbios-name-server-ip-address
Typical installation use h-node for hybrid.
Refer to the Windows administration manuals
for details about NetBIOS options.
DHCP Option 44
9
(optional)
node(pf-dhcps)[name]#[no] netbios-
node-type b-node|h-node|m-node|p-
node
Defines the NetBIOS node type (b: uses broad-
casts, h: hybrid – queries the name server first,
then broadcasts, m: broadcasts first, then que-
ries the name server, p: only point-to-point
name queries to a name server)
DHCP Option 46