no. of host????

just understand the concept of counting the no of host????

For counting the no of host all we need the subnet mask ,Just count the no of zero present in subnet

subnet mask=11111111.11111111.11111110.00000000
no. of host=2^9-2



Ex: Convert to Binary.

IP Address: 11000000.10101000.00000000.00000011

CIDR Address: 11111111.11111111.11111111.10000000

Use Bitwise AND Operator (IP & CIDR):

IP:		10101100.00010000.00000101.00100010
CIDR:		11111111.11111111.11111111.11000000
Network:	10101100.00010000.00000101.00000000

Network Address:

Binary Inversion of CIDR:

Binary CIDR:		11111111.11111111.11111111.11000000
Inverted Binary CIDR:	00000000.00000000.00000000.00111111

Use Bitwise OR Operator to get the Broadcast Address:

Binary Network: 10101100.00010000.00000101.00000000

Inverted Binary CIDR: 00000000.00000000.00000000.00111111

Binary Broadcast: 10101100.00010000.00000101.00111111

Broadcast Address:

IP Address belongs to the Network. The network Address is and the Broadcast Address is