ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

GRE tunnel: configuration, verification and OSPF over the tunnel

Lesson 7.710 minIntermediateNovember 16, 2026

Sign in to read this lesson

GRE (Generic Routing Encapsulation) puts IP packets inside another IP packet (a tunnel) but doesn't encrypt anything. A GRE tunnel looks like a normal link but it is virtual, and it gets an IP address. Configuration: interface tunnel 1, tunnel source, tunnel destination and ip address. The outer header carries the tunnel source/destination (public) addresses. In the lab the SAMKIR branch and BAKI head office build a tunnel through the ISP; OSPF forms an adjacency over the tunnel and the private networks learn each other. Verify with show ip interface brief, show interface tunnel 1 and ping.

What you will learn

  • GRE (Generic Routing Encapsulation) puts an IP packet inside another IP packet (tunneling, IP protocol 47). GRE itself does not encrypt.
  • A GRE tunnel looks like a normal link but it is virtual: it gets an IP address (here 172.16.12.0/24).
  • Configuration: interface tunnel 1 → tunnel source (own public address or interface) → tunnel destination (the other router's public address) → ip address.
  • The outer header of a tunneled packet carries the tunnel source and destination (public) addresses; the original packet with private addresses travels inside. This way private networks that aren't routable on the Internet can reach each other.
  • A routing protocol can run over the tunnel: the OSPF adjacency forms over Tunnel1 and the next hop is the other side's tunnel address. Verify with show ip interface brief, show interface tunnel 1 (Tunnel protocol/transport GRE/IP), ping ... source.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.