160k views
2 votes
Which of the following routes will RouterA install in the routing table?

a) The route with the longest prefix match
b) All of the routes
c) The route with the shortest prefix match
d) The route with the lowest AD
e) The route with the highest AD

User Timogavk
by
9.1k points

1 Answer

5 votes

Final answer:

RouterA will install the route with the longest prefix match in the routing table. If multiple routes have the same longest prefix, the route with the lowest AD may be chosen.

Step-by-step explanation:

When determining which routes to install in the routing table, a router like RouterA will select the route with the longest prefix match. This means that among all possible routes to a destination, the router prioritizes the one that has the most specific match to the destination IP address, as indicated by the subnet mask or prefix length. It's worth noting that if multiple entries have the same longest prefix match, other factors like the lowest Administrative Distance (AD), or metric, may then be used to select the best route. This means that when RouterA receives a packet, it will look for the route in its routing table that has the longest matching network address.

User BPDESILVA
by
9.1k points