logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

interfaces-tunnel - Tunnel extensions for the interfaces(5) file format

Authors

Maximilian Wilhelm <max@sdn.clinic> 2025-03-25 interfaces-tunnel(5)

Description

The following options set up tunneling interfaces with ifupdown-ng.

Examples

A simple GRE tunnel auto gre0 iface gre0 tunnel-mode gre tunnel-remote 198.51.100.1 tunnel-local 203.0.113.2 # address 192.0.2.42/24 address 2001:db8::42/64 A GRE tunnel where the local IP is learned from eth0 auto gre1 iface gre1 tunnel-mode gre tunnel-remote 198.51.100.1 tunnel-local-dev eth0 # address 192.0.2.42/24 address 2001:db8::42/64 A GRE tunnel which transfers encapasulated packets via eth0 which is part of a VRF. auto eth0 iface eth0 address 203.0.113.2/24 gateway 203.0.113.1 vrf vrf_external auto tun-vrf iface tun-vrf tunnel-mode gre tunnel-remote 198.51.100.1 tunnel-local 203.0.113.2 tunnel-physdev eth0 # address 192.0.2.42/24 address 2001:db8::42/64 auto vrf_external iface vrf_external vrf-table 1023

Name

interfaces-tunnel - Tunnel extensions for the interfaces(5) file format

See Also