summaryrefslogtreecommitdiff
path: root/roles/configure_static_routes/files/ffmyk-iproute.sh
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-08-12 23:48:02 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-08-12 23:48:02 +0200
commit0f8af08cd75bf7cc369b7c4ba87a7d4311f16add (patch)
tree74b93a107f0dbe9d2b126558ac616029f17a3710 /roles/configure_static_routes/files/ffmyk-iproute.sh
parent5fed801449c8210324376d0e31663a8fbb84a0e4 (diff)
fixed backbone routingnetsplit
Diffstat (limited to 'roles/configure_static_routes/files/ffmyk-iproute.sh')
-rwxr-xr-xroles/configure_static_routes/files/ffmyk-iproute.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/roles/configure_static_routes/files/ffmyk-iproute.sh b/roles/configure_static_routes/files/ffmyk-iproute.sh
index bb8c528..eb2f2fc 100755
--- a/roles/configure_static_routes/files/ffmyk-iproute.sh
+++ b/roles/configure_static_routes/files/ffmyk-iproute.sh
@@ -4,5 +4,12 @@ ip -4 rule add from all fwmark 0x1 table ffmyk priority 10
ip -6 rule add from all fwmark 0x1 table ffmyk priority 10
#Alles mit Freifunk-IP - woher auch immer - gehört zu Tabelle ffmyk
-#ip -4 rule add from 10.222.0.0/16 table ffmyk
-ip -6 rule add to 2001:470:cd45:FF00::/56 table ffmyk priority 190
+ip -4 rule add to 10.222.1.0/24 table ffmyk priority 10
+ip -4 rule add to 10.222.2.0/23 table ffmyk priority 10
+ip -4 rule add to 10.222.4.0/22 table ffmyk priority 10
+ip -4 rule add to 10.222.8.0/21 table ffmyk priority 10
+ip -4 rule add to 10.222.16.0/20 table ffmyk priority 10
+ip -4 rule add to 10.222.32.0/19 table ffmyk priority 10
+ip -4 rule add to 10.222.64.0/18 table ffmyk priority 10
+ip -4 rule add to 10.222.128.0/17 table ffmyk priority 10
+ip -6 rule add to 2001:470:cd45:FF00::/56 table ffmyk priority 10