spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
505 stars 72 forks source link

go wrong when the length of ipv6 subnet mask is small than 64 #3618

Open weizhoublue opened 2 weeks ago

weizhoublue commented 2 weeks ago

Spiderpool Version

all

Bug Type

IPAM

Main CNI

all

What happened?

when creating an ipv6 subnet like "fd00::/32", the length of ipv6 subnet mask is small than 64, and fail to work

What did you expect to happen?

when creating an ipv6 subnet like "fd00::/32", the length of ipv6 subnet mask is small than 64, and fail to work

How to reproduce it (as minimally and precisely as possible)

when creating an ipv6 subnet like "fd00::/32", the length of ipv6 subnet mask is small than 64, and fail to work

Additional Context

No response