Fix ggsn test after last commit
We need a proper osmo-ggsn.cfg file with non-default IP addresses
This commit is contained in:
parent
facbb6575e
commit
213f8bd3f6
|
@ -20,7 +20,7 @@ mkdir $VOL_BASE_DIR/ggsn-tester
|
||||||
cp GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/
|
cp GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/
|
||||||
|
|
||||||
mkdir $VOL_BASE_DIR/ggsn
|
mkdir $VOL_BASE_DIR/ggsn
|
||||||
cp ../osmo-ggsn-master/osmo-ggsn.cfg $VOL_BASE_DIR/ggsn/
|
cp osmo-ggsn.cfg $VOL_BASE_DIR/ggsn/
|
||||||
|
|
||||||
# start container with ggsn in background
|
# start container with ggsn in background
|
||||||
docker run --cap-add=NET_ADMIN \
|
docker run --cap-add=NET_ADMIN \
|
||||||
|
|
|
@ -0,0 +1,99 @@
|
||||||
|
!
|
||||||
|
! OpenGGSN (0.94.1-adac) configuration saved from vty
|
||||||
|
!!
|
||||||
|
!
|
||||||
|
log file /data/openggsn.log
|
||||||
|
logging filter all 1
|
||||||
|
logging color 0
|
||||||
|
logging print category 1
|
||||||
|
logging timestamp 1
|
||||||
|
logging level ip info
|
||||||
|
logging level tun info
|
||||||
|
logging level ggsn info
|
||||||
|
logging level sgsn notice
|
||||||
|
logging level icmp6 debug
|
||||||
|
logging level lglobal notice
|
||||||
|
logging level llapd notice
|
||||||
|
logging level linp notice
|
||||||
|
logging level lmux notice
|
||||||
|
logging level lmi notice
|
||||||
|
logging level lmib notice
|
||||||
|
logging level lsms notice
|
||||||
|
logging level lctrl notice
|
||||||
|
logging level lgtp info
|
||||||
|
logging level lstats notice
|
||||||
|
logging level lgsup notice
|
||||||
|
logging level loap notice
|
||||||
|
logging level lss7 notice
|
||||||
|
logging level lsccp notice
|
||||||
|
logging level lsua notice
|
||||||
|
logging level lm3ua notice
|
||||||
|
logging level lmgcp notice
|
||||||
|
log stderr
|
||||||
|
logging filter all 1
|
||||||
|
logging color 1
|
||||||
|
logging print category 0
|
||||||
|
logging timestamp 0
|
||||||
|
logging level ip info
|
||||||
|
logging level tun info
|
||||||
|
logging level ggsn info
|
||||||
|
logging level sgsn notice
|
||||||
|
logging level icmp6 debug
|
||||||
|
logging level lglobal notice
|
||||||
|
logging level llapd notice
|
||||||
|
logging level linp notice
|
||||||
|
logging level lmux notice
|
||||||
|
logging level lmi notice
|
||||||
|
logging level lmib notice
|
||||||
|
logging level lsms notice
|
||||||
|
logging level lctrl notice
|
||||||
|
logging level lgtp info
|
||||||
|
logging level lstats notice
|
||||||
|
logging level lgsup notice
|
||||||
|
logging level loap notice
|
||||||
|
logging level lss7 notice
|
||||||
|
logging level lsccp notice
|
||||||
|
logging level lsua notice
|
||||||
|
logging level lm3ua notice
|
||||||
|
logging level lmgcp notice
|
||||||
|
!
|
||||||
|
stats interval 5
|
||||||
|
!
|
||||||
|
line vty
|
||||||
|
no login
|
||||||
|
bind 0.0.0.0
|
||||||
|
!
|
||||||
|
ggsn ggsn0
|
||||||
|
gtp state-dir /tmp
|
||||||
|
gtp bind-ip 172.18.3.201
|
||||||
|
apn internet
|
||||||
|
gtpu-mode tun
|
||||||
|
tun-device tun4
|
||||||
|
type-support v4
|
||||||
|
ip prefix dynamic 176.16.222.0/24
|
||||||
|
ip dns 0 192.168.100.1
|
||||||
|
ip dns 1 8.8.8.8
|
||||||
|
ip ifconfig 176.16.222.0/24
|
||||||
|
no shutdown
|
||||||
|
apn inet6
|
||||||
|
gtpu-mode tun
|
||||||
|
tun-device tun6
|
||||||
|
type-support v6
|
||||||
|
ipv6 prefix dynamic 2001:780:44:2000:0:0:0:0/56
|
||||||
|
ipv6 dns 0 2001:4860:4860::8888
|
||||||
|
ipv6 ifconfig 2001:780:44:2000:0:0:0:0/56
|
||||||
|
no shutdown
|
||||||
|
apn inet46
|
||||||
|
gtpu-mode tun
|
||||||
|
tun-device tun46
|
||||||
|
type-support v4v6
|
||||||
|
ip prefix dynamic 176.16.46.0/24
|
||||||
|
ip dns 0 192.168.100.1
|
||||||
|
ip dns 1 8.8.8.8
|
||||||
|
ip ifconfig 176.16.46.0/24
|
||||||
|
ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
|
||||||
|
ipv6 dns 0 2001:4860:4860::8888
|
||||||
|
ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
|
||||||
|
no shutdown
|
||||||
|
default-apn internet
|
||||||
|
no shutdown ggsn
|
Loading…
Reference in New Issue