EdgeRouter - DHCP Relay


Readers will learn how relay DHCP messages from clients to a DHCP server located on a different subnet.

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:

Configuring DHCP Delay

Back to Top

The network topology is shown below. The following interfaces are in use on the EdgeRouter:

  • eth1 -
  • eth2 - 


The EdgeRouter will relay (forward) the DHCP requests from the clients in the network to the DHCP server at 


CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter configuration mode.


2. Enable the DHCP relay functionality on the relevant interfaces.

set service dhcp-relay interface eth1
set service dhcp-relay interface eth2

3. Specify the DHCP server where the client requests should be relayed to.

set service dhcp-relay server

4. Commit the changes and save the configuration.

commit ; save

Related Articles

Back to Top

EdgeRouter - Configure DHCP Server on EdgeRouter

Intro to Networking - How to Establish a Connection Using SSH

We're sorry to hear that!