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"
changes/84/7384/1
Harald Welte 5 years ago
parent 6bce1e644f
commit 1772bc022b
  1. 9
      osmo-ggsn-master/Makefile
  2. 1
      setup.sh

@ -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

@ -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

Loading…
Cancel
Save