Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Juniper JN0-106 Exam - Topic 3 Question 4 Discussion

Exhibit:Referring to the exhibit, which route will be selected for a packet destined to IP address 10.50.10.55?
C) Route 10.50.10.0/24 will be selected using next hop 192.168.1.20 because it has the longest prefix match for the destination address.
A) Route 0.0.0.0/0 will be selected using next hop 203.0.113.1 because the default route matches all destinations and has been active the longest.
B) Route 10.50.0.0/16 will be selected using next hop 192.168.1.10 because OSPF has a better preference value than BGP.
D) Route 10.0.0.0/8 will be selected using next hop 192.168.1.1 because it was learned from the static routing protocol which has the lowest preference value.

Juniper JN0-106 Exam - Topic 3 Question 4 Discussion

Actual exam question for Juniper's JN0-106 exam
Question #: 4
Topic #: 3
[All JN0-106 Questions]

Exhibit:

Referring to the exhibit, which route will be selected for a packet destined to IP address 10.50.10.55?

Show Suggested Answer Hide Answer
Suggested Answer: C

In Junos OS, the Routing Information Base (RIB) selection process follows a strict hierarchy where the Longest Prefix Match (LPM) is the absolute primary tie-breaker. When a packet is destined for 10.50.10.55, the Routing Engine searches the inet.0 table for all matching entries. In this exhibit, four routes match: the default route (0.0.0.0/0), a general static route (10.0.0.0/8), an OSPF route (10.50.0.0/16), and a BGP route (10.50.10.0/24).

The LPM rule dictates that the router must select the most specific route available, which is defined as the entry with the highest number of matching bits in the subnet mask. The 10.50.10.0/24 route matches 24 bits of the destination address, making it more specific than the 16-bit, 8-bit, or 0-bit alternatives. It is critical to understand that route preference (e.g., Static at 5, OSPF at 10, or BGP at 170) is only evaluated if there are multiple paths to the exact same prefix and length. Because these prefixes vary in length, the length takes precedence over the protocol preference. Therefore, the BGP-learned route via 192.168.1.20 is selected as the active path, ensuring traffic follows the most granular routing information provided to the device. Reference: Routing Fundamentals, Routing Table Selection, Longest Prefix Match.


Contribute your Thoughts:

0/2000 characters
Roy
3 days ago
I think option C is correct. Longest prefix match is key.
upvoted 0 times
...
Lemuel
8 days ago
C is the clear winner here, no doubt about it!
upvoted 0 times
...
Ryan
13 days ago
Surprised to see D mentioned, static routes usually have priority!
upvoted 0 times
...
Nadine
18 days ago
B seems off, OSPF isn't always better than BGP.
upvoted 0 times
...
Evette
23 days ago
I think A is the right choice. Default route is solid.
upvoted 0 times
...
Carrol
28 days ago
Definitely C! Longest prefix match rules!
upvoted 0 times
...
Demetra
1 month ago
Definitely going with C, it just makes sense!
upvoted 0 times
...
Lynda
1 month ago
Wait, I thought static routes always had priority?
upvoted 0 times
...
Samira
1 month ago
B is incorrect, OSPF doesn't always beat BGP.
upvoted 0 times
...
Gwen
2 months ago
A seems off, default route isn't always the best.
upvoted 0 times
...
Kristian
2 months ago
I'm pretty sure C is the right choice. Longest prefix match!
upvoted 0 times
...
Isaiah
2 months ago
I thought static routes had the lowest preference, so option D seems off to me. But I need to double-check that.
upvoted 0 times
...
Phyliss
2 months ago
I’m confused about the default route. Does it really always match all destinations? I feel like option A could be a contender.
upvoted 0 times
...
Juliann
2 months ago
I remember practicing a question like this where OSPF had priority over BGP, so that makes me lean towards option B.
upvoted 0 times
...
Tamala
4 months ago
I think the longest prefix match is key here, so maybe option C? But I'm not entirely sure about the next hop.
upvoted 0 times
...

Save Cancel