...
Question 205 – ISRO-2017 May
December 11, 2023
Question 7660 – Reading-Comprehension
December 11, 2023
Question 205 – ISRO-2017 May
December 11, 2023
Question 7660 – Reading-Comprehension
December 11, 2023

Computer-Networks

Question 3
The forwarding table of a router is shown below.

A packet addressed to a destination address 200.150.68.118 arrives at the router. It will be forwarded to the interface with ID _____?
A
3
Question 3 Explanation: 
We know IP & Subnet = subnetID to which given packet belongs to. So we will do an IP & Subnet mask and see if we are getting the same subnet ID or not and we will go for the longest prefix match.

So let’s first check subnet 1,
200.150.68.118 & 255.255.255.0 = 200.150.0.0, subnet ID matches

Now let’s check for subnet 2,
200.150.68.118 & 255.255.224.0 = 200.150.64.0, subnet ID matches

Now let’s check for subnet 3,
200.150.68.118 & 255.255.255.0 = 200.150.68.0, subnet ID matches

Now let’s check for subnet 4,
200.150.68.118 & 255.255.255.224 = 200.150.96.0, subnet ID do not match

subnet ID matches for interface 1,2, and 3 but since longest match is for interface 3 so our packet will be forwarded to interface 3

Correct Answer: A
Question 3 Explanation: 
We know IP & Subnet = subnetID to which given packet belongs to. So we will do an IP & Subnet mask and see if we are getting the same subnet ID or not and we will go for the longest prefix match.

So let’s first check subnet 1,
200.150.68.118 & 255.255.255.0 = 200.150.0.0, subnet ID matches

Now let’s check for subnet 2,
200.150.68.118 & 255.255.224.0 = 200.150.64.0, subnet ID matches

Now let’s check for subnet 3,
200.150.68.118 & 255.255.255.0 = 200.150.68.0, subnet ID matches

Now let’s check for subnet 4,
200.150.68.118 & 255.255.255.224 = 200.150.96.0, subnet ID do not match

subnet ID matches for interface 1,2, and 3 but since longest match is for interface 3 so our packet will be forwarded to interface 3

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!