Log in to the server to which you imported data.
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.
Examine the network tables for data that needs to be modified.
If you moved networks, use the pntadm -P network-address command to print out the network tables for the networks you moved.
Modify IP address information by using the pntadm command.
You might need to change the owning server and the configuration macro for imported addresses. For example, to change the owning server (10.60.3.4) and macro (dhcpsrv-1060) for address 10.63.0.2, you would use the following command:
pntadm -M 10.63.0.2 -s 10.60.3.4 -m dhcpsrv-1060 10.60.0.0
If you have a large number of addresses, you should create a script file that contains commands to modify each address. Execute the script with the pntadm -B command, which runs pntadm in batch mode. See the pntadm(1M) man page.
Examine the dhcptab macros for options with values that need modification.
Use the dhtadm -P command to print the entire dhcptab table to your screen. Use grep or some other tool to search for options or values that you might want to change.
Modify options in macros, if necessary, by using the dhtadm -M command.
For example, you might need to modify some macros to specify the correct domain names and servers for NIS, NIS+ or DNS. For example, the following command changes the values of DNSdmain and DNSserv in the macro mymacro:
dhtadm -M -m mymacro -e 'DNSserv=dnssrv2:DNSdmain=example.net' -g