Readers will learn how relay DHCP messages from clients to a DHCP server located on a different subnet.
NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Knowledge of the Command Line Interface (CLI) and basic networking knowledge is required. Please see the Related Articles below for more information.
Device used in this article:
Configuring DHCP Delay
The EdgeRouter will relay (forward) the DHCP requests from the clients in the 192.168.1.0/24 network to the DHCP server at 172.16.1.10.
CLI: Access the Command Line Interface. 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
NOTE: Include all interfaces that should participate in the DHPC Relay process.
3. Specify the DHCP server where the client requests should be relayed to.
set service dhcp-relay server 172.16.1.10
4. Commit the changes and save the configuration.
commit ; save