Deploying the DHCP service for Windows2003

Source: Internet
Author: User
Tags get ip to domain dhcp reservation

The scale of the network that the morning was managing was rapidly expanding, and the number of computers was increasing. In order to be able to do a good job, morning, and constantly use their spare time to "charge." This day he learned from some information, in the number of computers more than the network can use the DHCP service for the client computer automatically assigned IP address, 2144 small game can save the trouble of manually configuring the IP address. Morning morning thought this is good, this certainly can alleviate a lot of work burden. Although by looking at the data morning has a certain understanding of DHCP, but because there is no practical experience and dare not easy to operate, fortunately, we have a master Ahao in the side of hands-on guidance ...

Ready to install

Ahao is a skilled technical master with good habits, and always do some preparatory work for the goals to be achieved before each practical operation, of course, this time is no exception. Ahao first let the morning select a server with Windows Server 2003 installed to deploy the DHCP service, and also let the morning to the server specified a static IP address (such as "10.115.223.1"). In addition, according to the number of client computers owned by the same subnet in the network, Ahao and early morning identified a range of IP addresses as the scope of DHCP.

Ahao Tip: DHCP (Dynamic Host Configuration Protocol, ActiveSync) is one of the built-in service components for Windows Server 2003 and Windows servers. The DHCP service can automatically assign TCP/IP configuration information (such as IP address, subnet mask, default gateway, and DNS server address) to client computers within the network to help network administrators eliminate the task of manually configuring related options.

Installing the DHCP service

The DHCP service mm mini-game is not installed by default in Windows Server 2003 systems, so morning starts the installation of the DHCP service under the guidance of Ahao.

1th step in Control Panel, double-click the Add or Remove Programs icon to open the Windows Components Wizard dialog box by clicking the Add/Remove Windows Components button on the left side of the open window.

Step 2nd Locate and tick the network Services check box in the Components list, and then click the Details button to open the Network Services dialog box. Next, in the Subcomponents of Network Services list, tick the Dynamic Host Configuration Protocol (DHCP) check box, and click the OK → Next button to start configuring and installing the DHCP service. Finally click "Finish" button to complete the installation

Ahao tip: If you are deploying a DHCP server in an Active Directory domain, you also need to authorize the DHCP server to take effect. The network in this example is based on workgroup management mode, so you can create an IP scope operation without authorization.

Create IP Scopes

Early in the morning the ability to accept new technologies was strong, and rinsed completed the installation of the DHCP service. Ahao remind the morning, in order to automatically assign IP addresses to all client computers in the same subnet, the first thing to do is to create an IP scope, which is the reason to determine the IP address in advance as a domain. Under the guidance of Ahao, the operation of creating an IP scope began in the morning.

1th step, click start → administrative tools →dhcp to open the DHCP console window. In the left pane, right-click the DHCP server name and execute the new Scope command

The 2nd step opens the Role Domain Name Wizard page by clicking the Next button in the New Scope Wizard dialog box that opens. In the Name box, type a name for the scope (such as "CCE") and a descriptive message, and click the Next button.

Tip: Here the role of the domain name only play a role in the logo, basically no practical application.

The 3rd step opens the IP Address Range Wizard page, typing the previously determined range of IP addresses in the Start IP address and end IP Address edit boxes (in this case, "10.115.223.2~10.115.223.254"). You then need to define the subnet mask to determine the number of bits in the IP address that are used for the network/subnet ID. Because this example network environment is a subnet within the metropolitan area Network, adjust the value of the length spinner to 23 according to the actual situation, and click the Next button

4th step in the Add Exclusion wizard page that opens, you can specify an excluded IP address or range of IP addresses. Several IP addresses have been used by translating as static IP addresses for other servers, so they need to be excluded. Type the excluded IP address in the Start IP Address edit box and click the Add button. Repeat the action, then click the Next button

5th step in the Lease Duration wizard page that opens, the client obtains an IP address age limit of 8 days by default. If there are no special requirements to keep the default values intact, click the Next button.

6th Step Open the Configure DHCP Options wizard page, leave the Yes, I want to configure these options now Radio box and click the Next button. On the router (Default Gateway) wizard page that opens, type the gateway address (in this case, "10.115.223.254") and click the Add → Next button.

The 7th step does not have any settings in the Open domain name and DNS Server Wizard page because the DNS server is not installed in the network and has not been upgraded to domain management mode. Click the Next button to skip the WINS Server Wizard page to open the Activation Scope Wizard page. Keep "Yes, I want to activate this scope now" Radio box selected, and click next → finish button to end the configuration.

Setting up DHCP clients

After the DHCP service was installed and IP scopes were created, the morning thought was done. But Ahao warned: "To use DHCP to assign IP addresses to client computers, in addition to a DHCP server in the network, the client computer should have the ability to automatically obtain an IP address from the DHCP server, which is referred to as a DHCP client."

Ahao and morning came to a client computer running Windows XP with the following settings: Right-click the Network Places icon on the desktop and execute the Properties command. Open the Local Area Connection Properties dialog box by right-clicking the Local Area Connection icon and executing properties in the Network Connections window that opens. Then double-click the Internet Protocol (TCP/IP) option, select the "Get IP address automatically" Radio box, and select the "OK" button.

Ahao tip: By default, the lower end of the computer is used to automatically obtain the IP address of the way, generally do not need to modify, just check the line.

At this point, the DHCP server and the client have all been set to complete. In the event that the DHCP server is functioning properly, the first time the two-person game is powered on, the client automatically obtains an IP address and has a eight-day lifespan.

Modify Lease Duration

Although the DHCP server was deployed successfully, it started to whispered again in the morning. After obtaining an IP address, the client only has a 8-day lifespan and then re-requests a new IP address after the deadline. Frequent IP address changes will certainly bring trouble to the management. Is it possible for the client to have permanent access to the IP address after acquiring an IP address? It seems that the morning began to use brains, which makes Ahao greatly pleased. Ahao said: "As long as the ' lease term ' is set to ' unlimited ' to solve the problem." In the DHCP console window, expand the server name directory, and then right-click the scope CCE option to execute the Properties command. In the Properties dialog box that opens, click the Unrestricted Radio box and the OK button.

Under the guidance of Ahao hand, Morning has mastered the basic configuration method of DHCP server. Finally, Ahao summarizes that there are many more knowledge about DHCP, such as backup and restore of DHCP server database, DHCP reservation, rebuilding damaged DHCP server and other important operations need to be mastered in the future. Morning, while nodding his head, said: "Really listen to June words, Sheng Read ten years book Ah!"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.