Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureHow to Duplicate an Existing IP Address (DHCP Manager)

  1. Select the Addresses tab.

  2. Select the network where the new IP address is located.

  3. Select the address whose properties you want to duplicate.

  4. Choose Duplicate from the Edit menu.

  5. Change the IP address and client name for the address.

    Most other options should remain the same, but you can change them if necessary.

  6. Click OK.

ProcedureHow to Add Multiple Addresses (DHCP Manager)

  1. Select the Addresses tab.

  2. Select the network where the new IP addresses are to be added.

  3. Choose Address Wizard from the Edit menu.

    The Address Wizard prompts you to provide values for the IP address properties. See Table 10-2 for more information about the properties. Making Decisions for IP Address Management (Task Map) includes more extensive information.

  4. Click the right arrow button as you finish entering information in each screen, and click Finish on the last screen.

    The Addresses tab is updated with the new addresses.

ProcedureHow to Add Addresses (pntadm)

  1. Become superuser or a user assigned to the DHCP Management profile.

  2. Type a command of the following format:

    # 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.


Modifying IP Addresses in the DHCP Service

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

Address tab with fields called IP Address, Client Name, Owned by Server, and Comment. Also shows Configuration Macro with pull-down list.

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

Dialog box shows pull-down lists labeled Managing Server and Configuration Macro. Shows selections for BOOTP, Unusable addresses, and Lease Type.

ProcedureHow to Modify IP Address Properties (DHCP Manager)

  1. Select the Addresses tab.

  2. Select the IP address's network.

  3. 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.

  4. Choose Properties from the Edit menu.

    The Modify Addresses dialog box or the Modify Multiple Address dialog box opens.

  5. Change the appropriate properties.

    Click the Help button or refer to Table 10-2 for information about the properties.

  6. Click OK.

ProcedureHow to Modify IP Address Properties (pntadm)

  1. Become superuser or a user assigned to the DHCP Management profile.

  2. 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.

Removing Addresses From DHCP Service

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.

Marking IP Addresses Unusable by the 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.

ProcedureHow to Mark Addresses Unusable (DHCP Manager)

  1. Select the Addresses tab.

  2. Select the IP address's network.

  3. 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.

  4. Choose Properties from the Edit menu.

    The Modify Addresses dialog box or the Modify Multiple Address dialog box opens.

  5. If you are modifying one address, select the Lease tab.

  6. Select Address is Unusable.

    If you are editing multiple addresses, select Mark All Addresses Unusable.

  7. Click OK.

Previous Previous     Contents     Index     Next Next