Question: ipv4 has how many bits?
Answer: As all IPv4 networks have 32 bits, and each “section” of the address denoted by the decimal points contains eight bits, “192.0. 2.0/24” leaves eight bits to contain host addresses. This is enough space for 256 host addresses.