Cisco CCNA 200-125 Exam: IP Address and Network Address Calculation

Calculating Network Address for IP Address 172.16.28.252 with Subnet Mask 255.255.240.0

Prev Question Next Question

Question

Given an IP address 172.16.28.252 with a subnet mask of 255.255.240.0, what is the correct network address?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

For this example, the network range is 172.16.16.1 - 172.16.31.254, the network address is 172.16.16.0 and the broadcast IP address is 172.16.31.255.

To determine the network address for the given IP address and subnet mask, we need to perform a bitwise AND operation between the two.

Here are the steps to perform this operation:

  1. Convert the IP address and subnet mask to binary form.

IP address: 172.16.28.252 Binary: 10101100.00010000.00011100.11111100

Subnet mask: 255.255.240.0 Binary: 11111111.11111111.11110000.00000000

  1. Perform a bitwise AND operation between the binary representations of the IP address and subnet mask.

10101100.00010000.00011100.11111100 (IP address) AND 11111111.11111111.11110000.00000000 (subnet mask)

10101100.00010000.00010000.00000000

  1. Convert the result of the bitwise AND operation back to decimal form to obtain the network address.

Binary: 10101100.00010000.00010000.00000000 Decimal: 172.16.16.0

Therefore, the correct network address for the given IP address and subnet mask is 172.16.16.0, which is option A.