Chapter 4 of 9 · Juniper JNCIS-ENT JN0-352

Protocol Independent Routing

Static, aggregate and generated routes, martians, RIB groups, load balancing and FBF.

  • 4topics
  • 22 minfast track
  • 1diagrams and exhibits

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1Static, Aggregate and Generated Routes and Martian AddressesLearn Junos static, aggregate and generated routes, their preferences and next hops, martian addresses and how to check them with…6 min
  2. 2Routing Instances and RIB GroupsLearn Junos routing instances, instance types, instance routing tables and RIB groups with import-rib, and how routes are copied…5 min
  3. 3Load BalancingLearn Junos equal cost multipath, default per-prefix load balancing, the load-balance per-packet policy and how to verify next…5 min
  4. 4Filter-Based ForwardingLearn Junos filter-based forwarding: input filter with routing-instance, forwarding instance, RIB group interface routes and…Diagram6 min

About this chapter

What this chapter covers

Protocol Independent Routing covers the routing features in Junos OS that do not belong to any one routing protocol. It includes routes you create yourself (static, aggregate and generated), the addresses Junos refuses to learn (martians), separate routing tables (routing instances and RIB groups), how traffic is spread over equal cost paths, and how a firewall filter can override the routing table (filter-based forwarding).

Questions are mostly single-answer and multiple-answer. Many show a short set or hierarchy excerpt, or show route output, and ask what the router will do. Knowing the Junos defaults is worth more than memorizing option lists.

It has 8 outline topics, and four pages cover them.

How the topics fit together

All of these features work on the same objects: routes in a routing table, and next hops in the forwarding table. The pages go from creating routes, to separating tables, to choosing among paths, to overriding the table.

Static aggregate generatedroutes you createfillRouting tablesinet.0 and instancescopied byRIB groupsleak routesbest pathsForwarding tableload balancingFirewall filterFBFoverrides lookup withForwarding instance
Exam tip

Memorize the default route preferences: direct 0, static 5, OSPF internal 10, IS IS Level 1 15, IS IS Level 2 18, aggregate and generated 130, OSPF external 150, BGP 170. A lot of questions in this chapter are really "which route wins?" questions.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with configuration and tables.
  • Common mistakes: the classic traps.
  • What to remember for the exam: the facts to memorize.
  • Check yourself: three questions to test your understanding.

For each configuration example, say out loud which table the route lands in and which next hop is used before reading the explanation.

Ready for more practice?

The full Juniper JNCIS-ENT JN0-352 question bank has 846 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.