MadaMzandu / uisp-ros-plugin

This is a follow up replacement for the previous Uisp api for mikrotik routers.
32 stars 9 forks source link

ipv6 - Issue #52

Closed MadaMzandu closed 1 year ago

MadaMzandu commented 1 year ago

Hi Mada,

i tried to integrate ipv6 with your plugin and it falls into errors with my mikrotiks. I set this pool 2607:20c0:400::/40 in the device settings with /56 prefix length. in the plugin i can see this prefix leased to the client 2607:20c0:400:0:100::/56 and 2607:20c0:400:0:200::/56 and so on.. but in the mikrotik router all DHCPv6 leases is 2607:20c0:400::/56 and i got this error in mikrotik log file pool6 refused acquire: prefix 2607:20c0:400:: already used by DHCP from uisp-pool pool! (9)

MadaMzandu commented 1 year ago

Looks like its calculating the next assignment boundary wrongly. Should be 2607:20c0:400:200::/56 not 2607:20c0:400:0:200::/56 have made the fix in 2.0.2.11

MadaMzandu commented 1 year ago

This has been confirmed as fixed.