Study guide
6.4 Martian Routes and Route Acceptance
JNCIS-ENT Enterprise Routing and Switching Study Guide 2026 Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Exam Overview & Junos Enterprise Fundamentals
1.1 JNCIS-ENT Exam Logistics & Blueprint Breakdown 1.2 Junos CLI, Enterprise Platforms & Interface Families 1.3 Layer 2 Bridging Mechanics & Packet Forwarding
2 Chapter 2: VLANs & Inter-VLAN Routing
2.1 VLAN Segmentation and 802.1Q Tags 2.2 Access, Trunk, Native and Voice VLANs 2.3 IRB Architecture and Interface Families 2.4 IRB Configuration and Packet Walk 2.5 VLAN Configuration, Verification & Troubleshooting
3 Chapter 3: Spanning Tree Protocols
3.1 Layer 2 Loops and Root Bridge Election 3.2 STP Costs, Port Roles, States and BPDUs 3.3 RSTP Rapid Convergence & Link Types 3.4 MSTP Architecture & Spanning Tree Operations
4 Chapter 4: Layer 2 Security & Feature Protection
4.1 Edge BPDU and Root Protection 4.2 Loop Protection and Diagnostic States 4.3 Port Security, MAC Limiting & Persistent MAC Learning 4.4 DHCP Snooping, Dynamic ARP Inspection (DAI) & IP Source Guard 4.5 Layer 2 Firewall Filters: Types, Order and Actions
5 Chapter 5: Advanced Layer 2 Features & Storm Control
5.1 Storm Control & Broadcast/Multicast Suppression 5.2 MACsec Link Security and Key Agreement 5.3 LLDP and LLDP-MED Operations & Verification
6 Chapter 6: Protocol-Independent Routing & Load Balancing
6.1 Static, Aggregate, and Generated Routes 6.2 Routing Instances and RIB Groups 6.3 Junos Load Balancing & Filter-Based Forwarding (FBF) 6.4 Martian Routes and Route Acceptance
7 Chapter 7: Junos Routing Policy & Firewall Filters
7.1 Routing Policy Framework & Term Evaluation 7.2 Prefix Lists & Route Filters 7.3 Firewall Filters & Policers
8 Chapter 8: Open Shortest Path First (OSPF) Operation
8.1 OSPF Architecture & Neighbor Adjacency Formation 8.2 OSPF Areas & LSA Types 8.3 OSPFv2 & OSPFv3 Configuration and Verification
9 Chapter 9: Advanced OSPF Features & Routing Policies
9.1 OSPF Special Area Types 9.2 Route Summarization & OSPF Authentication 9.3 OSPF Diagnostics & Common Failure Scenarios
10 Chapter 10: Intermediate System to Intermediate System (IS-IS)
10.1 IS-IS Encapsulation and NET Identity 10.2 IS-IS Levels, Areas and Default Routing 10.3 IS-IS PDU Families and Neighbor Exchange 10.4 IS-IS Database Synchronization and DIS 10.5 IS-IS Configuration, Metrics & Troubleshooting
11 Chapter 11: Border Gateway Protocol (BGP)
11.1 BGP Roles, AS Numbers and TCP Transport 11.2 EBGP/IBGP Sessions, State Machine and Messages 11.3 BGP Attributes & Junos Path Selection Algorithm 11.4 BGP Configuration & Policy Implementation 11.5 BGP Scaling with Route Reflection & Diagnostics
12 Chapter 12: IP Tunneling & High Availability
12.1 GRE & IP-IP Tunneling Architecture 12.2 Link Aggregation (LAG/LACP) & Redundant Trunk Groups (RTG) 12.3 Virtual Chassis Roles and Elections 12.4 Virtual Chassis Links, Splits and Provisioning 12.5 Routing Engine Redundancy: GRES, NSR, NSB and GR 12.6 BFD Detection and VRRP Gateway Redundancy 12.7 Unified ISSU: Requirements and Verification
6.4 Martian Routes and Route Acceptance
Key Takeaways Explain This Topic AI
Martian controls concern destination routes; they are not an automatic firewall for every packet with a suspicious source address.
Inspect show route martians and the correct routing table before diagnosing a missing route as a peer-policy failure.
A routing-options martians prefix and qualifier can change route acceptance; allow is an explicit exception, not creation of a route.
Private IPv4 address space is legitimate inside enterprise networks; Internet-edge filtering depends on routing context.
Last updated: October 2026
What Makes a Route Martian?
A martian route has a destination prefix that the routing system treats as invalid or inappropriate for ordinary routing. The term concerns route acceptance, rather than an extraterrestrial host or a special tunneling protocol. Junos has default martian ranges and permits administrator configuration for the relevant RIB. The important operational question is whether the exact prefix and mask in an advertisement are excluded in that table.
Do not memorize every special-purpose address as “always unroutable everywhere.” Loopback, multicast, unspecified and reserved ranges have distinct purposes, and exceptions can be relevant in special designs. Likewise, RFC 1918 private space is ordinary routed enterprise addressing. A route for 10.40.0.0/16 is not inherently a martian merely because it is not public Internet space. An Internet-edge policy may reject private destinations for a different reason from the local RIB’s default martian controls.
Keep Three Decisions Separate
A missing route can result from several independent stages:
Stage Question to ask
Protocol receipt Did the peer actually advertise the intended prefix and mask?
Route acceptance Did martian rules or import policy reject it?
Route selection and resolution Is it usable, and did it beat another route for the same prefix?
Packet forwarding Is the active route installed, its next hop resolved and the packet permitted?
A martian exception addresses the acceptance stage. It does not make a next hop reachable, raise Local Preference, attach a firewall permit or force a route to become active. Conversely, an input packet filter can drop data even when every route is legitimate and active. Diagnose the stage before editing configuration.
Inspect the Existing Rules First
Start with show route martians and the applicable instance/table context. Compare the advertised destination against the rule’s prefix and qualifier . A match on exact includes only that prefix length, whereas orlonger also includes contained more-specific routes. A broad range and a narrow exception must be read together; looking only at the address portion can produce the wrong conclusion.
Inspect the actual route with show route <prefix> exact detail and, when relevant, the hidden-route view. Compare a BGP received-route view with the local RIB. The absence of an active route is not enough to infer martian rejection: a policy reject, unresolved next hop or competing static route can have a similar visible symptom. The diagnostic explanation should identify the rule or hidden reason supporting the conclusion.
Narrowly Scoped Configuration
Junos places the controls under routing-options martians , with corresponding per-instance and per-RIB contexts. The documented allow action permits a subset of a disallowed address range. The following syntax illustrates an exception shape; the placeholder is not a suggested destination to deploy: [edit]
set routing-options martians <destination-prefix> exact allow
Substitute only a destination justified by the network design and verified against existing rules. A bare prefix/qualifier without allow identifies a disallowed destination set. There is no need to invent a then accept routing-policy term inside this hierarchy. Commit validation confirms supported syntax, while the route view confirms the operational effect.
An allow entry does not originate the destination. If the peer withdraws the route, adding an exception cannot restore the advertisement. If the route is accepted but hidden because its next hop is unresolved, repair resolution. If it loses to a lower-preference route for the same prefix, inspect route preference. These are separate remedies even when the user-facing symptom is “destination unreachable.”
Worked Troubleshooting Scenarios
An engineer adds an explicit exception to the default table, but the peer belongs to a virtual-router instance named LAB . The engineer then inspects only inet.0 and concludes the exception failed. The first correction is to inspect LAB.inet.0 , the instance’s routing options and the peer’s actual RIB context. A change in the default instance does not establish the intended per-instance policy.
In a second case, an accepted laboratory destination is still blocked on a WAN input filter. Repeating the martian exception will not fix this. Walk a packet through the input filter, selected RIB, next-hop resolution and egress behavior. If the requirement is to block spoofed source packets , use supported interface source validation or packet filtering as appropriate; destination-route martian controls do not provide that source enforcement automatically.
A final common mistake is changing an exact exception to orlonger merely to make one more-specific route work. That broadens the permitted destination set. Read the actual mask requirement and use the narrowest justified exception, then verify both the intended route and a nearby route that should remain excluded. This comparison demonstrates understanding of prefix scope rather than success by removing every restriction.
Official references checked 2026-10-18: martians syntax and supported contexts and protocol-independent routing documentation .