I can get the networking bits for IPv4 addresses like 17
for 255.255.128.0
. Similarly, how should I calculate it for IPv6 addresses?
Say, if I have a subnet mask of ffff:ffff:ffff:ffff:0:0:0:0
or ffff:ffff:ffff:ffff::
, how should I find the networking bits?
Also, I found that the networking bits for subnet mask is a maximum of /32 in case of IPv4. What is the maximum limit of IPv6 and what is the reason behind it?