When the client got IPv6 from DHCPv6 server, does not possible see leases
vyos@debian# run show dhcpv6 server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 209, in <module> leases = get_leases(conf, lease_file, args.state, args.pool, args.sort) File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 142, in get_leases leases = sorted(leases, key = lambda k: int(ip_address(k['ip']))) File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 142, in <lambda> leases = sorted(leases, key = lambda k: int(ip_address(k['ip']))) File "/usr/lib/python3.7/ipaddress.py", line 54, in ip_address address) ValueError: '2001:db8:290::/64' does not appear to be an IPv4 or IPv6 address
Reproducing steps:
set service dhcpv6-server shared-network-name VyOS-DHCPv6 subnet 2001:db8:3456::/64 address-range start 2001:db8:3456::100 stop '2001:db8:3456::1ff' set service dhcpv6-server shared-network-name VyOS-DHCPv6 subnet 2001:db8:3456::/64 name-server '2001:db8:daad::1' set service dhcpv6-server shared-network-name VyOS-DHCPv6 subnet 2001:db8:3456::/64 prefix-delegation start 2001:db8:290:: prefix-length '64' set service dhcpv6-server shared-network-name VyOS-DHCPv6 subnet 2001:db8:3456::/64 prefix-delegation start 2001:db8:290:: stop '2001:db8:290::'