I've sat up the DHCP server:
```# show service dhcp-server | commands
set shared-network-name LAN subnet 172.25.100.0/24 default-router '172.25.100.1'
set shared-network-name LAN subnet 172.25.100.0/24 dns-server '172.25.100.1'
set shared-network-name LAN subnet 172.25.100.0/24 domain-name 'ak-vcloud.ru'
set shared-network-name LAN subnet 172.25.100.0/24 lease '86400'
set shared-network-name LAN subnet 172.25.100.0/24 range 0 start '172.25.100.50'
set shared-network-name LAN subnet 172.25.100.0/24 range 0 stop '172.25.100.199'```
After connecting first client (hostname yiv-iPhone, assigned ip is 172.25.100.*50*) I've created a static mapping:
``set shared-network-name LAN subnet 172.25.100.0/24 static-mapping yiv-iPhone ip-address '172.25.100.30'
set shared-network-name LAN subnet 172.25.100.0/24 static-mapping yiv-iPhone mac-address '80:ed:2c:ad:16:71'```
And the client got the 172.25.100.30 address.
But when I've trying to show the leases list, I've seen outdated information about the lease:
```
# run show dhcp server leases
IP address Hardware address Lease expiration Pool Client Name
------------- ------------------ ------------------- ------ -------------
172.25.100.50 80:ed:2c:ad:16:71 2018/12/18 19:23:47 LAN yiv-iPhone
```
The yiv-iPhone should be 172.25.100.*30*, not 172.25.100.*50*.
BTW tell me please how to drop some leases from the list.