aboutsummaryrefslogtreecommitdiff
path: root/scripts/netjail/netjail_start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/netjail/netjail_start.sh')
-rwxr-xr-xscripts/netjail/netjail_start.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/netjail/netjail_start.sh b/scripts/netjail/netjail_start.sh
index 5e1dd2b1f..1bf9d427a 100755
--- a/scripts/netjail/netjail_start.sh
+++ b/scripts/netjail/netjail_start.sh
@@ -8,11 +8,14 @@ set -x
8export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 8export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
9 9
10filename=$1 10filename=$1
11PREFIX=$2 11PREFIX=$PPID
12readfile=$3 12readfile=$2
13 13
14BROADCAST=0 14BROADCAST=0
15 15
16# FIXME: We need to test CGNAT. Therefore we have to change the address spaces.
17# We have the backbone network with 192.168.1.X/16 for the global reachable CGN routers and 192.168.2.X/16 for global reachable GNUnet nodes. Every CGN router spans a 10.X.0.0 carrier network for the home router subnets resp. mobile devices. With them given adresses like 10.X.Y.0 with Y being the number of those systems. Home router span a subnet 10.X.Y.0 with device getting address like 10.X.Y.Z with Z being the number of those devices.
18
16if [ $readfile -eq 0 ] 19if [ $readfile -eq 0 ]
17then 20then
18 read_topology_string "$filename" 21 read_topology_string "$filename"