Dear, Developers
I build 2 vyos in vrrp mode. and then I setup dhcp server on 2 vyos in failure over mode. It works great. But I met a problems that is a lot o f duplicate record of lease .
[email protected]# run show dhcp server leases IP address Hardware address Lease expiration Pool Client Name ------------- ------------------ ------------------- --------- ------------- 192.168.1.179 50:00:00:07:00:00 2019/05/11 23:47:28 dhcppool1 client04 192.168.1.177 50:00:00:04:00:00 2019/05/12 00:24:12 dhcppool1 vyosclient02 192.168.1.178 50:00:00:03:00:00 2019/05/12 00:27:03 dhcppool1 vyosclient01 192.168.1.100 50:00:00:06:00:00 2019/05/12 01:17:28 dhcppool1 vyosclient03 192.168.1.100 50:00:00:06:00:00 2019/05/12 01:17:28 dhcppool1 vyosclient03 192.168.1.179 50:00:00:07:00:00 2019/05/12 01:22:59 dhcppool1 client04 192.168.1.179 50:00:00:07:00:00 2019/05/12 01:22:59 dhcppool1 client04 192.168.1.177 50:00:00:04:00:00 2019/05/12 01:59:46 dhcppool1 vyosclient02 192.168.1.177 50:00:00:04:00:00 2019/05/12 01:59:46 dhcppool1 vyosclient02 192.168.1.178 50:00:00:03:00:00 2019/05/12 02:02:30 dhcppool1 vyosclient01 192.168.1.178 50:00:00:03:00:00 2019/05/12 02:02:30 dhcppool1 vyosclient01 [edit]
only 4 ip address was leased but the counting number is 11. That was not right. Can we fixed this issue ?
[email protected]# run show dhcp server statistics Pool Size Leases Available Usage --------- ------ -------- ----------- ------- dhcppool1 154 11 143 0% [edit]
my vyos version is:
[email protected]# run show version Version: VyOS 1.2.1 Built by: Sentrium S.L. Built on: Sun 14 Apr 2019 12:13 UTC Build ID: 4ccd819a-db31-452e-b34b-a0b24af4e984 Architecture: x86_64 Boot via: installed image System type: KVM guest Hardware vendor: Bochs Hardware model: Bochs Hardware S/N: Unknown Hardware UUID: Unknown Copyright: VyOS maintainers and contributors [edit]
Yours Sincerely!
Steve Dong