Setup guide

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
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
domain (text) - the DHCP client will use this as the 'DNS domain' setting for the network adapter
next-server (IP address) - IP address of next server to use in bootstrap
boot-file-name (text) - Boot file name
Notes
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.
DHCP Leases
ip dhcp-server lease
Description
DHCP server lease submenu is used to monitor and manage server's leases. The issued leases is
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)
Then a client may free the leased address. Then 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.
Note that the IP addresses assigned statically are not probed.
Property Description
address (IP address; default: 0.0.0.0) - lended IP address for the client
mac-address (MAC address; default: 00:00:00:00:00:00) - MAC address of the client. It is the
base for static lease assignment
lease-time (time; default: 0s) - time that the client may use an address
0s - lease will never expire