The DHCP Server service is an optional Windows Component, so you can install it using the Add or Remove Programs applet in the Control Panel. There are no configuration options when you install the DHCP Server, so installation is a breeze. After you've installed the service, you'll need to authorize the server, if you have an Active Directory environment.
Using a graphical user interface
- From the Control Panel, open the Add or Remove Programs applet.
- Click Add/Remove Windows Components.
- Double-click Network Services.
- Check the box beside Dynamic Host Configuration Protocol (DHCP).
- Click OK.
- Click Next.
- Click Finish.
Using a command-line interface
First, create a file using a text editor such as Notepad with the following contents:
[netoptionalcomponents]
dhcpserver=1
Next, use the sysocmgr.exe utility with the following parameters (assuming the file you just created is named c:\dhcp_install.txt):
> sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\dhcp_install.txt
If the server you installed DHCP on is multihomed (i.e., has multiple active network adapters), you'll want to make sure the correct network adapters are enabled for use by the DHCP Server. You can enable or disable adapters for use by DHCP Server by doing the following:
- Open the DHCP snap-in.
- In the left pane, click on the server node.
- From the menu, select Action > Properties.
- Select the Advanced tab.
- Click the Bindings button.
- Make sure the interfaces where the DHCP Server should respond are checked.
- Click OK until all dialog boxes are closed.
No comments:
Post a Comment