![]() |
![]() |
| ||||||||||||||||
Adding, Modifying, and Removing DHCP Networks (Task Map)When you configure a DHCP server, you must also configure at least one network in order to use the DHCP service. You can add more networks at any time. The following task map lists tasks you may need to perform when working with DHCP networks and the procedures used to carry them out.
Specifying Network Interfaces to Monitor for DHCP ServiceBy default, both dhcpconfig and DHCP Manager's Configuration Wizard configure the DHCP server to monitor all the server system's network interfaces. If you add a new network interface to the server system, the DHCP server automatically monitors the new interface when you boot the system. You can then add any networks that will be monitored through the network interface. However, DHCP Manager also allows you to specify which network interfaces the DHCP service should monitor and which it should ignore. You might want to ignore an interface if you do not want to offer DHCP service on that network. If you specify that any interface should be ignored, and then install a new interface, the DHCP server ignores the new interface unless you add it to the server's list of monitored interfaces. You can specify interfaces with DHCP Manager. This section includes a procedure that enables you to specify which network interfaces DHCP should monitor, and which to ignore. The procedure uses the Interfaces tab of the DHCP Manager's Modify Service Options dialog box, which is shown in the following figure. Figure 10-4 Interfaces Tab of Modify Service Options Dialog Box ![]()
|
# /usr/sbin/dhcpconfig -N network_address |
where network_address is the IP address of the network you want to add to the DHCP service. See the dhcpconfig man page for suboptions you can use with the -N option.
If you do not use suboptions, dhcpconfig uses network files to obtain information it needs about the network.
Add IP addresses for the network so clients on the network can obtain addresses.
After you add a network to the DHCP service, you can modify the configuration information you originally supplied by modifying the network macro used to pass information to the clients on the network.
The following figure shows the Macros tab of the DHCP Manager.
Figure 10-6 DHCP Manager's Macros Tab

How to Modify Configuration of a DHCP Network (DHCP Manager)Select the Macros tab.
All macros defined for this DHCP server are listed in the left pane.
Select the network macro whose name matches the network whose configuration you want to change.
The network macro name is the network IP address.
Choose Properties from the Edit menu.
The Macro Properties dialog box displays a table of the options included in the macro.
Select the option you want to modify.
The option name and value are displayed in text fields near the top of the dialog box.
Type the new value for the option and click Modify.
You can also add options here by clicking Select in the dialog box. See Modifying DHCP Macros for more general information about modifying macros.
Select Notify DHCP Server of Change and click OK.
The change is made to the dhcptab and the DHCP server is signaled to reread the dhcptab and put the changes into effect.
Previous Contents Index Next ![]() |