IPv6 address changing

This commit is contained in:
Ansible Admin 2016-07-02 23:11:08 +02:00
parent fb3113837a
commit a8ec5b477c
4 changed files with 8 additions and 5 deletions

View File

@ -44,7 +44,7 @@ return net ~ [ fc00::/7{48,64},
}
filter hostroute {
if net ~ 2a03:2260:121::/48 then accept;
if net ~ 2a03:2260:121:5000::/52 then accept;
reject;
}

View File

@ -9,7 +9,7 @@ iface lo inet loopback
up ip address add 185.66.193.105/32 dev lo
iface lo inet6 loopback
up ip address add 2a03:2260:121::105/48 dev lo
up ip address add 203:2260:121:5000::105/52 dev lo
# The primary network interface

View File

@ -15,7 +15,7 @@ iface lo inet6 loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 163.172.194.197
address 212.83.154.70
netmask 255.255.255.255
gateway 163.172.210.1
pointopoint 163.172.210.1

View File

@ -51,8 +51,11 @@ $ip addr add {{ sn_mesh_IPv4 }}/19 broadcast {{ sn_mesh_IPv4_brcast }} dev bat0
$ip -6 addr add {{ sn_mesh_IPv6 }}/64 dev bat0
$ip route add 10.188.0.0/16 via {{ sn_mesh_IPv4_xfer }} table 42
$ip route add 10.188.0.0/16 via {{ sn_mesh_IPv4_xfer }}
$ip -6 route add 2a03:2260:121::/56 via {{ sn_mesh_IPv6_xfer }} table 42
$ip -6 route add 2a03:2260:121::/56 via {{ sn_mesh_IPv6_xfer }}
$ip -6 route add 2a03:2260:121:4000::/52 via {{ sn_mesh_IPv6_xfer }} table 42
$ip -6 route add 2a03:2260:121:5000::/52 via {{ sn_mesh_IPv6_xfer }} table 42
$ip -6 route add 2a03:2260:121:6000::/52 via {{ sn_mesh_IPv6_xfer }} table 42
$ip -6 route add 2a03:2260:121:7000::/52 via {{ sn_mesh_IPv6_xfer }} table 42
/usr/bin/killall batadv-vis
/bin/sleep 15