122
AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
RouterOS v3 Configuration and User Guide
Note
that the IP addresses assigned statically are not probed.
Property Description
active-address
(
read-only: IP address
) - actual IP address for this lease
active-client-id
(
read-only: text
) - actual client-id of the client
active-mac-address
(
read-only: MAC address
) - actual MAC address of the client
active-server
(
read-only: list
) - actual dhcp server, which serves this client
address
(
IP address
) - specify ip address (or ip pool) for static lease
0.0.0.0
- use pool from server
agent-circuit-id
(
read-only: text
) - circuit ID of DHCP relay agent
agent-remote-id
(
read-only: text
) - Remote ID, set by DHCP relay agent
always-broadcast
(yes | no) - send all repies as broadcasts
block-access
(yes | no; default:
no
) - block access for this client (drop packets from this client)
blocked
(
read-only: flag
) - whether the lease is blocked
client-id
(
text
; default:
""
) - if specified, must match DHCP 'client identifier' option of the request
expires-after
(
read-only: time
) - time until lease expires
host-name
(
read-only: text
) - shows host name option from last received DHCP request
lease-time
(
time
; default:
0s
) - time that the client may use the address
0s
- lease will never expire
mac-address
(
MAC address
; default:
00:00:00:00:00:00
) - if specified, must match the MAC address of
the client
radius
(
read-only:
yes | no) - shows, whether this dynamic lease is authenticated by RADIUS or not
rate-limit
(
read-only: text
; default:
""
) - sets rate limit for active lease. Format is: rx-rate[/tx-rate] [rx-
burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time]]]]. All
rates should be numbers with optional 'k' (1,000s) or 'M'
(1,000,000s). If tx-rate is not specified, rx-rate is
as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-
threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used
as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default
server
(
read-only: name
) - server name which serves this client
src-mac-address
(
MAC address
) - source MAC address
status
(
read-only:
waiting | testing | authorizing | busy | offered | bound) - lease status:
waiting
- not used static lease
testing
- testing whether this address is used or not (only for dynamic leases) by pinging it with timeout
of 0.5s
authorizing
- waiting for response from radius server
busy
- this address is assigned statically to a client or already exists in the network, so it can not be
leased
offered
- server has offered this lease to a client, but did not receive confirmation from the client
bound
- server has received client's confirmation that it accepts offered address, it is using it now and
will free the address not later, than the lease time will be over
use-src-mac
(
MAC address
) - use this source MAC address instead
Command Description
check-status
- Check status of a given busy dynamic lease, and free it in case of no response
make-static
- convert a dynamic lease to static one
If
rate-limit
is specified, a simple queue is added with corresponding parameters when lease enters
bound state. Arp entry is added right after adding of queue is done (only if add-arp is enabled for dhcp
server). To be sure, that client cannot use his ip address without getting dhcp lease and thus avoiding
rate-limit, reply-only mode must be used on that ethernet interface.
Even though client address may be changed (with adding a new item) in
lease print
list, it will not
change for the client. It is true for any changes in the DHCP server configuration because of the nature
of the DHCP protocol. Client tries to renew assigned IP address only when half a lease time is past (it
tries to renew several times). Only when full lease time is past and IP address was not renewed, new
lease is asked (rebind operation).
The deault
mac-address
value will never work! You should specify a correct MAC address there.