![]() |
![]() |
| ||
|
# pntadm -A ip-address options network-address |
Refer to the pntadm man page for a list of options you can use with pntadm -A. In addition, Table 10-2 shows some sample pntadm commands that specify options.
Note - You can write a script to add multiple addresses with pntadm. See Example 12-1 for an example.
After you add IP addresses to the DHCP service, you can modify any of the properties described in Table 10-2 by using DHCP Manager or the pntadm -M command. See the pntadm man page for more information about pntadm -M.
The following figure shows the Address Properties dialog box that you use to modify IP address properties.
Figure 10-10 Address Properties Dialog Box

The following figure shows the Modify Multiple Addresses dialog box that you use to modify multiple IP addresses.
Figure 10-11 Modify Multiple Addresses Dialog Box

How to Modify IP Address Properties (DHCP Manager)Select the Addresses tab.
Select the IP address's network.
Select one or more IP addresses you want to modify.
If you want to modify more than one address, press the Control key while you click with the mouse to select multiple addresses. You can also press the Shift key while you click to select a block of addresses.
Choose Properties from the Edit menu.
The Modify Addresses dialog box or the Modify Multiple Address dialog box opens.
Change the appropriate properties.
Click the Help button or refer to Table 10-2 for information about the properties.
Click OK.
How to Modify IP Address Properties (pntadm)Become superuser or a user assigned to the DHCP Management profile.
Enter a command of the following format:
# pntadm -M ip-address options network-address |
Many options can be used with the pntadm command, which are documented in the pntadm man page.
Table 10-2 shows some sample pntadm commands that specify options.
At times you might want the DHCP service to stop managing a particular address or group of addresses. The method you use to remove an address from DHCP depends on whether you want the change to be temporary or permanent.
To temporarily prevent the use of addresses, you can mark them unusable in the Address Properties dialog box as described in Marking IP Addresses Unusable by the DHCP Service.
To permanently prevent the use of addresses by DHCP clients, delete the addresses from the DHCP network tables, as described in Deleting IP Addresses from DHCP Service.
You can use the pntadm -M command with the -f UNUSABLE option to mark addresses unusable.
In DHCP Manager, you use the Address Properties dialog box, shown in Figure 10-10, to mark individual addresses, and the Modify Multiple Addresses dialog box, show in Figure 10-11, to mark multiple addresses, as described in the following procedure.
How to Mark Addresses Unusable (DHCP Manager)Select the Addresses tab.
Select the IP address's network.
Select one or more IP addresses you want to mark unusable.
If you want to mark more than one address unusable, press the Control key while you click with the mouse to select multiple addresses. You can also press the Shift key while you click to select a block of addresses.
Choose Properties from the Edit menu.
The Modify Addresses dialog box or the Modify Multiple Address dialog box opens.
If you are modifying one address, select the Lease tab.
Select Address is Unusable.
If you are editing multiple addresses, select Mark All Addresses Unusable.
Click OK.
Previous Contents Index Next ![]() |