DHCP Relay Agent: Configuration in Windows Server 2016

DHCP Relay agent
Spread the love

What is a DHCP Relay Agent?

A DHCP Relay Agent allows DHCP clients in a different network subnet to lease IP addresses from a DHCP server in a another network. DHCP clients can only lease IP addresses from a DHCP server in its subnet. However, by installing a DHCP Relay agent, clients in other subnets can lease addresses.

In Windows Server 2016, Remote Access role is required to configure DHCP Relay Agent.

In this tutorial you will learn how to:

  1. Install Remote Access (RRA) Role in Windows Server 2016
  2. Configure Routing and Remote Access
  3. Configure DHCP Relay Agent

Important Note

A DHCP server with a working scope is required. This is NOT covered in this tutorial.

Install Remote Access Role in Windows Server 2016

To install Remote Access:

  • Log on to the server and open Server Manager.
  • Then click Manage and select Add Roles and Features.

Sponsored Content


DHCP Relay Agent - install Remote Access Role

  • On the Before you begin screen, click Next.
  • Select Role-based or feature-based installation and click Next.


  • Next, on the Select Destination server page, select the server you wish to install Windows Deployment Services Role.
  • On the Server Role page, check the box beside Remote Access then click Next.


  • On the Select Features page, click Next.


  • Then on the Remote Access page, click Next.
DHCP Relay Agent

  • On the Select Role service, check the box beside Routing. A window pops asking whether to add features required for routing? Click Add Features.
DHCP Relay Agent
DHCP Relay Agent

  • You are returned to the Select role services page. Confirm that DirecttAccess (RAS) and Routing roles are selected. Then click Next.
DHCP Relay Agent

  • On the confirmation page, review the features you selected. Then click Install.

Sponsored Content


To Prepare for DHCP Relay Agent Configuration, Configure Routing and Remote Access.

Before you configure DHCP Replay Agent, you have to configure Routing and Remote Access first.

Follow the steps below:

  • From Server Manager, click Tools, then select Routing and Remote Access.

dhcp relay agent

  • On the Routing and Remote Access MMC, right-click your server then click Configure and Enable Routing and Remote Access.

  • On the Welcome page, click Next.

  • The Configuration page opens. Select the last option, Custom Configuration. Then click Next.

  • On the Custom Configuration page, check the box beside LAN routing. Click Next. Then on the confirmation page, click Finish.
DHCP Relay Agent - Configure Roting

  • A pop up appears prompting you to start Routing and remote access service. Click Start Service. Then wait for the service to start.

  • Routing and Remote Access is now Configured. We are now ready to set up DHCP Relay Agent!

Sponsored Content


Finally, Time to Configure DHCP Relay Agent!

  • Expand IPv4, then right-click General and select New Routing Protocol.

dhcp relay agent

  • On the New Routing Protocol window, select DHCP Relay Agent. Then click Ok.
dhcp relay agent
dhcp relay agent

We are not done yet. Next step is to select the network interface.

  • Right-click DHCP Relay Agent and select New Interface.

dhcp relay agent

  • On the New Interface for DHCP Relay Agent, select the network interface. Then click Ok.

Important Note

Your network interfaces will be different. It will depend on the names of the network cards you have on the server.

  • When you click Ok in the last task, the properties of the network interface card opens for configuration. Accept the defaults then click Ok.

Hop-Count Threshold: The total number of devices that the packets should pass through as they travel from the source to the destination. In this instance the hop-count defines the number of DHCP Relay Agents the DHCP traffic is allowed to hop through.

Boot threshold (seconds): The number of seconds the relay agent ways before forwarding the message.

There you have it. Clients can now lease IP address from DHCP server outside their own network.

I will appreciate you comments. Kindly provide feedback using the “Leave a Reply” form below. Let me know your thoughts on this article. You could also share your experience for other readers to benefit from.

Other Helpful Tutorials


Additional Resources and References


Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *

By using this website you agree to accept our Privacy Policy and Terms & Conditions