Manual:IP/DHCP Server
Jump to navigation
Jump to search
Applies to RouterOS: v3, v4
Summary
General
Sub-menu: /ip dhcp-server
Property | Description |
---|---|
add-arp (yes | no; Default: no) | Whether to add dynamic ARP entry. If set to no either ARP mode should be enabled on that interface or static ARP entries should be administratively defined in /ip arp submenu |
address-pool (string | static-only; Default: static-only) | IP pool, from which to take IP addresses for clients. If set to static-only, then only the clients that have a static lease (i.e. no dynamic addresses will be given to clients, only the ones added in lease submenu) will be allowed |
always-broadcast (yes | no; Default: no) | Always send replies as broadcasts |
authoritative (after-10sec-delay | after-2sec-delay | no | yes; Default: after-2sec-delay) | Whether the DHCP server is the only one DHCP server for the network:
|
boot-support (none | static | dynamic; Default: static) | Support for BOOTP clients
|
delay-threshold (time; Default: none) | If secs field in DHCP packet is smaller than delay-threshold, then this packet is ignored. If set to none - there is no threshold (all DHCP packets are processed) |
interface (string; Default: ) | Interface on which server will be running |
lease-time (time; Default: 72h) | the time that a client may use the assigned address. The client will try to renew this address after a half of this time and will request a new address after time limit expires |
name (string; Default: ) | Reference name |
relay (IP; Default: 0.0.0.0) | the IP address of the relay this DHCP server should process requests from:
|
src-address (IP; Default: 0.0.0.0) | The address which the DHCP client must send requests to in order to renew an IP address lease. If there is only one static address on the DHCP server 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 |
use-radius (yes | no; Default: no) | Whether to use RADIUS server for dynamic leases |
Menu specific commands
Property | Description |
---|---|
setup () | Release current binding and restart DHCP client |
Server configuration
Sub-menu: /ip dhcp-server config
Networks
Sub-menu: /ip dhcp-server network
Leases
Sub-menu: /ip dhcp-server lease
Alerts
Sub-menu: /ip dhcp-server alert
DHCP Options
Sub-menu: /ip dhcp-server option