Pcornel
Networking · Virtualization & Overlays › GRE

Tunnel Source

Cheat sheet · https://pcornel.dk/topic.php?topic=1332

Back to the Topic

Answer

The tunnel source is the local underlay address or interface used as the outer source IP (tunnel source <if|ip>); it must be the address the far end uses as its destination.

Remember

  • GRE uses IP protocol 47, not TCP/UDP port 47
  • Tunnel line protocol depends on local source and recursive reachability to the destination
  • GRE adds overhead and can expose MTU, MSS and fragmentation problems
  • GRE alone provides no encryption, integrity or peer authentication.

First checks

  • show interfaces tunnel <n> — Tunnel source address
  • show ip route <tunnel-destination> — underlay route

Verify in this order

source interface → underlay route → peer destination

Where it usually breaks

underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1332

Confirmation

Confirm action

Continue?