Home menu level: /ip dhcp-relay
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
dhcp-server ( text ) - list of DHCP servers' IP addresses which should the DHCP requests be
forwarded to
delay-threshold ( time ; default: none ) - if secs field in DHCP packet is smaller than
delay-threshold, then this packet is ignored
interface ( name ) - interface name the DHCP relay will be working on
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
name ( name ) - descriptive name for relay
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@MikroTik] ip dhcp-relay> add name=relay interface=ether1 \
\... dhcp-server=10.0.0.1 disabled=no
[admin@MikroTik] 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@MikroTik] ip dhcp-relay>
Question&Answer-Based Setup
Command name: /ip dhcp-server setup
Command Description
addresses to give out ( text ) - the pool of IP addresses DHCP server should lease to the clients
dhcp address space ( IP address | netmask ; default: 192.168.0.0/24 ) - network the DHCP server
will lease to the clients
dhcp relay ( IP address ; default: 0.0.0.0 ) - the IP address of the DHCP relay between the DHCP
server and the DHCP clients
Page 491 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.