Question 3 (12 marks) – IP Addressing a) Perform the following boolean operation
ID: 3685012 • Letter: Q
Question
Question 3 (12 marks) – IP Addressing a) Perform the following boolean operations on the given bit patterns (3 marks) i. not 0010111000101100 ii. 0010111000101100 or 1110000011100001 iii. 0010111000101100 and 1110000011100001 b) What are the subnet masks for the following slash address blocks? (3 marks) i. /8 ii. /15 iii. /29 c) Are the following address masks legal? If so, what are their slash forms? If not, why are they not legal? (4 marks) i. 255.255.248.0 ii. 255.224.252.0 iii. 255.255.255.224 iv. 255.255.156.0 d) How many computers are in networks with the following address blocks? (2 marks) i. /13 ii. /26
Explanation / Answer
a) Perform the following boolean operations on the given bit patterns (3 marks)
i. not 0010111000101100 = 1101000111010011
ii. 0010 1110 0010 1100 or 1110 0000 1110 0001 = 1110 1110 1110 1101
iii. 0010 1110 0010 1100 and 1110 0000 1110 0001 = 0010 0000 0010 0000
b) What are the subnet masks for the following slash address blocks? (3 marks)
i. /8 = 255.0.0.0
ii. /15 = 255.254.0.0
iii. /29 = 255.255.255.248
c) Are the following address masks legal? If so, what are their slash forms? If not, why are they not legal? (4 marks)
i. 255.255.248.0 /21
ii. 255.224.252.0 Not legal. The 2nd octet is not completely filled.
iii. 255.255.255.224 /27
iv. 255.255.156.0 Not legal. The 4th octet is not power of 2.
d) How many computers are in networks with the following address blocks? (2 marks)
i. /13 219 machines. = 5,24,288
ii. /26 26 machines = 64.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.