AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
121
RouterOS v3 Configuration and User Guide
Property Description
store-leases-disk
(time-interval | immediately | never; default:
5min
) - how frequently lease changes
should be stored on disk
6.1.5
DHCP Networks
Submenu level:
/ip dhcp-server network
Property Description
address
(
IP address
/
netmask
) - the network DHCP server(s) will lend addresses from
boot-file-name
(
text
) - Boot file name
dhcp-option
(
text
) - add additional DHCP options from
/ip dhcp-server option
list. You cannot redefine
parameters which are already defined in this submenu:
Subnet-Mask (code 1)
-
netmask
Router (code 3)
-
gateway
Domain-Server (code 6)
-
dns-server
Domain-Name (code 15)
-
domain
NTP-Servers (code 42)
-
ntp-server
NETBIOS-Name-Server (code 44)
-
wins-server
dns-server
(
text
) - the DHCP client will use these as the default DNS servers. Two comma-separated
DNS servers can be specified to be used by DHCP client as primary and secondary DNS servers
domain
(
text
) - the DHCP client will use this as the 'DNS domain' setting for the network adapter
gateway
(
IP address
; default:
0.0.0.0
) - the default gateway to be used by DHCP clients
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
next-server
(
IP address
) - IP address of next server to use in bootstrap
ntp-server
(
text
) - the DHCP client will use these as the default NTP servers. Two comma-separated
NTP servers can be specified to be used by DHCP client as primary and secondary NTP servers
wins-server
(
text
) - the Windows DHCP client will use these as the default WINS servers. Two comma-
separated WINS servers can be specified to be used by DHCP client as primary and secondary WINS
servers
The
address
field uses netmask to specify the range of addresses the given entry is valid for. The actual
netmask clients will be using is specified in
netmask
property.
6.1.6
DHCP Server Leases
Submenu level:
/ip dhcp-server lease
Description
DHCP server lease submenu is used to monitor and manage server's leases. The issued leases are
showed here as dynamic entries. You can also add static leases to issue the definite client (determined by
MAC address) the specified IP address.
Generally, the DHCP lease it allocated as follows:
1.
an unused lease is in
waiting
state
2.
if a client asks for an IP address, the server chooses one
3.
if the client will receive statically assigned address, the lease becomes
offered
, and then
bound
with the respective lease time
4.
if the client will receive a dynamic address (taken from an IP address pool), the router sends a ping
packet and waits for answer for 0.5 seconds. During this time, the lease is marked
testing
5.
in case, the address does not respond, the lease becomes
offered
, and then
bound
with the
respective lease time
6.
in other case, the lease becomes
busy
for the lease time (there is a command to retest all busy
addresses), and the client's request remains unanswered (the client will try again shortly)
A client may free the leased address. When the dynamic lease is removed, and the allocated address is
returned to the address pool. But the static lease becomes
busy
until the client will reacquire the
address.