Chapter 9 of 10 · Juniper JNCIS-SP JN0-364

Tunnels

Why tunnels are used, MTU and routing considerations, GRE, and configuring and verifying gr- interfaces.

  • 2topics
  • 12 minfast track
  • 1diagrams and exhibits

Topics in this chapter

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

  1. 1Tunneling Applications and ConsiderationsLearn tunneling for the JN0-364: why providers use tunnels, GRE and IP-IP headers, 24 byte GRE overhead, MTU, recursive routing…5 min
  2. 2Configuring and Verifying GRE TunnelsConfigure GRE on an MX for the JN0-364: tunnel-services, gr- source and destination, routing into the tunnel, keepalives…Diagram7 min

About this chapter

What this chapter covers

Tunnels covers how a router wraps one packet inside another so it can cross a network that would not carry it on its own. It explains what tunnels are used for, what they cost in MTU and routing complexity, and how generic routing encapsulation (GRE) works on an MX Series router.

Questions are mostly single-answer and multiple-answer. Many show a gr- interface configuration or show interfaces output and ask why the tunnel is down or why large packets fail, so the core skill is knowing what the tunnel needs to come up and what it adds to each packet.

It has 3 outline topics, and two pages cover them.

How the topics fit together

Every tunnel has the same shape: an outer header with the two tunnel endpoints, and the original packet carried inside. GRE adds its own small header between them.

Original packetencapsulatedGRE header4 bytesencapsulatedOuter IPv4 header20 bytesrouted toTunnel endpoint

Learn why and when to tunnel first, then the GRE header and the MX configuration, because the troubleshooting questions combine both: a tunnel can be configured correctly and still fail because of MTU or recursive routing.

Exam tip

Remember 24 bytes. A GRE tunnel over IPv4 adds a 20 byte outer IP header and a 4 byte GRE header, so the inner packet must be 24 bytes smaller than the physical MTU allows.

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, check three things: is the tunnel interface present, is the tunnel destination reachable outside the tunnel, and what traffic is routed into it.

Ready for more practice?

The full Juniper JNCIS-SP JN0-364 question bank has 860 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.