Professional Documents
Culture Documents
Q1. In a block of address, we know the IP address of one host is 25.34.12.56/16. What
are the first address (network address) and the last address (limited broadcast
address) in this block?
Answer
Solution
The binary representation of the given address (25.34.12.56/16) is
00011001 00100010 00001100 00111000.
232-n = 216.
1st Method
First address - 25 . 34 . 0 . 0
2nd Method
First Address – found by ANDing the given addresses with the mask. The result is 1 if both
bits are 1s and otherwise the result is 0. Refer Table 2.1
First address - 25 . 34 . 0 . 0
Last Address – found by ORing the given addresses with the complement of the mask. The
result is 0 if both bits are 0s and otherwise the result is 1. Refer Table 2.2