Skip to main content
Version: current

network


ip/dhcp-server/network​

Type: Directory

Settings sent to DHCP clients. The server sends a client the settings of the network entry that contains the client's address. For details, see DHCP Server.

FlagNameDescription
DdynamicThe network was created dynamically.
ArgumentTypeDescription
addresscomposite { address: ipAddr , netmask: num [ .. 32] }Network this entry applies to, for example 192.168.88.0/24.
gatewaymulti { address: ipAddr }Default gateway sent to clients (option 3). More than one gateway can be listed.
netmasknumSubnet mask sent to clients, as a prefix length, when it should differ from the mask of address. With 0, the mask of address is used.
dns-serveralt { server: multi { address: ipAddr } }DNS servers sent to clients (option 6). When not set, the server sends the DNS servers the router itself uses (/ip/dns).
dns-noneboolWhether to send no DNS servers at all, not even those of the router. Default: no.
wins-servermulti { address: ipAddr }WINS servers sent to clients (option 44).
ntp-serveralt { server: multi { address: ipAddr } }NTP servers sent to clients (option 42). When not set, the server sends the NTP servers the router itself uses.
ntp-noneboolWhether to send no NTP servers at all, not even those of the router. Default: no.
caps-managermulti { address: ipAddr }CAPsMAN addresses sent to clients (option 138).
domainstringDomain name sent to clients (option 15).
next-serveripAddrAddress of the server for the next step of network boot, sent in the siaddr field, for example a TFTP server. When not set, the address of the DHCP server is sent.
boot-file-namestringName of the boot file for network boot, sent in the file field.
dhcp-optionmulti { array-id, option: enum }Options (/ip/dhcp-server/option) sent to clients in this network. Options of the server and of the lease take precedence.
dhcp-option-setenum (none)Option set (/ip/dhcp-server/option/sets) sent to clients in this network. Options of the server and of the lease take precedence.