Pcornel
Networking · Virtualization & Overlays › GRE

Tunnel Interface

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

Back to the Topic

Answer

A tunnel interface (interface Tunnel<n>) is a virtual interface with its own IP address; routing sends traffic into it and the router encapsulates it in GRE.

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> — up/up, source, destination
  • show ip interface brief | include Tunnel — status

Commands

ip address
ip mtu
ip tcp adjust-mss

Verify in this order

tunnel config → destination routable → up/up → routing over tunnel

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=1331

Confirmation

Confirm action

Continue?