Become superuser or assume a role or user name that is assigned to the DHCP Management profile.
For more information about the DHCP Management profile, see Setting Up User Access to DHCP Commands.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Determine which macro includes information for all clients of the network.
The network macro's name matches the network IP address.
If you don't know which macro includes this information, you can display the dhcptab table to list all macros by using the command dhtadm -P.
Type a command of the following format to change the value of the option you want to change:
# dhtadm -M -m macro-name -e 'symbol=value' -g
See the dhtadm(1M) man page for more information about dhtadm command-line options.
For example, to change the 10.25.62.0 macro's lease time to 57600 seconds and the NIS domain to sem.example.com, you would type the following commands:
# dhtadm -M -m 10.25.62.0 -e 'LeaseTim=57600' -g
# dhtadm -M -m 10.25.62.0 -e 'NISdmain=sem.example.com' -g
The -g option causes the DHCP daemon to reread the dhcptab table and put the changes into effect.