# WARNING: This file is automatically managed by ansible, any changes in it will be discarded on configuration reload
if [ $reason = "PREINIT" ]; then
    if ! ip tunnel | grep -F netbox6; then
        ip tunnel add netbox6 mode sit local 95.82.181.136 remote 46.39.165.39 ttl 64
        ip link set mtu 1280 dev netbox6
        ip link set up dev netbox6
    fi
fi
set -x
if [ $reason = "STATIC6" ]; then
    ip route add ::/0 dev netbox6
fi
# vim: ft=sh
