Windows Server 2008 cleverly configures the DHCP server

  

The Windows Server 2008 system is introduced, and the scale of the LAN network is gradually expanding. The number of computers in the LAN is also increasing. Many network administrators assign IP addresses to computers quickly. Will choose to set up a DHCP server in the LAN to automatically assign a dynamic IP address to each computer in the LAN. You must be eager to know how to install and configure the DHCP server in this system environment. Below, please take a look at the specific steps to set up a DHCP server in the Windows Server 2008 system environment!

Open the DHCP service Veil

In a network based on the TCP/IP communication protocol, each workstation needs at least one IP address to communicate with other workstations on the LAN. In order to facilitate the unified management and planning of IP addresses in the LAN network, DHCP services have emerged. The so-called DHCP is actually the abbreviation of Dynamic Host Configure Protocol. Its Chinese meaning is also called dynamic host configuration protocol. This protocol is a client-server technology, which allows the DHCP server to automatically assign the IP address in its address pool to Each workstation in the LAN also allows servers in the LAN to lease reserved IP addresses.

For a unit network with a large number of workstations, when changing or modifying the IP address, we only need to make changes to its scope parameters in the DHCP server system to automatically update. IP address parameters in the DHCP client, and do not need to perform IP address change operations on each workstation at all, which can effectively reduce the network management workload of the unit LAN administrator, because all workstations in the LAN The IP address is stored in a database on the DHCP server host.

Installing an IPv4 DHCP Server

Generally speaking, DHCP servers often need to be installed on a computer system with Windows Server 2000 or higher; and the computer system acting as a DHCP server must be installed with TCP. /IP protocol, you need to set a static IP address, subnet mask, specify the default gateway address and DNS server address. For Windows Server 2008, the DHCP server is not installed by default. For this reason, we can follow the steps below to successfully install the DHCP server:

First enter Windows Server 2008 with super administrator privileges. System, open the system's "Start" menu, select the "Programs" from the menus, and then click the left button. In the pop-up Server Manager window, click Left. In the side display area, click the “Role” option. In the display area to the right of the corresponding option, click the “Add Role” button to open the server role list window as shown in Figure 1.


Figure 1


Select the “DHCP server" option in the list window, of course, if the Windows Server 2008 system does not use static IP address, the system will automatically pop up a prompt window after selecting the "DHCP server" option, tell us that the local system does not use a static IP address, and ask if we want to continue to install the DHCP server; at this time, we must re-Windows The Server 2008 system sets a suitable static IP address, and does not recommend using a dynamic IP address. If the IP address of the DHCP server changes, the normal workstation on the LAN will not be able to connect to the DHCP server.

After selecting the "DHCP Server" option, click the "Next" button, and the DHCP server introduction window will pop up on the screen (as shown in Figure 2); here, we can not only understand To the role of the DHCP server, but also know what preparations need to be done before installing the DHCP server; after confirming that your preparations have been completed, continue to click the "Next" button, and the wizard prompts after it In the interface, we will see that the system requires the DNS server address under the IPv4 protocol to be specified. The DNS server address set here will be integrated into the DHCP server. When the DHCP server updates the IP address information, the corresponding DNS update will occur. Synchronize the association of the computer's name to the IP address. In addition, here we also need to set up the parent domain name that the LAN client will use for name resolution. This domain will be used for all the scopes we created on this DHCP server.


Figure 2

Then the wizard prompt window will ask if we want to set the WINS server address parameter. If this parameter is set, the parameter will also automatically apply to All clients in the LAN, by default, the DHCP server installation wizard will select “ applications on this network do not need WINS & rdquo; option (as shown in Figure 3); of course, if there is indeed WINS in the local LAN When the server, then we can select the "this application on the network needs WINS" option, and then correctly set the IP address of the target WINS server.


Figure 3


Next, click the “Next” button in the wizard prompt window, and the settings that appear after it In the window, we can properly set the role of the DHCP server according to the IP address allocation of the local LAN, that is, set the scope of the DHCP server, because the DHCP server can effectively effectively only after creating the appropriate scope. The IP address is automatically assigned to the normal workstation in the LAN; when doing this setting operation, we can click the “Add” button in the wizard settings window to open the Add Scope setting window as shown in Figure 4. Specify the specific DHCP scope name in the domain name of the settings window, enter the starting IP address of the LAN network in the Start IP address text box, enter the IP address of the LAN network in the End IP address text box, and then the subnet. The parameters such as the netmask address and the default gateway address are set to be the same as the parameters related to the Windows Server 2008 system. Finally, the subnet type is set and selected and activated. Scope & rdquo; option and click & ldquo; OK & rdquo; button to end the setting operation add DHCP scope.


Figure 4

Next, the Windows Server 2008 system adds support for the next-generation IP address specification IPv6 by default, but the current network status It is said that ordinary users rarely use the new communication protocol IPv6, so when the wizard prompt window asks us to configure the DHCPv6 stateless mode parameter of this server, we can choose to disable the DHCPv6 stateless mode option for this server.

After confirming that the above settings are correct, we will click the “Install” button in the subsequent wizard installation interface, and then the Windows Server 2008 system will automatically follow our previous setup requirements. To start the installation of the DHCP server role, if you find that there is still a problem with the above settings, we can also click the “ Previous" button in the wizard interface to reset. After the installation is finished, the Windows Server 2008 system will pop up a prompt message telling us whether the DHCP server has been successfully installed. If an error occurs during the installation process, the system will also tell us the specific error, and we can enter DHCP. The server's console window makes its own changes.

Configuring an IPv4 DHCP Server

When we successfully install and enable a DHCP server on a Windows Server 2008 server system, we will definitely adjust the parameters of the DHCP server in the future. To ensure that the DHCP server can work more efficiently, in the Windows Server 2008 server system environment, how do we modify and configure the working parameters of the IPv4 DHCP server? In fact, it is very simple, we just follow the steps below:

First enter the Windows Server 2008 system with super administrator privileges, open the "Start" menu of the system, and then click "Programs" from the list "Programs" &/or "Administrative Tools" "DHCP” Command, open the DHCP server management interface; in this management interface, we have already seen the IPv4 scope that was successfully created before. If we want to add a new scope, you can right click on the IPv4 option and pop up from the Execute the “New Scope” command in the shortcut menu, and then set the new one as needed in the Add Scope Settings dialog box. With the domain name and the IP address of the start and end of the IP address. If we want to adjust the scoping parameters that have been created before, you can right-click the corresponding scope and click the “Properties” command from the pop-up context menu to open the property settings of the corresponding scope. Window, in which we can change the parameters of the target scope, such as changing the name of the scope, changing the subnet type, changing the range of the address pool, and so on.



If we want to retain the LAN IP address of a specific server or other computer, in order to ensure that they always get the same IP address from a DHCP server, we can address this The target scope is newly created. When creating the reserved address of the target scope, we can right-click the target scope name and execute the “New Hold” command from the pop-up shortcut menu. Enter the IP address of the specific server or other computer and the MAC address of the network card in the window, and finally click the "OK" button.

Copyright © Windows knowledge All Rights Reserved