500 views
1 votes
1 votes

An IP router implementing CIDR services a packet with address 131.23.151.76.The routers routing table has the following entries

Prefix.            Output interface identifier

131.16.0.0/12                          3

131.16.0.0/14                           5

131.19.0.0/16                            2

131.22.0.0/15                            1

The identifier of the output interface on which this packet will be forwarded is,.,........

1 Answer

Best answer
0 votes
0 votes

Start with the longest prefix - /16
Subnet mask for it - 255.255.0.0

Subnet mask AND IP = Network ID

131.23.151.76 AND  255.255.0.0 = 131.23.0.0/16 (Not matched with 131.19.0.0/16 )

Next is /15
Subnet mask for it - 255.254.0.0
131.23.151.76 AND  255.254.0.0 = 131.22.0.0/15  (Matched)

So The identifier of the output interface on which this packet will be forwarded is 1 .

selected by

Related questions

1 votes
1 votes
1 answer
2
Sumit Singh Chauhan asked Aug 7, 2018
1,600 views
The round trip propagation delay for a 100Mbps Ethernet having 48-bit jamming signal is 64 ms. What is the minimum frame size (in bytes)?
0 votes
0 votes
1 answer
3
Sumit Singh Chauhan asked Aug 6, 2018
887 views
In a Hub based lan system collision is detected bya) Hubb) Transmitting nodec) Hub and Transmitting Noded) Recieving Node
0 votes
0 votes
1 answer
4
Tushar Garg asked Jul 11, 2018
254 views
In question 13 Can we directly apply the formulae or we have to change the bandwidth(if have to change then how can we change)