JN0-102: Juniper Networks Certified Associate Junos Exam Answer

Next-Hop IP Address for Destination 192.168.1.1 in Juniper Networks Exam

Prev Question Next Question

Question

-- Exhibit --

user@router> show route protocol static

inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden)

+ = Active Route, - = Last Active, * = Both

192.168.1.0/24 *[Static/5] 00:03:13

>to 10.20.106.10 via fe-0/0/5.1

192.168.1.192/26 *[Static/5] 00:03:13

>to 10.20.14.131 via ge-0/0/0.0

192.168.1.192/27 *[Static/5] 00:03:13

>to 10.18.1.1 via ge-0/0/1.0

192.168.1.4/30 *[Static/5] 00:01:06

>to 10.20.14.130 via ge-0/0/0.0

-- Exhibit --

Using the routing table shown in the exhibit, what will be the next-hop IP address used for a destination IP address of 192.168.1.1? (Assume that the only routes to this destination are static routes.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

Based on the routing table provided in the exhibit, the destination IP address of 192.168.1.1 does not have an exact match in the routing table. Therefore, the router will look for the route with the longest prefix match.

The longest prefix match for 192.168.1.1 is 192.168.1.0/24, which has a next-hop of 10.20.106.10 via interface fe-0/0/5.1. However, this route is not used for 192.168.1.1 since it has a prefix length of /24, which is longer than the prefix length of the other routes.

The next-longest prefix match for 192.168.1.1 is 192.168.1.192/26, which has a next-hop of 10.20.14.131 via interface ge-0/0/0.0. This route has a prefix length of /26, which is shorter than the prefix length of the other two routes that match the destination.

Therefore, the next-hop IP address used for a destination IP address of 192.168.1.1 would be 10.20.14.131, and the answer is C.