From b3c427c89a49cd8b9391d1dc4d0360dd06554c57 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 26 Dec 2011 23:45:43 +0100 Subject: //retiolum/tinc_setup: now using 10.243.x.x namespace' --- retiolum/scripts/tinc_setup/install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'retiolum/scripts') diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh index 1cd7c81d..a6b50b8a 100755 --- a/retiolum/scripts/tinc_setup/install.sh +++ b/retiolum/scripts/tinc_setup/install.sh @@ -39,7 +39,7 @@ then # myipv4=$(echo 42.$(for i in `seq 1 3`; do echo "ibase=16;`bin/fillxx xx|tr [a-f] [A-F]`" | bc; done)|tr \ .)/32 myipv4="${2:-}" - mynet4=42.0.0.0 + mynet4=10.243.0.0 if [ ! "$myipv4" ] then @@ -50,7 +50,7 @@ then printf 'select unused v4 subnet ip (1-255): ' read v4num done - myipv4="42.0.0.$v4num" + myipv4="10.243.0.$v4num" fi echo "Subnet = $myipv4" > hosts/$myname @@ -62,8 +62,7 @@ fi cat>tinc.conf<