IP-Adress

Question 1
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 1 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
Question 2
Match the following
A
I-C,II-A,III-B
B
I-C,II-B,III-A
C
I-A,II-B,III-C
D
I-B,II-C,III-A
Question 2 Explanation: 
Question 3
Host 130.37.56.201 is on a Class Network.
A
A
B
B
C
C
D
D
Question 3 Explanation: 
The range of different classes are
Class A -> 1-126
Class B -> 128-191
Class C -> 192-223
Clearly 130 is in the range of 128-191.
There are 3 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access