GRE (Generic Routing Encapsulation) is a tunneling protocol that allows the encapsulation of a wide variety of Layer 3 protocols inside IP tunnels. This enables the creation of logical point-to-point links between routers across an IP network. GRE tunnels are used to connect remote networks or routers that do not have a direct Layer 3 path, creating a virtual interface for routing. GRE itself does not provide encryption or authentication—its purpose is purely encapsulation and tunneling.
Topology:
Router1 Configuration
Router2 Configuration
1. Show Tunnel Interface
2. Ping Across the Tunnel
3. Show IP Route to Tunnel Network
| Mistake | Symptom | Solution |
|---|---|---|
| Tunnel source/destination mismatch | Tunnel line protocol stays down | Ensure both tunnel source and destination IPs are correct and reachable. |
| Missing route to tunnel destination | Tunnel stays down or unreachable | Add a static/default route or ensure the underlying IP network is routable. |
| Incorrect tunnel IP subnet | Ping fails between tunnel endpoints | Use matching and correct subnet mask (/30 in this lab). |
The lab is available for download from this link. Try recreating the sample lab above using the provided IP addressing scheme.