Windows server2008 DHCP Relay Agent

Source: Internet
Author: User

Windows server2008 DHCP Relay Agent

DHCP Relay Agent role:

in a large network, there may be multiple subnets. DhcpThe client obtains through the webcast messageDHCPthe response from the serverIPaddress. However, broadcast messages cannot span subnets. Therefore, ifDHCPThe client and the server are in different subnets, and the client can also request to the serverIPWhere's the address? It's going to takeDHCPRelay Agent. DHCPA relay Agent is actually a software technology that installsDHCPA relay Agent's computer is calledDHCPA relay proxy server that undertakes different subnets betweenDHCPcommunication tasks for client and server.
A relay Agent is a small program that relays DHCP/BOOTP messages between clients and servers on different subnets . According to the request for Comments document (RFC),the DHCP/BOOTP Relay Agent is DHCP and BOOTP part of the standard and functionality.

experimental topology diagram ( GNS3)

Topology

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/4da06a1456e4c7ef43b2504a9f2eab46.png "title=" Picture 29.png "alt=" 4da06a1456e4c7ef43b2504a9f2eab46.png "/>

Build an experimental environment ( VMware workstation)

1. one Windows2008(DHCP server)

2. one Windows2008(DHCP relay Agent)

3. one windowsxp(client)

4. one Win7(client)

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/9c498384d65524b8de40d1de1afe5f9e.png "title=" Picture 1.png "alt=" 9c498384d65524b8de40d1de1afe5f9e.png "/>


Experimental steps:

Step One: Configure the IPfor theDHCP server ,

ip

Step Two: install the DHCP service on the "DHCP server" , configure the above IP ground the site pool .

Step Three: Add the role ' Network Policy and Access Service ' to the DHCP relay Agent


650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/f3d31e4b274f9d9025f6a6ea59d272bf.png "style=" float: none; "title=" Image 2.png "alt=" F3d31e4b274f9d9025f6a6ea59d272bf.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/aaa5a65b34121f5bdc4a2d60211ca97d.png "style=" float: none; "title=" Image 3.png "alt=" Aaa5a65b34121f5bdc4a2d60211ca97d.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/fda3beb7a017127bb4a72f3eedfa8c80.png "style=" float: none; "title=" Image 4.png "alt=" Fda3beb7a017127bb4a72f3eedfa8c80.png "/>

Step four: Wait for the installation.

Step five: After the installation is successful, click the ' Close ' button.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/2d8a4a644fdeef9dae38dc28636d8ddf.png "title=" Picture 5.png "alt=" 2d8a4a644fdeef9dae38dc28636d8ddf.png "/>

Step Six: Configure Trunk routing.

1. Click Start → administrative tools → routing and remote Access.

650) this.width=650; "src=" Https://s2.51cto.com/oss/201710/19/614c1fe573224e0e0849c1768deb9095.png "title=" Picture 6.png "alt=" 614c1fe573224e0e0849c1768deb9095.png "/>

2. eject the ' Routing and Remote Access ' window.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/49e952a93d395ccdc6ece21ef6353b27.png "title=" Picture 7.png "alt=" 49e952a93d395ccdc6ece21ef6353b27.png "/>

3. Right-click ' Local computer ' to select ' Configure and Enable Routing and Remote Access '.

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/3e2a0ce6e2d997976d9af16c143ac475.png "title=" Picture 8.png "alt=" 3e2a0ce6e2d997976d9af16c143ac475.png "/>

4. Click ' Next '.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/b971100b8d2869d3f9c904f3a27b98e8.png "title=" Picture 9.png "alt=" B971100b8d2869d3f9c904f3a27b98e8.png "/>

5. Select ' Custom Configuration ' and click ' Next '.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/0477113ecc39c5a8d0f90bd5061b1284.png "title=" Picture 10.png "alt=" 0477113ecc39c5a8d0f90bd5061b1284.png "/>

6. Select 'LAN routing ' and click ' Next '.

650) this.width=650; "src=" Https://s4.51cto.com/oss/201710/19/abb08720b38b6ca9df3fbabeab629341.png "title=" Picture 11.png "alt=" Abb08720b38b6ca9df3fbabeab629341.png "/>

7. Click the ' Finish ' button to complete the initial configuration.

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/34ede17bc500e29b419465b1b7e16677.png "title=" Picture 12.png "alt=" 34ede17bc500e29b419465b1b7e16677.png "/>

8. Click ' Start service ' and wait for the initialization to complete.

650) this.width=650; "src=" Https://s4.51cto.com/oss/201710/19/8888049f443561dda9937047761c7b68.png "style=" float: none; "title=" Image 13.png "alt=" 8888049f443561dda9937047761c7b68.png "/>

650) this.width=650; "src=" Https://s2.51cto.com/oss/201710/19/f31bcfd65688f099eddeb105add0b47c.png "title=" Picture 14.png "alt=" F31bcfd65688f099eddeb105add0b47c.png "/>

9. configuration items are added to the management window.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/220a737acd035859f287031f39d8d052.png "title=" Picture 15.png "alt=" 220a737acd035859f287031f39d8d052.png "/>

expand 'IPv4', right-click ' General ', select ' New routing protocol '.

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/a83d6e49c222c04b88589f55db855653.png "title=" Picture 16.png "alt=" A83d6e49c222c04b88589f55db855653.png "/>

Select 'DHCP Relay Agent ' and click ' OK '.

650) this.width=650; "src=" Https://s2.51cto.com/oss/201710/19/04b3ccde43516a99f5241be210a840d2.png "title=" Picture 17.png "alt=" 04b3ccde43516a99f5241be210a840d2.png "/>

add to finish.

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/e92bfc6b3fe2efe99d242c2308fc2414.png "title=" Picture 18.png "alt=" E92bfc6b3fe2efe99d242c2308fc2414.png "/>

Right- click on 'DHCP Relay Agent ' and select ' Add interface '.

650) this.width=650; "src=" Https://s2.51cto.com/oss/201710/19/4c72442ea87e584345a189937b8bbac4.png "title=" Picture 19.png "alt=" 4c72442ea87e584345a189937b8bbac4.png "/>

Select the interface for the ' Relay Agent ' and select ' Local connection 2' here.

Click ' OK '.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/1c16c7190712a34aa8b0ea3dd60329b7.png "title=" Picture 20.png "alt=" 1c16c7190712a34aa8b0ea3dd60329b7.png "/>

tick ' relay DHCP packet ' and click ' OK '.

650) this.width=650; "src=" Https://s5.51cto.com/oss/201710/19/eaf6e86b0e299417582440620b406d88.png "style=" float: none; "title=" Image 21.png "alt=" Eaf6e86b0e299417582440620b406d88.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/d0a8487debf7c2c71b5ffe4b0b30516c.png "title=" Picture 22.png "alt=" D0a8487debf7c2c71b5ffe4b0b30516c.png "/>


Specify the proxy target (which server is the relay agent)

Right-click on 'DHCP Relay Agent ' and select ' Properties '.

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/744c09420540f74a6c19a43e2936a1eb.png "title=" Picture 23.png "alt=" 744c09420540f74a6c19a43e2936a1eb.png "/>

Add target IP. Click ' Apply ' and click ' OK '.

650) this.width=650; "src=" Https://s3.51cto.com/oss/201710/19/0eead840c0c6981dd906b46eeadffe7c.png "title=" Picture 24.png "alt=" 0eead840c0c6981dd906b46eeadffe7c.png "/>

DHCP Relay Agent configuration is complete.

Test results:

L DHCP server

Scope 192.168.1.0 lease conditions

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/325d91596a84a1bb0a858b3e3c2d4c0c.png "title=" Picture 25.png "alt=" 325d91596a84a1bb0a858b3e3c2d4c0c.png "/>

Scope 192.168.2.0 lease conditions

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/12be9916af8f5ecdd50a3383b6cd0145.png "title=" Picture 26.png "alt=" 12be9916af8f5ecdd50a3383b6cd0145.png "/>

L XP client

650) this.width=650; "src=" Https://s4.51cto.com/oss/201710/19/ded620237983152a82a559647a6490c3.png "title=" Picture 27.png "alt=" Ded620237983152a82a559647a6490c3.png "/>

L Win7 client

650) this.width=650; "src=" Https://s1.51cto.com/oss/201710/19/340e33aeea588af445ee0d3ad8520fd9.png "title=" Picture 28.png "alt=" 340e33aeea588af445ee0d3ad8520fd9.png "/>


This article is from "Good first Sen." "Blog, be sure to keep this provenance http://youtao.blog.51cto.com/13004739/1974242

Windows server2008 DHCP Relay Agent

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.