Setup guide

Description
DHCP Relay is just a proxy that is able to receive a DHCP request and resend it to the real DHCP
server
Property Description
name (name) - descriptive name for relay
interface (name) - interface name the DHCP relay will be working on
dhcp-server (text) - list of DHCP servers' IP addresses which should be the DHCP requests
forwarded to
local-address (IP address; default: 0.0.0.0) - the unique IP address of this DHCP relay needed for
DHCP server to distinguish relays:
0.0.0.0 - the IP address will be chosen automatically
Notes
DHCP relay does not choose the particular DHCP server in the dhcp-server list, it just sent to all the
listed servers.
Example
To add a DHCP relay named relay on ether1 interface resending all received requests to the
10.0.0.1 DHCP server:
[admin@Wandy] ip dhcp-relay> add name=relay interface=ether1 \
\... dhcp-server=10.0.0.1 disabled=no
[admin@Wandy] ip dhcp-relay> print
Flags: X - disabled, I - invalid
# NAME INTERFACE DHCP-SERVER LOCAL-ADDRESS
0 relay ether1 10.0.0.1 0.0.0.0
[admin@Wandy] ip dhcp-relay>
Question&Answer-Based Setup
Command name: /ip dhcp-server setup
Command Description
dhcp server interface (name) - interface to run DHCP server on
dhcp address space (IP address/mask; default: 192.168.0.0/24) - network the DHCP server will
lease to the clients
gateway (IP address; default: 0.0.0.0) - the default gateway of the leased network
dhcp relay (IP address; default: 0.0.0.0) - the IP address of the DHCP relay between the DHCP
server and the DHCP clients
addresses to give out (text) - the pool of IP addresses DHCP server should lease to the clients
dns servers (IP address) - IP address of the appropriate DNS server to be propagated to the DHCP
clients
lease time (time; default: 3d) - the time the lease will be valid