GATE CS 2015, set 2 · Question 36 · Computer Networks · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider the following routing table at an IP router:
For each IP address in Group I identify the correct choice of the next hop from Group II using the entries from the routing table above.
Group I
i) 128.96.171.92
ii) 128.96.167.151
iii) 128.96.163.151
iv) 128.96.165.121
Group II
a) Interface 0
b) Interface 1
c) R2
d) R3
e) R4

Network No.Net MaskNext Hop
128.96.170.0255.255.254.0Interface 0
128.96.168.0255.255.254.0Interface 1
128.96.166.0255.255.254.0R2
128.96.164.0255.255.252.0R3
0.0.0.0DefaultR4
  1. (A) i-a, ii-c, iii-e, iv-d
  2. (B) i-a, ii-d, iii-b, iv-e
  3. (C) i-b, ii-c, iii-d, iv-e
  4. (D) i-b, ii-c, iii-e, iv-d
Answer

Answer (A)

Answer from the official GATE CS 2015 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes