osmo-ggsn-master: Enable ipv6 forwarding

We want to be able to reach the external PDN from the PDP contexts,
and hence need to enable IPV6 forwarding between the tun device
and the PDN device(s).  The latter are added using "docker network
connect"
This commit is contained in:
Harald Welte 2017-10-15 14:47:28 +00:00
parent 6bce1e644f
commit 1772bc022b
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
RUN_ARGS?=--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 --rm --network sigtran --ip 172.18.0.201 -v ggsn-vol:/data --stop-signal SIGINT
RUN_ARGS?= \
--rm \
--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--sysctl net.ipv6.conf.all.forwarding=1 \
--network sigtran --ip 172.18.0.201 \
-v ggsn-vol:/data \
--stop-signal SIGINT
include ../make/Makefile

View File

@ -1,2 +1,3 @@
#!/bin/bash
docker network create --internal --subnet 172.18.0.0/16 sigtran
docker network create --internal --subnet 172.20.0.0/24 --ipv6 --subnet fd10:5741:8e20::0/64 pdn