summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup/tinc-up
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2011-12-22 20:05:14 +0100
committerlassulus <lassulus@googlemail.com>2011-12-22 20:05:14 +0100
commit9d8deff2a15c646980601d19baeb80c26a28b8e3 (patch)
tree2abdad8878bd3a7e5fa05b83ccae360ad6895155 /retiolum/scripts/tinc_setup/tinc-up
parentde1e50b93d0acdefa372504ef0497c6d37cbc8b7 (diff)
back to teh routes pt2
Diffstat (limited to 'retiolum/scripts/tinc_setup/tinc-up')
-rwxr-xr-xretiolum/scripts/tinc_setup/tinc-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/tinc-up b/retiolum/scripts/tinc_setup/tinc-up
index 225f63a7..4a9c4320 100755
--- a/retiolum/scripts/tinc_setup/tinc-up
+++ b/retiolum/scripts/tinc_setup/tinc-up
@@ -12,7 +12,7 @@ ip link set $INTERFACE up
addr4=`sed -n 's|^ *Subnet *= *\(42[.][^ ]*\) *$|\1|p' $host`
ip -4 addr add $addr4 dev $INTERFACE
-ip -4 route add 42.0.0.0/8 dev $INTERFACE
+ip -4 route add 10.243.0.0/16 dev $INTERFACE
addr6=`sed -n 's|^ *Subnet *= *\(42[:][^ ]*\) *$|\1|p' $host`
ip -6 addr add $addr6 dev $INTERFACE