Configure a DHCP server using dhcpmgr (GUI), or dhcpconfig , (command-line) normally used by advanced administrators. The “D option configures a server initially.
Datastore can be SUNWfiles (text files), SUNWbinfiles (binary files), or SUNWnisplus (A NIS+ table).
The dhcp_network table contains details of the range of IP addresses managed by DHCP. It is manipulated by dhcpmgr , dhcpconfig , or pntadm .
The dhcptab table holds the configuration parameters. Use either dhcpmgr or dhtadm to manipulate this table.
Unconfigure a DHCP server using the command dhcpconfig “U “x “h “f . The “U means unconfigure, “x removes the database tables, the “h removes host entries and the “f specifies no confirmation.
Configure a client to use a dynamically assigned hostname, the default, by creating an empty file for the network interface. For hme0 , create /etc/dhcp.hme0 and reboot.
Configure a client to request a specific hostname by editing /etc/default/dhcpagent and changing the entry REQUEST_HOSTNAME=no to REQUEST_HOSTNAME=yes and making sure it is uncommented. Also, add the entry inet < hostname > to the relevant /etc/hostname.< interface > file. Reboot.
The allow-update statement permits dynamic DNS updates.