Ex: Convert 172.16.5.34/26 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: 172.16.5.0
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: 172.16.5.63
IP Address 172.16.5.34/26 belongs to the 172.16.5.0/26 Network. The network Address is 172.16.5.0 and the Broadcast Address is 172.16.5.63.