nerdexam
Juniper

JN0-102 · Question #19

In the exhibit, there are four static routes that route traffic through different interfaces. user@router> show route protocol static inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0…

The correct answer is D. ge-0/0/4. Routers use the longest prefix match to determine the most specific route for a given destination IP address. For 99.0.0.1, the /26 prefix is the most specific match among the available routes, directing traffic to ge-0/0/4.

Routing Fundamentals

Question

In the exhibit, there are four static routes that route traffic through different interfaces. user@router> show route protocol static inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 99.0.0.0/17 *[Static/5] 00:00:11 >to 10.1.1.2 via ge-0/0/1.0 99.0.0.0/19 *[Static/5] 00:00:11 >to 10.1.2.2 via ge-0/0/2.0 99.0.0.0/24 *[Static/5] 00:00:11 >to 10.1.3.2 via ge-0/0/3.0 99.0.0.0/26 *[Static/5] 00:00:11 >to 10.1.4.2 via ge-0/0/4.0 Which interface does the router use if traffic is sent to the 99.0.0.1 destination?

Options

  • Age-0/0/1
  • Bge-0/0/2
  • Cge-0/0/3
  • Dge-0/0/4

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    16% (6)
  • C
    8% (3)
  • D
    73% (27)

Why each option

Routers use the longest prefix match to determine the most specific route for a given destination IP address. For 99.0.0.1, the /26 prefix is the most specific match among the available routes, directing traffic to ge-0/0/4.

Age-0/0/1

The 99.0.0.0/17 route is less specific than /26, so it would not be chosen.

Bge-0/0/2

The 99.0.0.0/19 route is less specific than /26, so it would not be chosen.

Cge-0/0/3

The 99.0.0.0/24 route is less specific than /26, so it would not be chosen.

Dge-0/0/4Correct

The router follows the longest prefix match rule. For the destination 99.0.0.1, all listed routes match. However, the 99.0.0.0/26 route (which covers 99.0.0.0 to 99.0.0.63) has the longest prefix (most specific subnet mask), making it the preferred route.

Concept tested: Longest prefix match routing

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_fnd/configuration/xe-3s/iri-xe-3s-book/iri-cfg-route-fnd.html

Topics

#routing table lookup#longest prefix match#static routes

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice