Windows Server-DHCP high-availability two configuration articles

Source: Internet
Author: User
Tags failover get ip

After installing the DHCP role, we need to deploy the configuration in Server Manager, we can see that this small flag has a sigh good, click the Flag button

650) this.width=650; "title=" 17.png "style=" height:511px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m00/56/c0/wkiom1smnpkxh4qfaasgwt3jgva639.jpg "width=" 720 "height=" 511 "alt=" Wkiom1smnpkxh4qfaasgwt3jgva639.jpg "/>

You can see that we need to set the post-deployment configuration and click on the "complete DHCP Configuration" under the DHCP01 server

650) this.width=650; "title=" 18.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/be/wkiol1smny7wo3t4aavcogzq2uc383.jpg "width=" 720 "height=" 541 "alt=" Wkiol1smny7wo3t4aavcogzq2uc383.jpg "/>

Then enter into the DHCP Installation Configuration wizard and click "Next"

650) this.width=650; "title=" 19.png "style=" height:529px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/c0/wkiom1smnppa8ccwaaggpvs_jks974.jpg "width=" 720 "height=" 529 "alt=" Wkiom1smnppa8ccwaaggpvs_jks974.jpg "/>

Here you need to specify the credentials used to authorize this DHCP server in AD DS, which is usually our Admin administrator account, and we can also specify an account with the same permissions, click "Submit" to continue

650) this.width=650; "title=" 20.png "style=" height:529px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m00/56/be/wkiol1smny7d0au1aahsvap45uq537.jpg "width=" 720 "height=" 529 "alt=" Wkiol1smny7d0au1aahsvap45uq537.jpg "/>

We can see that the creation and authorization of the security group was completed during the commit process

650) this.width=650; "title=" 21.png "style=" height:529px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m02/56/be/wkiol1smny6ajaxsaagp6tvsdfu617.jpg "width=" 720 "height=" 529 "alt=" Wkiol1smny6ajaxsaagp6tvsdfu617.jpg "/>

Configure the DHCP02 server in the same way

650) this.width=650; "title=" 22.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m02/56/c0/wkiom1smnpoho66iaavbxho7vdk053.jpg "width=" 720 "height=" 541 "alt=" Wkiom1smnpoho66iaavbxho7vdk053.jpg "/>

After the configuration, we came to the DHCP Server management interface, right-DHCP01, select "DHCP Manager" to open the management interface

650) this.width=650; "title=" 23.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m00/56/c0/wkiom1smnptxqv6waaqyyuqc9m4461.jpg "width=" 720 "height=" 541 "alt=" Wkiom1smnptxqv6waaqyyuqc9m4461.jpg "/>

We can see that the IPv4 and IPv6 under the DHCP01 node have a red arrow in the drop-down, because we have not authorized the DHCP server, under Node DHCP01, right-click "Authorize" 650) this.width=650; "Title=" 24.png " Style= "Float:none;" src= "Http://s3.51cto.com/wyfs02/M00/56/BE/wKioL1SMNY_CerjoAAGwYS1gWo8211.jpg" alt= " Wkiol1smny_cerjoaagwys1gwo8211.jpg "/>

And then the refresh can see the Red drop-down arrow into a green tick, and this is often used in the previous version of the authorization method, in fact, we can also use another way to complete the authorization, see below DHCP02 's authorization to see 2012 of the new licensing method

650) this.width=650; "title=" 25.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnrjszvalaafsgfokdyg472.jpg "alt=" Wkiom1smnrjszvalaafsgfokdyg472.jpg "/>

We just need to right-click on "All Tasks" under the DHCP02 node and select "Restart" to complete the server authorization.

650) this.width=650; "title=" 26.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/be/wkiol1smnbtjljcyaaknex_u2f8305.jpg "width=" 720 "height=" 541 "alt=" Wkiol1smnbtjljcyaaknex_u2f8305.jpg "/>

After the reboot we can also see the drop-down red arrow turned green check

650) this.width=650; "title=" 27.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/C0/ Wkiom1smnrnxzd6laafkiclt7fo130.jpg "alt=" Wkiom1smnrnxzd6laafkiclt7fo130.jpg "/>

The DHCP service has been built, so now we need to create a scope, under the IPV4 node of the DHCP01 server, right-click on "New Scope"

650) this.width=650; "title=" 28.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m02/56/be/wkiol1smnbstrlu1aalctmezndm597.jpg "width=" 720 "height=" 541 "alt=" Wkiol1smnbstrlu1aalctmezndm597.jpg "/>

Click "Next" by default

650) this.width=650; "title=" 29.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnrnwfkwvaahyqd8_fhw557.jpg "alt=" Wkiom1smnrnwfkwvaahyqd8_fhw557.jpg "/>

Enter the name of our new scope, if in the enterprise, suggest we enter the name that can be easily identified, such as office location, Division, Department, etc., can also be described, I'm simple here.

650) this.width=650; "title=" 30.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smnbszjivgaagwcsprz3m816.jpg "alt=" Wkiol1smnbszjivgaagwcsprz3m816.jpg "/>

Here we need to enter the IP address range of our scopes, enter our start IP address and end IP address, and our subnet mask, click "Next"

650) this.width=650; "title=" 31.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnrnctnj8aah62wiwoo4594.jpg "alt=" Wkiom1smnrnctnj8aah62wiwoo4594.jpg "/>

If the company has servers and the like, we can choose to add the exclusion and delay address here, spare for the server or other devices to use, add these exclusions are not assigned to the client by DHCP

650) this.width=650; "title=" 32.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/BE/ Wkiol1smnbxwgf8jaaimia79gn0136.jpg "alt=" Wkiol1smnbxwgf8jaaimia79gn0136.jpg "/>

Click "Add" to add to the excluded address range

650) this.width=650; "title=" 33.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smndiafa-daah2a29rahc960.jpg "alt=" Wkiol1smndiafa-daah2a29rahc960.jpg "/>

To the Guide page for setting the lease term, the default is 8 days

650) this.width=650; "title=" 34.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnt3dxpiiaailjk0ggzm279.jpg "alt=" Wkiom1smnt3dxpiiaailjk0ggzm279.jpg "/>

I'm here because wait. To test failover, change the lease period to 5 minutes, click "Next"

650) this.width=650; "title=" 35.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smndnhzfqnaaidd1zrbsu690.jpg "alt=" Wkiol1smndnhzfqnaaidd1zrbsu690.jpg "/>

Select Yes, I configure these options now, and the next step

650) this.width=650; "title=" 36.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnt7aklbsaaipyvum0xi249.jpg "alt=" Wkiom1smnt7aklbsaaipyvum0xi249.jpg "/>

Add our default gateway here

650) this.width=650; "title=" 37.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/BE/ Wkiol1smndmjlwtbaagu75dpoma077.jpg "alt=" Wkiol1smndmjlwtbaagu75dpoma077.jpg "/>

650) this.width=650; "title=" 38.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/C0/ Wkiom1smnt6bqykjaaf9ygssd_o201.jpg "alt=" Wkiom1smnt6bqykjaaf9ygssd_o201.jpg "/>

Then to the domain name and DNS server settings interface, by default, if we have other DNS server, we can enter the server name field of my server hostname, and then click "Resolve"

650) this.width=650; "title=" 39.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smndmry2qmaaixcknb92s064.jpg "alt=" Wkiol1smndmry2qmaaixcknb92s064.jpg "/>

After you click Resolve, you can parse out our server IP address and click Add to add to our list of DNS servers

650) this.width=650; "title=" 40.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnt7wijbjaai2krzvpss850.jpg "alt=" Wkiom1smnt7wijbjaai2krzvpss850.jpg "/>

Enter our DNS parent domain, which is generally the default

650) this.width=650; "title=" 41.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smnfjxsl9vaaixqfsxlyk134.jpg "alt=" Wkiol1smnfjxsl9vaaixqfsxlyk134.jpg "/>

The next configuration WINS servers, which are now rarely used by WINS servers, are using WINS servers primarily because there were earlier Windows systems in the enterprise, such as Windows 98, and of course I'm sure the antiques are useless now, I remember when I was in college, a lot of machines were still 98 .... This is usually skipped directly.

650) this.width=650; "title=" 42.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnvztgjxuaaiuqyqfxte962.jpg "alt=" Wkiom1smnvztgjxuaaiuqyqfxte962.jpg "/>

Select "Yes, I want to activate this scope now" and click "Next"

650) this.width=650; "title=" 43.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/BE/ Wkiol1smnfisyrt0aafddvo4kdi625.jpg "alt=" Wkiol1smnfisyrt0aafddvo4kdi625.jpg "/>

Go to the Activation Scope Wizard and click "Finish"

650) this.width=650; "title=" 44.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/C0/wKiom1SMNV3T3f_ 9aaiwfregvrq224.jpg "alt=" Wkiom1smnv3t3f_9aaiwfregvrq224.jpg "/>

When we're done, we can see the scope we just built.

650) this.width=650; "title=" 45.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smnfiiy71oaaht3d6rgiq791.jpg "alt=" Wkiol1smnfiiy71oaaht3d6rgiq791.jpg "/>

Below begin configuring our DHCP failover, right-click the scope you just created, select Configure failover

650) this.width=650; "title=" 46.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m02/56/c0/wkiom1smnv3cjqpgaalpn-nu0ss801.jpg "width=" 720 "height=" 541 "alt=" Wkiom1smnv3cjqpgaalpn-nu0ss801.jpg "/>

Here we will automatically detect the scope of our available, if there are multiple scopes, we can only select a specific scope to fail over, or select all, because I just do a test, just set up a scope, the default is all selected

650) this.width=650; "title=" 47.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smnfjjrb8xaak6yumoqtm521.jpg "alt=" Wkiol1smnfjjrb8xaak6yumoqtm521.jpg "/>

Click "Add Server"

650) this.width=650; "title=" 48.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnv3dlwinaahvvdjwdik266.jpg "alt=" Wkiom1smnv3dlwinaahvvdjwdik266.jpg "/>

Select "Authenticated DHCP server, check DHCP02, click" OK "

650) this.width=650; "title=" 49.png "style=" Float:none; "src=" Http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMNg_ S3b6kaagafj38myc614.jpg "alt=" Wkiol1smng_s3b6kaagafj38myc614.jpg "/>

Click "Add Server" to add a partner server

650) this.width=650; "title=" 50.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/C0/ Wkiom1smnxpro5-aaaiuhauytim441.jpg "alt=" Wkiom1smnxpro5-aaaiuhauytim441.jpg "/>

Relationship name We can customize, the default client lead time is one hours, the mode is load balanced, there are two modes: Load balancing and hot standby server, if we choose load balancing, the equivalent of two of our DHCP server in active/active mode, two servers working simultaneously, and hot standby server is what we often say active/passive mode, that is, master-slave mode, and only one server to assume the service, here I can configure our load balance percentage based on server performance, I'll keep the default

650) this.width=650; "title=" 51.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smng-jvoutaaimqv_ffie300.jpg "alt=" Wkiol1smng-jvoutaaimqv_ffie300.jpg "/>

650) this.width=650; "title=" 52.png "style=" Float:none; "src=" Http://s3.51cto.com/wyfs02/M01/56/BE/wKioL1SMNg_ X96dkaaht01suci4746.jpg "alt=" Wkiol1smng_x96dkaaht01suci4746.jpg "/>

Because of the test, I change the maximum client lead time is 2 minutes, there is the option to enable message authentication, it is recommended to check this option, and then enter the two host connection when the public password, so as to improve the security of our DHCP server connection, these settings can be modified in the future operation, click Next

650) this.width=650; "title=" 53.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnxsjdbjqaai9-ye3za4473.jpg "alt=" Wkiom1smnxsjdbjqaai9-ye3za4473.jpg "/>

Here we can see our configuration, click "Finish" to start running the DHCP server configuration

650) this.width=650; "title=" 54.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smng-anethaalcxvcgylo489.jpg "alt=" Wkiol1smng-anethaalcxvcgylo489.jpg "/>

As you can see, just follow the steps below and click "Close" to complete the failover configuration

650) this.width=650; "title=" 55.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnxsysfjraagrdzd4vtq316.jpg "alt=" Wkiom1smnxsysfjraagrdzd4vtq316.jpg "/>

Here we go back to DHCP02 this server, we can see that the scope we established on the DHCP01 has appeared

650) this.width=650; "title=" 56.png "style=" height:511px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/be/wkiol1smnhcxuyfxaajtnfj5jym923.jpg "width=" 720 "height=" 511 "alt=" Wkiol1smnhcxuyfxaajtnfj5jym923.jpg "/>

We can use the PowerShell command to view the current DHCP failover status

650) this.width=650; "title=" 57.png "style=" height:655px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/c0/wkiom1smnabx6s1faajx-iioieu415.jpg "width=" 720 "height=" 655 "alt=" Wkiom1smnabx6s1faajx-iioieu415.jpg "/>

Now let's look at our failover configuration through the GUI, right-click the scope and select Properties

650) this.width=650; "title=" 58.png "style=" height:541px;width:720px; "border=" 0 "hspace=" 0 "src=" http:// S3.51cto.com/wyfs02/m01/56/c0/wkiom1smnaacbufraamessghqeo224.jpg "width=" 720 "height=" 541 "alt=" Wkiom1smnaacbufraamessghqeo224.jpg "/>

Switch to failover option, you can see the configuration information, this is not the same as our 2008

650) this.width=650; "title=" 59.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smnkgyerrmaahi9qsaahe825.jpg "alt=" Wkiol1smnkgyerrmaahi9qsaahe825.jpg "/>

If we need to modify our configuration, we can right-click on the IPV4 node on our server and select Properties

650) this.width=650; "title=" 60.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnaagpgn6aahfsj9utj8414.jpg "alt=" Wkiom1smnaagpgn6aahfsj9utj8414.jpg "/>

Then select the failover we created and click "Edit"

650) this.width=650; "title=" 61.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smnkkihppsaaheimokb78075.jpg "alt=" Wkiol1smnkkihppsaaheimokb78075.jpg "/>

Here we can configure our longest client lead time, or modify the failover mode

650) this.width=650; "title=" 62.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smnklx9x8jaajzn2bcbqy428.jpg "alt=" Wkiol1smnklx9x8jaajzn2bcbqy428.jpg "/>

Below we change the failover mode to hot standby server mode

650) this.width=650; "title=" 63.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnafzunoxaai-hi1npn4300.jpg "alt=" Wkiom1smnafzunoxaai-hi1npn4300.jpg "/>

First open a client, get IP address as follows, IP is 192.168.137.34 for our scope 192.168.137.202-240, DHCP server for our DHCP01,IP for 192.168.137.34

650) this.width=650; "title=" 64.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/C0/ Wkiom1smnaew4vnpaahtxcdwmcs000.jpg "alt=" Wkiom1smnaew4vnpaahtxcdwmcs000.jpg "/>

Below we turn off the DHCP service of our DHCP01 server

650) this.width=650; "title=" 65.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/BE/ Wkiol1smnlrcq6pgaaimoun9suu098.jpg "alt=" Wkiol1smnlrcq6pgaaimoun9suu098.jpg "/>

See that the DHCP service has been turned off

650) this.width=650; "title=" 66.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/56/C0/wKiom1SMNb_ Dlpo2aagjicwhch8035.jpg "alt=" Wkiom1smnb_dlpo2aagjicwhch8035.jpg "/>

Wait a moment, after our lease, re-acquire the IP or we disable the network card, re-enable see Get IP, you can see the DHCP server switch to DHCP02, you can see the DHCP server IP address is 192.168.137.35 for our DHCP02 server

650) this.width=650; "title=" 67.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/BE/ Wkiol1smnlqz8-m5aahwcqznmhy958.jpg "alt=" Wkiol1smnlqz8-m5aahwcqznmhy958.jpg "/>

We go back to our DHCP02 server and can see the current DHCP client information under address lease

650) this.width=650; "title=" 68.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/56/C0/ Wkiom1smnb-worykaah_k_adhmm527.jpg "alt=" Wkiom1smnb-worykaah_k_adhmm527.jpg "/>

Re-open the DHCP service on the DHCP01 server and we can see the address lease information on both DHCP01 and DHCP02

650) this.width=650; "title=" 69.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/56/BE/ Wkiol1smnlqdvhkaaaltk5wvi9k646.jpg "alt=" Wkiol1smnlqdvhkaaaltk5wvi9k646.jpg "/>

DHCP server plays an important role in the enterprise, the 2012 DHCP high-availability scheme can give us a good set of fault-tolerant mechanism, and the configuration is very simple, and this function basically can meet the needs of medium and large enterprises!

This article from "Robin's Home" blog, declined reprint!

Windows Server-DHCP high-availability two configuration articles

Related Article

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.