Section: Bridges, VLANs, and Tunnels

Create GRE tunnel

bash
bash
sudo ip tunnel add gre1 mode gre local 10.0.0.1 remote 10.0.0.2 ttl 255
Explanation

Create a GRE tunnel interface.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Bridges, VLANs, and Tunnels
Create bridge
Create a software bridge device.
OpenIn sheetbashsame section
Create VLAN subinterface
Create a VLAN-tagged interface.
OpenIn sheetbashsame section
Create VXLAN interface
Create a VXLAN tunnel device.
OpenIn sheetbashsame section
Show ARP/neighbor cache
Display IPv4 ARP and IPv6 neighbor entries.
OpenIn sheetbashsame section
Show bridge ports
Display interfaces participating in Linux bridges.
OpenIn sheetbashsame section
Show bridge forwarding database
Inspect learned MAC addresses on bridges.
OpenIn sheetbashsame section