Skip to content

Commit 8c90b43

Browse files
committed
add nat46 in gluon
1 parent 91f55c3 commit 8c90b43

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

hosts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python2
1+
#!/usr/bin/env python2
22

33
from sys import path
44
path.append("lib")

roles/babeld/templates/interfaces

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ iface {{ babel_bridge }} inet6 static
1919
pre-down ip -6 rule del to {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
2020
post-up ip -6 rule add to {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
2121
pre-down ip -6 rule del to {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
22+
post-up ip -6 rule add to fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
23+
pre-down ip -6 rule del to fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
2224
post-up ip -6 rule add from {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
2325
pre-down ip -6 rule del from {{ ipv6_babelmesh_network }} table {{ ffhb_routing_table }} priority 16385
2426
post-up ip -6 rule add from {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
2527
pre-down ip -6 rule del from {{ ipv6_babelclient_network }} table {{ ffhb_routing_table }} priority 16385
28+
post-up ip -6 rule add from fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
29+
pre-down ip -6 rule del from fd2f:5119:f2c:624::/48 table {{ ffhb_routing_table }} priority 16385
2630

2731
post-up ip -r r add {{ babel_ipv6_mesh.address }}/128 dev $IFACE proto 159 table {{ ffhb_routing_table }}

roles/unbound/defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
dns_root_hints: http://www.internic.net/domain/named.cache
3-
nat64: "64:ff9b::/96"
3+
#nat64: "64:ff9b::/96"
44
# http://www.trex.fi/2011/dns64.html
55
# nat64: "2001:67c:2b0:db32:0:1::/96"
6-
unbound_nat64_pool: "{{ nat64 }}"
6+
#unbound_nat64_pool: "{{ nat64 }}"

roles/unbound/templates/modules.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
server:
2-
{% if babel %}
2+
{% if unbound_nat64_pool is defined %}
33
module-config: "dns64 validator iterator"
44
dns64-prefix: {{ unbound_nat64_pool }}
55
{% else %}

0 commit comments

Comments
 (0)