Chapter 8 of 9 · Juniper JNCIS-ENT JN0-352
Tunnels
Why tunnels are used, GRE and IP-IP encapsulation, configuring them on Junos and troubleshooting tunnel faults.
- 3topics
- 19 minfast track
- 1diagrams and exhibits
Topics in this chapter
Take them in order, or jump to the one you need.
- 1Tunneling Applications, GRE and IP-IPLearn why Junos networks use tunnels, how GRE and IP-IP encapsulation work, the 24 and 20 byte overhead, MTU and recursive…Diagram6 min
- 2Configuring and Monitoring GRE and IP-IP TunnelsConfigure Junos GRE and IP-IP tunnel interfaces with source, destination and key, route traffic over them, and verify with show…7 min
- 3IP Tunnel Troubleshooting ToolsTroubleshoot Junos GRE and IP-IP tunnels with ping, traceroute, show commands, traceoptions and logs, and find MTU and recursive…6 min
About this chapter
What this chapter covers
A tunnel carries one network's packets inside another network's packets. On Junos OS, enterprise routers use two simple IP tunnels: Generic Routing Encapsulation (GRE) and IP-IP. This chapter covers why tunnels are used, what each type adds to a packet, how to configure and check them, and how to find the usual faults.
Questions are mostly single-answer and multiple-answer. Many show a tunnel interface configuration or a show interfaces output and ask what is wrong, so know the tunnel source and destination rules and the overhead numbers.
It has 6 outline topics, and three pages cover them.
How the topics fit together
A tunnel is only an interface with two outer addresses. Everything else is ordinary routing and forwarding.
Learn the encapsulation first, since the overhead explains the MTU problems. Then learn the configuration, which is short, and the traps that come from routing.
Remember the overhead numbers: GRE adds 24 bytes (20 outer IP plus 4 GRE), IP-IP adds 20 bytes. A 1500 byte link therefore carries 1476 bytes of inner packet through GRE and 1480 through IP-IP.
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, trace one packet through the tunnel and name the outer and inner addresses.
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.