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 +# ------------------------------------------------------------- +# +# +# 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. +# + +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