in Computer Networks retagged by
361 views
4 votes
4 votes

An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address $128.96.39.10.$
The router's routing table has the following entries:
$$
\begin{array}{|c|c|}
\hline \textbf{Subnet Number} & \textbf{Output Interface Identifier} \\
\hline 128.96 .39 .0 / 25 & \text{R}2 \\
\hline 128.96 .39 .0 / 27 & \text{R}3 \\
\hline 128.96 .40 .0 / 25 & \text{R}4 \\
\hline 192.4 .153 .0 / 26 & \text{R}5 \\
\hline \text{(default)} & \text{R}6 \\
\hline
\end{array}
$$
The identifier of the output interface on which this packet will be forwarded is __________.

  1. $\text{R}2$
  2. $\text{R}3$
  3. $\text{R}4$
  4. $\text{R}6$
in Computer Networks retagged by
361 views

1 comment

$ \large{\colorbox{yellow}{Detailed video solution of this question with direct time stamp}}$

All India Mock Test 4 - Solutions Part 1

0
0

1 Answer

1 vote
1 vote

given 128.96.39.0 00 01010

R2

128.96.39.0 0000000

255.255.255.1 0000000

R3

128.96.39.000 00000

255.255.255.111 00000

R2 and R3 are matching R3 being the longer one it will be selected

 

2 Comments

is this the rule that longer one will be selected??
0
0

@sarang789999999

Computer Networks, Fifth Edition
by David J. Wetherall, Andrew S. Tanenbaum

1
1