0% found this document useful (0 votes)
56 views1 page

Ip Addressing Sample Questions and How To Answer

This document provides sample questions and explanations for how to answer IP addressing questions. It includes: 1) Finding the first address by ANDing the IP address with the CIDR subnet mask. The first address is 205.16.37.32. 2) Finding the last address by ORing the IP address with the inverted subnet mask. The last address is 205.16.37.47. 3) The address space is calculated by 2^(32 - CIDR), which is 16 addresses for the 205.16.37.32/28 network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views1 page

Ip Addressing Sample Questions and How To Answer

This document provides sample questions and explanations for how to answer IP addressing questions. It includes: 1) Finding the first address by ANDing the IP address with the CIDR subnet mask. The first address is 205.16.37.32. 2) Finding the last address by ORing the IP address with the inverted subnet mask. The last address is 205.16.37.47. 3) The address space is calculated by 2^(32 - CIDR), which is 16 addresses for the 205.16.37.32/28 network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

c. Find the address space.

(2 marks)
IP ADDRESSING SAMPLE QUESTIONS AND HOW TO ANSWER. How to answer:
QUESTION 1 (Final ITT400 JUN 2019) 1. Address space is actually the total of addresses in the dedicated network.
2. To find the address space, we need to deduct the CIDR with 32 and make it
as the exponent of base 2.
A block of addresses is granted to Dibilique Enterprise. One of the addresses is 205.16.37.32/28. 3. The work:

a. Find the first address. (3 marks) 232-28 = 24 = 16


How to answer:
1. First, we have to convert the given IP address into binary representation. 4. So, it means that the address space or the total available addresses of the
205.16.37.32 => 11001101 . 00010000 . 00100101 . 00100111 network is 16.

2. Then, convert the CIDR given (/28) into binary representation.


/28 => 11111111 . 11111111 . 111111111 . 11110000 Extra information : 16 addresses are included with the network and broadcast address. If the question
ask about the available host address, you must deduct the result with 2. It means that there are 14 host
3. The first address is actually the Network Address of the given IP address. So We need to address in the network.
do ANDing the given IP address with the CIDR.

11001101 . 00010000 . 00100101 . 00100111 d. Write the mask given in dotted decimal. (2 marks)
11111111 . 11111111 . 11111111 . 11110000 How to answer:
------------------------------------------------------------
11001101 . 00010000 . 00100101 . 00100000 1. Subnet mask can represented in 2 forms:

4. Convert each of the octet into dotted decimal representation again. a. CIDR => /28
205.16.37.32 b. binary => 11111111.11111111.11111111.11110000
c. Dotted Decimal => 255.255.255.240

EXTRA INFORMATION : 2. The answer is 255.255.255.240


1 AND 1 = 1
1 AND 0 = 0
0 AND 1 = 0
0 AND 0 = 0

b. Find the last address. (3 marks)


How to answer:
The last address is actually the broadcast address of the network. So in order to get the last address,
we need to ORing the given IP in binary with the inverted subnet mask.

i. Given IP address in binary => 11001101 . 00010000 . 00100101 . 00100111


ii. Subnet mask or CIDR in binary => 11111111 . 11111111 . 11111111 . 11110000
iii. Invert the subnet mask => 00000000 . 00000000 . 00000000 . 00001111
iv. ORing the given IP with inverted subnet mask :

11001101 . 00010000 . 00100101 . 00100111


00000000 . 00000000 . 00000000 . 00001111
------------------------------------------------------------
11001101 . 00010000 . 00100101 . 00101111

v. Convert the result into dotted decimal.

205.16.37.47

EXTRA INFORMATION :
1 OR 1 = 1
1 OR 0 = 1
0 OR 1 = 1
0 OR 0 = 0

You might also like