I have two RB1100AHx2 configured in VRRP.
I believe only the master router works as a DHCP server and leases IPs to the clients but I found the slave router does the same.
Is it right?
/ip dhcp-server add address-pool=PRV-POOL authoritative=yes disabled=no interface=ether1 lease-time=1d name=PRV-LAN
/ip dhcp-server add address-pool=PRV-POOL authoritative=after-10sec-delay disabled=no interface=ether1 lease-time=1d name=PRV-LAN
http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_ServerDHCP 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 a specific IP address to a particular client (identified by MAC address) .
Generally, the DHCP lease it allocated as follows:
an unused lease is in waiting state
if a client asks for an IP address, the server chooses one
if the client receives a statically assigned address, the lease becomes offered, and then bound with the respective lease time
if the client receives 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
in the case where the address does not respond, the lease becomes offered and then bound with the respective lease time
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. The dynamic lease is removed, and the allocated address is returned to the address pool. But the static lease becomes busy until the client reacquires the address.