Juniper Networks Certified Associate Junos - Exam JN0-102: Static Route Interfaces

Which Interface Does the Router Use for Destination 99.0.0.1?

Prev Question Next Question

Question

-- Exhibit --

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

-- Exhibit --

In the exhibit, there are four static routes that route traffic through different interfaces.

Which interface does the router use if traffic is sent to the 99.0.0.1 destination?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

The 99.0.0.0/17, 99.0.0.0/19, 99.0.0.0/24, and 99.0.0.0/26 static routes all match the 99.0.0.1 destination IP address. However, the longest prefix match principle dictates that the router will choose the static route with the longest prefix (i.e., the most specific match). In this case, the static route with the longest prefix is 99.0.0.0/26.

Therefore, the router will use the interface specified in the 99.0.0.0/26 static route to forward traffic to the 99.0.0.1 destination. The next-hop IP address for this route is 10.1.4.2, and the outgoing interface is ge-0/0/4. Therefore, the answer is D. ge-0/0/4.