aboutsummaryrefslogtreecommitdiffstats
path: root/network-scripts
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2019-07-11 12:14:19 +0200
committerLukáš Nykrýn <lnykryn@redhat.com>2019-07-31 14:06:45 +0200
commitc2012fb057ce96ce49191af5a8526753bbc6f701 (patch)
tree96a5ae30ada9ee6899cf2c9992e304552591193e /network-scripts
parentd6af590090a2a8ffd45e273bdbd46a3fefc8debb (diff)
downloadinitscripts-c2012fb057ce96ce49191af5a8526753bbc6f701.tar
initscripts-c2012fb057ce96ce49191af5a8526753bbc6f701.tar.gz
initscripts-c2012fb057ce96ce49191af5a8526753bbc6f701.tar.bz2
initscripts-c2012fb057ce96ce49191af5a8526753bbc6f701.tar.xz
initscripts-c2012fb057ce96ce49191af5a8526753bbc6f701.zip
Add ip6gre tunnel option
Resolve: BZ #1691552
Diffstat (limited to 'network-scripts')
-rwxr-xr-xnetwork-scripts/ifup-tunnel5
-rw-r--r--network-scripts/network-functions2
2 files changed, 6 insertions, 1 deletions
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)