How do I configure DHCP relay with Windows 2008?

Source: Internet
Author: User
Tags access properties

windows2008 Configuring DHCP relay

In the learning process of network construction, we will encounter a situation where the server is used as a switch or router to configure the DHCP server. So here we explain the contents of the DHCP relay configuration. We can use the DHCP server to assign the IP address to the machine inside the LAN, in general, the DHCP server is inside the LAN, but sometimes the DHCP server may not be on the local LAN, then we need to configure DHCP relay.



Environment: A server for a domain environment (2008), a common workgroup server (2008), two clients ――windows Xp,windows 7

Purpose: Assign IP addresses of different network segments to two clients

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/99/18/wKiom1lDvdfgOekeAAEdfubyuqU625.png-wh_500x0-wm_ 3-wmp_4-s_2773648490.png "title=" qq picture 20170616181438.png "alt=" Wkiom1ldvdfgoekeaaedfubyuqu625.png-wh_50 "/>

A. Building DHCP Services
Operation steps:

    1. Configure a static IP address for the server: 192.168.10.1, then open Server Manager, click Roles in the left window, and then add roles to the right of the stand-alone

    2. 650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/99/18/wKioL1lDvrDh6lrsAABEq-uZ0RE750.png-wh_500x0-wm_ 3-wmp_4-s_564759176.png "title=" qq picture 20170616180610.png "style=" Float:none; "alt=" Wkiol1ldvrdh6lrsaabeq-uz0re750.png-wh_50 "/>


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/99/18/wKiom1lDvrHxqv3UAABwwn8yxz0960.png-wh_500x0-wm_ 3-wmp_4-s_2343262532.png "title=" qq picture 20170616180802.png "style=" Float:none; "alt=" Wkiom1ldvrhxqv3uaabwwn8yxz0960.png-wh_50 "/>
2. In the Select Server roles interface, select DHCP Server, and then click Next.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/99/18/wKioL1lDvrHyHiqoAABTqI8qjhM929.png-wh_500x0-wm_ 3-wmp_4-s_2925413860.png "title=" qq picture 20170616180857.png "style=" Float:none; "alt=" Wkiol1ldvrhyhiqoaabtqi8qjhm929.png-wh_50 "/>
3, in the "Select Network connection Binding" interface, you can see the IP address of the machine, directly click "Next"


4. In the "Specify IPv4 WINS server Settings" screen, select "The application on this network does not require wins (W)" and then click "Next".

5, in the "Specify IPV4 DNS server Settings" interface, by default directly click "Next".

6, in the "Add or edit DHCP scope" screen, do not make any settings, directly click "Next".

7. In the Configure DHCPV6 stateless mode interface, select Disable DHCPV6 stateless mode for this server, and then tap Next.

8. In the "Authorize DHCP Server" screen, click "Next".
9. In the "Confirm Installation Selection" screen, confirm the installation information and click "Install".


10, "Start" → "Administrative Tools" → Open the "DHCP" management console.

11. Expand the left node, right-click "IPv4" and select "New Scope" in the pop-up menu. :

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/99/18/wKioL1lDvrKw9cObAABEQV9pPCk472.png-wh_500x0-wm_ 3-wmp_4-s_1880502844.png "title=" qq picture 20170616181205.png "style=" Float:none; "alt=" Wkiol1ldvrkw9cobaabeqv9ppck472.png-wh_50 "/>

12, in the "Role Domain Name" interface, enter a name and description, click "Next".

13. In the "IP address range" interface, enter the range of addresses assigned to this scope and click "Next".

14. In the "Add exclusion" screen, enter the range of IP addresses to exclude, click "Add", then "next."

15, in the "Lease term" interface, the default settings, direct "Next".

16. In the "Configure DHCP Options" screen, select "No, I want to configure these options later" and then "next".

17, the new success.

18. Open the DHCP Management console again to expand the new scope, which is not active at this time. Right-click the new scope, and in the pop-up menu, select Activate. :


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/99/18/wKiom1lDvrLBGJ43AABBC9TsXBI349.png-wh_500x0-wm_ 3-wmp_4-s_678066411.png "title=" qq picture 20170616181625.png "style=" Float:none; "alt=" Wkiom1ldvrlbgj43aabbc9tsxbi349.png-wh_50 "/>

19, then repeat the above steps, and then create a new scope of a different network segment, and activation.


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/99/18/wKiom1lDvrLzk2oPAAAo5RIdO7s413.png-wh_500x0-wm_ 3-wmp_4-s_1546669594.png "title=" qq picture 20170616182045.png "style=" Float:none; "alt=" Wkiom1ldvrlzk2opaaao5rido7s413.png-wh_50 "/>


Two Trunking on an ordinary 2008 server
Steps:

    1. To the normal workgroup server add two network card (a total of three), set the IP address of network card 1 is: 192.168.1.10, set the IP address of network card 2 is: 192.168.2.10, set the IP address of network card 3 is: 192.168.3.10,: (Here use a windows2008 as a router, enabling relaying on top)

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/99/18/wKioL1lDvrKiUuPcAABXeL7cTS8701.png-wh_500x0-wm_ 3-wmp_4-s_457739219.png "title=" qq picture 20170616183353.png "style=" Float:none; "alt=" Wkiol1ldvrkiuupcaabxel7cts8701.png-wh_50 "/>

2. Open the Server Manager of the normal 2008 server, click "Role" in the left window, then click "Add Role" on the right.

3. In the Select Server roles interface, select Network Policy and Access server, and then tap Next.


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/99/18/wKioL1lDvrPhrcYLAABpxsV7DXU832.png-wh_500x0-wm_ 3-wmp_4-s_2740655021.png "title=" qq picture 20170616183638.png "style=" Float:none; "alt=" Wkiol1ldvrphrcylaabpxsv7dxu832.png-wh_50 "/>

4. In the Select Role Services interface, select Routing and Remote Access service, and then next. :



   650) this.width=650; "Src=" Https://s5.51cto.com/wyfs02/M01/99/18/wKiom1lDvrPi3ArLAABk1JXiuYg727.png-wh_ 500x0-wm_3-wmp_4-s_2843658391.png "title=" qq picture 20170616183719.png "style=" Float:none; "alt=" Wkiom1ldvrpi3arlaabk1jxiuyg727.png-wh_50 "/>
5, after the installation, click" Start "-" Administrative Tools "-open" Routing and Remote Access ".

6, in the Routing and Remote Access management console, right-click the server name, and in the pop-up menu, select Configure and Enable Routing and Remote Access. :
   650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/99/18/ Wkiol1ldvrttwlslaablnun5-ow523.png-wh_500x0-wm_3-wmp_4-s_3648801069.png "title=" qq picture 20170616183941.png "Style=" Float:none; "alt=" wkiol1ldvrttwlslaablnun5-ow523.png-wh_50 "/>
7. In the" Welcome To Install Wizard "screen, click" Next ".

8, in the Configuration interface, select the custom configuration interface, and then click Next.

9, in the custom configuration interface, select LAN routing, and then next.

   650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/m00/99/19/wkiom1ldwwowy5oeaaarfb5-wp4347.png-wh_500x0-wm_3- Wmp_4-s_2521099121.png "title=" qq picture 20170616184101.png "style=" Float:none; "alt=" Wkiom1ldwwowy5oeaaarfb5-wp4347.png-wh_50 "/>
10, confirm the installation of new interest, click" Done ".

11, after clicking Finish, the Start service window pops up and the Start Service button is clicked.

12, expand the left Window node, right-click general, and in the pop-up menu, select New Routing protocol. :

   650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/99/19/ Wkiom1ldwwowupxfaabskmu2tti238.png-wh_500x0-wm_3-wmp_4-s_3686129675.png "title=" qq picture 20170616184228.png "Style=" Float:none; "alt=" wkiom1ldwwowupxfaabskmu2tti238.png-wh_50 "/>

13, in the" New Routing Protocol "interface, select" DHCP Relay Agent "and click" OK ".

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/99/18/wKioL1lDwwXgt_bSAAAWuIhwqf4279.png-wh_500x0-wm_ 3-wmp_4-s_3826691103.png "title=" qq picture 20170616185715.png "style=" Float:none; "alt=" Wkiol1ldwwxgt_ Bsaaawuihwqf4279.png-wh_50 "/>

14, right-click "DHCP Relay Agent", in the pop-up menu, select "New Interface". :


650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/99/18/wKioL1lDwwSDK1d9AAAQq0D05Qg081.png-wh_500x0-wm_ 3-wmp_4-s_370401092.png "title=" qq picture 20170616184644.png "style=" Float:none; "alt=" Wkiol1ldwwsdk1d9aaaqq0d05qg081.png-wh_50 "/>

15, add "local connection", "Local Connection 2" and "Local connection 3" Three network cards in "New Interface" interface, then click "OK". :

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/99/19/wKiom1lDwwTzVVJHAAAw06KaZGA158.png-wh_500x0-wm_ 3-wmp_4-s_2678493942.png "title=" qq picture 20170616185059.png "style=" Float:none; "alt=" Wkiom1ldwwtzvvjhaaaw06kazga158.png-wh_50 "/>

16. In the "Routing and Remote Access" interface, right-click on "DHCP Relay Agent" and in the popup menu, select "Properties".

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/99/19/wKiom1lDwwaiaYojAAAoTqdSzUM203.png-wh_500x0-wm_ 3-wmp_4-s_461602265.png "title=" qq picture 20170616190342.png "style=" Float:none; "alt=" Wkiom1ldwwaiayojaaaotqdszum203.png-wh_50 "/>
17. In the "DHCP Routing and Remote Access Properties" interface, enter the IP address of the DHCP server and click "Add". :

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/99/18/wKioL1lDxJXDkCANAAAfwtFQ7vo888.png-wh_500x0-wm_ 3-wmp_4-s_2200635352.png "title=" qq picture 20170616190422.png "style=" Float:none; "alt=" Wkiol1ldxjxdkcanaaafwtfq7vo888.png-wh_50 "/>

18, because the repeater has the function of routing, So the default gateway for the DHCP server is to enter the IP address of the repeater (same segment):
   650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/99/ 19/wkiol1ldxynccqiuaabfznik31u246.png-wh_500x0-wm_3-wmp_4-s_2515692108.png "title=" qq picture 20170616194914.png "alt=" Wkiol1ldxynccqiuaabfznik31u246.png-wh_50 "/>

19, to determine the DHCP server, repeater, Whether the NICs between the clients are bridged correctly. (The DHCP server and Repeater bridge the NIC 1, the two clients bridge the Repeater's Nic 2 and Nic 3 respectively.)

20, and then in the Command Prompt window of the client Windows XP, enter the command first: "Ipconfig/release" and release the IP address. Re-enter the command: "Ipconfig/renew" to get the new IP address. :

  650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/99/18/ Wkiol1ldxjes-01laadajyktfdq725.png-wh_500x0-wm_3-wmp_4-s_1878560385.png "title=" qq picture 20170616191437.png "Style=" Float:none, "alt=" wkiol1ldxjes-01laadajyktfdq725.png-wh_50 "/>
21, in the Command prompt window of the client Windows 7, also enter the command first:" ipconfig /release "to release the IP address, and then enter the command:" Ipconfig/renew "to obtain the new IP address. :

650) this.width=650; "Src=" Https://s1.51cto.com/wyfs02/M02/99/19/wKiom1lDxJaC7rW7AABePGnaPsU289.png-wh_ 500x0-wm_3-wmp_4-s_2641359297.png "title=" qq picture 20170616191221.png "style=" Float:none; "alt=" Wkiom1ldxjac7rw7aabepgnapsu289.png-wh_50 "/>

Note: In the two clients can get to different network segment IP address, it means that the Repeater build success!!!




This article is from the "Network" blog, be sure to keep this source http://18611537840.blog.51cto.com/13004230/1939151

How do I configure DHCP relay with Windows 2008?

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.