IPv4 has 32-bits classified into 4 bytes out of which each byte is divided into network or hosts. Thus, it can have any combination like 1 host, 3 networks or 2 host, 2networks etc.
4bit.
16
2046 Breakdown: 11111111.11111111.11111000.00000000 /21 - 21 bits in network address represented by ones in binary address above. Leaves 2^11th power host addresses left (the zeros to the right). Equals 2048 host addresses minus the two reserved addresses = 2046
5 bits are necessary to create up to 30 subnets.
20
15 or 16.
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.
62 hosts.
32 bits in a IPv4 address
The default mask class B is 255.255.0.0 and this makes 16 bits available for hosts
You need 20 bits of address bus to address 1 Mb of memory.
A Class C IP address has 24 bits for network and 8 bits for host. So to have a subnet mask of 26 bits, you will need to use 2 bits from host part.Number of subnets is given by the formula : 2^(no. of bits used from host part).Hence number of subnets in this case would be = 2^2 = 4.For e.g. if the class C IP address is 200.168.210.0the 4 subnet addresses would be :11001000.10101000.11010010.00000000 = 200.168.210.011001000.10101000.11010010.01000000 = 200.168.210.6411001000.10101000.11010010.10000000 = 200.168.210.12811001000.10101000.11010010.11000000 = 200.168.210.192Note: The digits in bold are the mask bits.
5 bits