Setup guide

interface and the source-address is left as 0.0.0.0, then the static address will be used. If there are
multiple addresses on the interface, an address in the same subnet as the range of given addresses
should be used
add-arp (yes | no; default: no) - whether to add dynamic ARP entry:
no - either ARP mode should be enabled on that interface or static ARP entries should be
administratively defined in /ip arp submenu
authoritative (yes | no; default: no) - whether the DHCP server is the only one DHCP server for
that network
relay (IP address; default: 0.0.0.0) - the IP address of the relay this DHCP server should process
requests from:
0.0.0.0 - the DHCP server will be used only for direct requests from clients (no DHCP really
allowed)
255.255.255.255 - the DHCP server should be used for any incomming request from a DHCP
relay except for those, which are processed by another DHCP servers exist in the /ip
dhcp-server submenu
Notes
If using both - Universal Client and DHCP Server on the same interface, client will only receive a
DHCP lease in case it is directly reachable by its MAC address through that interface (some
wireless bridges may change client's MAC address).
If authoritative property is set to yes, the DHCP server is sending rejects for the leases it cannot
bind or renew. It also may (although not always) help to prevent the users of the network to run
illicitly their own DHCP servers disturbing the proper way this network should be functioning.
If relay property of a DHCP server is not set to 0.0.0.0 the DHCP server will not respond to the
direct requests from clients.
Example
To add a DHCP server to the ether1 interface, lending IP addresses from dhcp-clients IP pool for 2
hours:
[admin@Wandy] ip dhcp-server> add name=dhcp-office disabled=no \
\... address-pool=dhcp-clients interface=ether1 lease-time=2h
[admin@Wandy] ip dhcp-server> print
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp-office ether1 dhcp-clients 2h no
[admin@Wandy] ip dhcp-server>
DHCP Networks
ip dhcp-server network
Property Description
address (IP address/mask) - the network DHCP server(s) will lend addresses from
netmask (integer: 0..32; default: 0) - the actual network mask to be used by DHCP client
0 - netmask from network address is to be used
gateway (IP address; default: 0.0.0.0) - the default gateway to be used by DHCP clients