Page MenuHomeDevCentral

D1925.diff
No OneTemporary

D1925.diff

diff --git a/pillar/nodes/nodes.sls b/pillar/nodes/nodes.sls
--- a/pillar/nodes/nodes.sls
+++ b/pillar/nodes/nodes.sls
@@ -31,7 +31,7 @@
network:
ipv4_address: 51.255.124.10
ipv4_gateway: 91.121.86.254
- ipv6_tunnel: False
+ ipv6_tunnel: True
ysul:
forest: nasqueron-dev
diff --git a/roles/core/network/files/equatower_ipv6.sh.jinja b/roles/core/network/files/equatower_ipv6.sh.jinja
new file mode 100644
--- /dev/null
+++ b/roles/core/network/files/equatower_ipv6.sh.jinja
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# -------------------------------------------------------------
+# IPv6 connectivity
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-10-20
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/network/files/equatower_ipv6.sh.jinja
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+IP=/sbin/ip
+
+# -------------------------------------------------------------
+# Hurricane Electric tunnel
+# tunnel503394.tunnel.tserv10.par1.ipv6.he.net
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+$IP tunnel del he-ipv6
+
+$IP tunnel add he-ipv6 mode sit remote 216.66.84.42 local 51.255.124.10 ttl 255
+$IP link set he-ipv6 up
+$IP addr add 2001:470:1f12:365::2/64 dev he-ipv6
+$IP route change ::/0 dev he-ipv6
+
+# -------------------------------------------------------------
+# Canonical IP
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+$IP addr add 2001:470:1f13:365::50f7:ba11/64 dev he-ipv6

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 16:29 (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2273166
Default Alt Text
D1925.diff (1 KB)

Event Timeline