From c2012fb057ce96ce49191af5a8526753bbc6f701 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Thu, 11 Jul 2019 12:14:19 +0200 Subject: Add ip6gre tunnel option Resolve: BZ #1691552 --- network-scripts/ifup-tunnel | 5 +++++ network-scripts/network-functions | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'network-scripts') diff --git a/network-scripts/ifup-tunnel b/network-scripts/ifup-tunnel index afdfe928..ea85df52 100755 --- a/network-scripts/ifup-tunnel +++ b/network-scripts/ifup-tunnel @@ -42,6 +42,11 @@ GRE) proto=-4 /sbin/modprobe ip_gre ;; +GRE6) + MODE=ip6gre + proto=-6 + /sbin/modprobe ip6_gre + ;; IPIP) MODE=ipip proto=-4 diff --git a/network-scripts/network-functions b/network-scripts/network-functions index a2382e33..614ad490 100644 --- a/network-scripts/network-functions +++ b/network-scripts/network-functions @@ -146,7 +146,7 @@ source_config () CTC) DEVICETYPE="ctc" ;; - GRE | IPIP | IPIP6) + GRE | GRE6 | IPIP | IPIP6) DEVICETYPE="tunnel" ;; SIT | sit) -- cgit v1.2.1