diff options
Diffstat (limited to 'scripts/netjail/netjail_start.sh')
-rwxr-xr-x | scripts/netjail/netjail_start.sh | 7 |
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 | |||
8 | export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | 8 | export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
9 | 9 | ||
10 | filename=$1 | 10 | filename=$1 |
11 | PREFIX=$2 | 11 | PREFIX=$PPID |
12 | readfile=$3 | 12 | readfile=$2 |
13 | 13 | ||
14 | BROADCAST=0 | 14 | BROADCAST=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 | |||
16 | if [ $readfile -eq 0 ] | 19 | if [ $readfile -eq 0 ] |
17 | then | 20 | then |
18 | read_topology_string "$filename" | 21 | read_topology_string "$filename" |