I was learning about IPv6 in order to build an internal network port scanner (this means a private network to which one is connected) I wasn't able to find a way to know the network range with the submask, let me illustrate it with an example :
IPv4 : 192.168.2.32 with a sub mask of 255.255.255.0 means that the 192.168.2 part of the IPv4 represents the network and the 32 represents the device ip. So, when scanning the network I know I have to scan the ips in the following range : 192.168.2.0 -- 192.168.2.255
IPv6: fd04:ad:32be:: . I know the first 64 bits represent the network if /64 , but while scanning an internal network with this IPv6 address how do I know the range to scan like in IPv4 ?
Thank you,