32
Totals bits for IPv6 = 128
IN IPv6 we can find 128bits.
IPv6 uses a 128-bit address space
128
When we express an IPv4 network address, we add a prefix length to the network address. The prefix length is the number of bits in the address that gives us the network portion. For example, in 172.16.4.0 /24, the /24 is the prefix length - it tells us that the first 24 bits are the network address. This leaves the remaining 8 bits, the last octet, as the host portion.
Thirty bits make up the network portion of a class C address. Three bits are borrowed for the subnet mask. There is also a class A and a class B that are comprised of bits.
In IPv4, there are a total of 32 bits in an IP address. The number of network and host bits varies depending on the subnet mask used. Typically, the first part of the bits represents the network portion, while the remaining bits represent the host portion. For example, in a common subnet mask of 255.255.255.0 (or /24), there are 24 bits for the network and 8 bits for hosts.
64 bits
A "hextet" in IPv6 consists of 2 bytes, or 4 hexadecimal digits (as in the example in the question), or 16 bits.
A network with 6 bits remaining for the host portion can accommodate (2^6 = 64) total addresses. However, two addresses are reserved: one for the network address and one for the broadcast address. Therefore, the number of usable hosts in this network will be (64 - 2 = 62).
128-bit IP addresses
24 bits (8 bits per octet, so 3) are used for the network portion of a class C IP address