doc/examples/osmo-ggsn-kernel-gtp.cfg: new file

Add a copy of osmo-ggsn.cfg, with gtpu-mode set to kernel-gtp and apn
inet6 and inet46 removed (as the kernel module only supports ipv4).

Related: OS#3209
Change-Id: I6fbe8a8e55bad41532e9aed3cf71ebebffdcee52
This commit is contained in:
Oliver Smith 2021-03-01 14:41:46 +01:00
parent 303aeea8a8
commit 9d82492e49
4 changed files with 54 additions and 0 deletions

View File

@ -108,6 +108,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%{_mandir}/man8/sgsnemu.8%{?ext_man}
%{_unitdir}/%{name}.service
%dir %{_docdir}/%{name}/examples
%{_docdir}/%{name}/examples/osmo-ggsn-kernel-gtp.cfg
%{_docdir}/%{name}/examples/osmo-ggsn.cfg
%{_docdir}/%{name}/examples/sgsnemu.conf
%dir %{_sysconfdir}/osmocom

View File

@ -1,2 +1,3 @@
doc/examples/osmo-ggsn.cfg
doc/examples/osmo-ggsn-kernel-gtp.cfg
doc/examples/sgsnemu.conf

View File

@ -1,4 +1,5 @@
OSMOCONF_FILES = \
osmo-ggsn-kernel-gtp.cfg \
osmo-ggsn.cfg \
sgsnemu.conf \
$(NULL)

View File

@ -0,0 +1,51 @@
!
! OpenGGSN (0.94.1-adac) configuration saved from vty
!!
!
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 notice
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
!
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 127.0.0.2
apn internet
gtpu-mode kernel-gtp
tun-device tun4
type-support v4
ip prefix dynamic 172.16.222.0/24
ip dns 0 8.8.8.8
ip dns 1 8.8.4.4
ip ifconfig 172.16.222.0/24
no shutdown
default-apn internet
no shutdown ggsn