2017-11-29 05:24:55 +00:00
|
|
|
db_uri: mongodb://localhost/nextepc
|
2017-07-13 06:46:27 +00:00
|
|
|
|
2017-11-27 01:35:08 +00:00
|
|
|
logger:
|
2017-11-29 05:24:55 +00:00
|
|
|
file: @LOCALSTATE_DIR@/log/nextepc/nextepc.log
|
2019-04-27 14:54:30 +00:00
|
|
|
#
|
|
|
|
# o Set OGS_LOG_INFO to all domain level
|
|
|
|
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
|
|
|
# - If `domain` is omitted, the all domain level is set from 'level'
|
|
|
|
# (Nothing is needed)
|
|
|
|
#
|
|
|
|
# o Set OGS_LOG_ERROR to all domain level
|
|
|
|
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
|
|
|
# level: error
|
|
|
|
#
|
|
|
|
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
|
|
|
# level: debug
|
|
|
|
# domain: mme,emm
|
|
|
|
#
|
|
|
|
# o Set OGS_LOG_TRACE to all domain level
|
|
|
|
# level: trace
|
|
|
|
# domain: core,s1ap,nas,fd,gtp,mme,emm,esm,sgw,pgw,hss,pcrf,event,tlv,mem,sock
|
|
|
|
#
|
2017-07-14 00:31:53 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-12-16 00:24:27 +00:00
|
|
|
# parameter:
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2018-05-09 13:11:25 +00:00
|
|
|
# o Number of output streams per SCTP associations.
|
|
|
|
# sctp_streams: 30
|
|
|
|
#
|
2017-12-03 03:02:56 +00:00
|
|
|
# o Disable use of IPv4 addresses (only IPv6)
|
|
|
|
# no_ipv4: true
|
|
|
|
#
|
|
|
|
# o Disable use of IPv6 addresses (only IPv4)
|
|
|
|
# no_ipv6: true
|
|
|
|
#
|
|
|
|
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
|
|
|
# prefer_ipv4: true
|
|
|
|
#
|
2017-12-16 00:24:27 +00:00
|
|
|
# o Enable Multicast traffic to the UE
|
|
|
|
# multicast: true
|
|
|
|
#
|
|
|
|
# o Disable Stateless Address Autoconfiguration for IPv6
|
|
|
|
# no_slaac: true
|
|
|
|
#
|
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
parameter:
|
2018-01-18 01:21:13 +00:00
|
|
|
no_ipv6: true
|
2017-08-16 13:58:12 +00:00
|
|
|
|
2017-11-27 01:35:08 +00:00
|
|
|
mme:
|
2017-11-29 05:24:55 +00:00
|
|
|
freeDiameter: mme.conf
|
2018-01-05 07:25:02 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# <S1AP Server>>
|
|
|
|
#
|
|
|
|
# o S1AP Server(all address avaiable)
|
|
|
|
# s1ap:
|
|
|
|
#
|
2017-12-07 11:11:22 +00:00
|
|
|
# o S1AP Server(0.0.0.0:36412)
|
2017-12-03 03:02:56 +00:00
|
|
|
# s1ap:
|
2017-12-09 14:07:19 +00:00
|
|
|
# addr: 0.0.0.0
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2018-02-05 08:08:41 +00:00
|
|
|
# o S1AP Server(127.0.0.1:36412, [::1]:36412)
|
2017-12-03 03:02:56 +00:00
|
|
|
# s1ap:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - addr: 127.0.0.1
|
|
|
|
# - addr: ::1
|
|
|
|
|
|
|
|
# o S1AP Server(different port)
|
|
|
|
# s1ap:
|
|
|
|
# - addr: 127.0.0.1
|
|
|
|
# port: 36413
|
2017-12-18 00:26:29 +00:00
|
|
|
#
|
|
|
|
# o S1AP Server(address avaiable in `eth0` interface)
|
|
|
|
# s1ap:
|
|
|
|
# dev: eth0
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
s1ap:
|
2017-12-03 03:02:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# <GTP-C Server>>
|
|
|
|
#
|
2017-12-18 00:26:29 +00:00
|
|
|
# o GTP-C Server(all address avaiable)
|
|
|
|
# gtpc:
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-12-06 03:13:56 +00:00
|
|
|
# o GTP-C Server(127.0.0.1:2123, [::1]:2123)
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2017-12-07 11:11:22 +00:00
|
|
|
# - addr: 127.0.0.1
|
|
|
|
# - addr: ::1
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gtpc:
|
2017-08-16 13:58:12 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# <GUMMEI>
|
|
|
|
#
|
|
|
|
# o Multiple GUMMEI
|
|
|
|
# gummei:
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 001
|
|
|
|
# mnc: 01
|
|
|
|
# mme_gid: 2
|
|
|
|
# mme_code: 1
|
|
|
|
# - plmn_id:
|
|
|
|
# - mcc: 002
|
|
|
|
# mnc: 02
|
|
|
|
# - mcc: 003
|
|
|
|
# mnc: 03
|
|
|
|
# mme_gid: [3, 4]
|
|
|
|
# mme_code:
|
|
|
|
# - 2
|
|
|
|
# - 3
|
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gummei:
|
2017-12-03 03:02:56 +00:00
|
|
|
plmn_id:
|
|
|
|
mcc: 001
|
|
|
|
mnc: 01
|
|
|
|
mme_gid: 2
|
|
|
|
mme_code: 1
|
|
|
|
|
|
|
|
#
|
|
|
|
# <TAI>
|
|
|
|
#
|
|
|
|
# o Multiple TAI
|
|
|
|
# tai:
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 001
|
|
|
|
# mnc: 01
|
2017-12-11 07:55:11 +00:00
|
|
|
# tac: [1, 2, 3]
|
|
|
|
# tai:
|
2017-12-03 03:02:56 +00:00
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 002
|
|
|
|
# mnc: 02
|
2017-12-11 07:55:11 +00:00
|
|
|
# tac: 4
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 003
|
|
|
|
# mnc: 03
|
|
|
|
# tac: 5
|
|
|
|
# tai:
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 004
|
|
|
|
# mnc: 04
|
|
|
|
# tac: [6, 7]
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 005
|
|
|
|
# mnc: 05
|
|
|
|
# tac: 8
|
|
|
|
# - plmn_id:
|
|
|
|
# mcc: 006
|
|
|
|
# mnc: 06
|
|
|
|
# tac: [9, 10]
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
tai:
|
2017-12-03 03:02:56 +00:00
|
|
|
plmn_id:
|
|
|
|
mcc: 001
|
|
|
|
mnc: 01
|
|
|
|
tac: 12345
|
2017-11-27 01:35:08 +00:00
|
|
|
|
|
|
|
security:
|
2017-11-27 11:23:16 +00:00
|
|
|
integrity_order : [ EIA1, EIA2, EIA0 ]
|
|
|
|
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
2017-11-27 01:35:08 +00:00
|
|
|
|
2018-02-27 02:56:10 +00:00
|
|
|
#
|
|
|
|
# <Network Name>
|
|
|
|
# network_name:
|
|
|
|
# full: NextEPC
|
|
|
|
# short: Next
|
|
|
|
#
|
|
|
|
|
|
|
|
network_name:
|
|
|
|
full: NextEPC
|
|
|
|
|
2017-11-27 01:35:08 +00:00
|
|
|
hss:
|
2017-11-29 05:24:55 +00:00
|
|
|
freeDiameter: hss.conf
|
2017-11-27 01:35:08 +00:00
|
|
|
|
|
|
|
sgw:
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# ------------------------ MME --------------------------
|
|
|
|
#
|
|
|
|
# o Specify SGW addresses the GTP-C must connect to
|
|
|
|
#
|
2017-12-08 11:25:34 +00:00
|
|
|
# o One SGW is defined. If prefer_ipv4 is not true, [fe80::2%@LO_DEV@] is selected.
|
2017-12-07 11:11:22 +00:00
|
|
|
# gtpc:
|
|
|
|
# addr:
|
|
|
|
# - 127.0.0.2
|
2017-12-08 11:25:34 +00:00
|
|
|
# - fe80::2%@LO_DEV@
|
2017-12-07 11:11:22 +00:00
|
|
|
#
|
|
|
|
# o Two SGW are defined. MME selects SGW with round-robin manner per UE
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2017-12-07 11:11:22 +00:00
|
|
|
# - addr: 127.0.0.2
|
2017-12-08 11:25:34 +00:00
|
|
|
# - addr: fe80::2%@LO_DEV@
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-12-07 11:11:22 +00:00
|
|
|
# o Three SGW are defined. MME selects SGW with round-robin manner per UE
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2017-12-07 11:11:22 +00:00
|
|
|
# - addr
|
|
|
|
# - 127.0.0.2
|
2017-12-08 11:25:34 +00:00
|
|
|
# - fe80::2%@LO_DEV@
|
2017-12-07 11:11:22 +00:00
|
|
|
# - addr
|
|
|
|
# - 127.0.0.12
|
2018-02-05 08:08:41 +00:00
|
|
|
# - fe80::12%@LO_DEV@
|
2017-12-08 06:05:50 +00:00
|
|
|
# - name: sgw3.nextepc.org
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# ------------------------ SGW --------------------------
|
|
|
|
#
|
2017-12-08 11:25:34 +00:00
|
|
|
# o GTP-C Server(127.0.0.2:2123, [fe80::2%@LO_DEV@]:2123)
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2017-12-06 03:13:56 +00:00
|
|
|
# addr:
|
|
|
|
# - 127.0.0.2
|
2017-12-08 11:25:34 +00:00
|
|
|
# - fe80::2%@LO_DEV@
|
2017-12-07 11:11:22 +00:00
|
|
|
#
|
2017-12-18 00:26:29 +00:00
|
|
|
# o On SGW, Same Configuration(127.0.0.2:2123, [fe80::2%@LO_DEV@]:2123) as below.
|
2017-12-07 11:11:22 +00:00
|
|
|
# gtpc:
|
|
|
|
# - addr: 127.0.0.2
|
2017-12-08 11:25:34 +00:00
|
|
|
# - addr: fe80::2%@LO_DEV@
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gtpc:
|
2017-12-18 00:26:29 +00:00
|
|
|
addr: 127.0.0.2
|
2017-12-03 03:02:56 +00:00
|
|
|
|
|
|
|
#
|
2018-09-23 05:29:19 +00:00
|
|
|
# <SGW Selection Mode>
|
|
|
|
#
|
|
|
|
# o Round-Robin
|
2018-09-23 05:41:55 +00:00
|
|
|
# (If `selection_mode` is omitted, the default mode is Round-Robin)
|
2018-09-23 05:29:19 +00:00
|
|
|
#
|
|
|
|
# selection_mode: rr
|
|
|
|
# gtpc:
|
|
|
|
# addr: 127.0.0.2
|
|
|
|
# addr: 127.0.2.2
|
|
|
|
# addr: 127.0.4.2
|
|
|
|
#
|
|
|
|
# o SGW selection by eNodeB TAC
|
|
|
|
#
|
|
|
|
# selection_mode: tac
|
|
|
|
# gtpc:
|
|
|
|
# - addr: 127.0.0.2
|
|
|
|
# tac: 26000
|
|
|
|
# - addr: 127.0.2.2
|
|
|
|
# tac: [25000, 27000, 28000]
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# <GTP-U Server>
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# o GTP-U Server(all address avaiable)
|
|
|
|
# gtpu:
|
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gtpu:
|
|
|
|
|
|
|
|
pgw:
|
2017-11-29 05:24:55 +00:00
|
|
|
freeDiameter: pgw.conf
|
2017-11-27 01:35:08 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# ------------------------ MME --------------------------
|
|
|
|
#
|
2019-05-18 15:24:15 +00:00
|
|
|
# o By default, the PGW uses the first PGW node.
|
|
|
|
# - To use a different APN for each PGW, specify gtpc.apn as the APN name.
|
|
|
|
# - If the HSS uses WebUI to set the PGW IP for eacho UE,
|
|
|
|
# you can use a specific PGW node for each UE.
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2019-05-18 15:24:15 +00:00
|
|
|
# o Two PGW are defined. 127.0.0.3:2123 is used.
|
|
|
|
# [fe80::3%@LO_DEV@]:2123 is ignored.
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - addr: 127.0.0.3
|
|
|
|
# - addr: fe80::3%@LO_DEV@
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2019-05-18 15:24:15 +00:00
|
|
|
# o One PGW is defined. if prefer_ipv4 is not true,
|
|
|
|
# [fe80::3%@LO_DEV@] is selected.
|
2017-12-07 11:11:22 +00:00
|
|
|
# gtpc:
|
|
|
|
# - addr:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - 127.0.0.3
|
|
|
|
# - fe80::3%@LO_DEV@
|
2017-12-07 11:11:22 +00:00
|
|
|
#
|
2019-05-18 15:24:15 +00:00
|
|
|
# o Two PGW are defined with a different APN.
|
|
|
|
# - Note that if PGW IP for UE is configured in HSS,
|
|
|
|
# the following configurion for this UE is ignored.
|
|
|
|
# gtpc:
|
|
|
|
# - addr: 127.0.0.3
|
|
|
|
# apn: internet
|
|
|
|
# - addr: 127.0.0.5
|
|
|
|
# apn: volte
|
|
|
|
#
|
|
|
|
# o If APN is omitted, the default APN uses the first PGW node.
|
|
|
|
# gtpc:
|
|
|
|
# - addr: 127.0.0.3
|
|
|
|
# - addr: 127.0.0.5
|
|
|
|
# apn: volte
|
2017-12-03 03:02:56 +00:00
|
|
|
# ------------------------ PGW --------------------------
|
|
|
|
#
|
2018-02-05 08:08:41 +00:00
|
|
|
# o GTP-C Server(127.0.0.3:2123, [fe80::3%@LO_DEV@]:2123)
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpc:
|
2017-12-07 11:11:22 +00:00
|
|
|
# addr:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - 127.0.0.3
|
|
|
|
# - fe80::3%@LO_DEV@
|
2017-12-14 01:33:03 +00:00
|
|
|
#
|
2019-05-18 15:24:15 +00:00
|
|
|
# o On PGW, Same configuration(127.0.0.3:2123, [fe80::3%@LO_DEV@]:2123).
|
2017-12-14 01:33:03 +00:00
|
|
|
# gtpc:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - addr: 127.0.0.3
|
|
|
|
# - addr: fe80::3%@LO_DEV@
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gtpc:
|
2017-12-06 03:13:56 +00:00
|
|
|
addr:
|
2018-02-05 08:08:41 +00:00
|
|
|
- 127.0.0.3
|
2017-12-14 01:33:03 +00:00
|
|
|
- ::1
|
2017-11-29 05:24:55 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# <GTP-U Server>>
|
|
|
|
#
|
2018-02-05 08:08:41 +00:00
|
|
|
# o GTP-U Server(127.0.0.3:2152, [::1]:2152)
|
2017-12-03 03:02:56 +00:00
|
|
|
# gtpu:
|
2018-02-05 08:08:41 +00:00
|
|
|
# - addr: 127.0.0.3
|
2017-12-14 01:33:03 +00:00
|
|
|
# - addr: ::1
|
2017-12-18 00:26:29 +00:00
|
|
|
#
|
2018-02-05 08:08:41 +00:00
|
|
|
# o Same configuration(127.0.0.3:2152, [::1]:2152) as below.
|
2017-12-18 00:26:29 +00:00
|
|
|
# gtpu:
|
|
|
|
# name: localhost
|
|
|
|
#
|
2017-11-27 01:35:08 +00:00
|
|
|
gtpu:
|
2018-02-05 08:08:41 +00:00
|
|
|
- addr: 127.0.0.3
|
2017-12-14 01:33:03 +00:00
|
|
|
- addr: ::1
|
2017-11-27 01:35:08 +00:00
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-12-12 08:00:32 +00:00
|
|
|
# <UE Pool>
|
|
|
|
#
|
2017-12-13 05:11:44 +00:00
|
|
|
# o IPv4 Pool
|
|
|
|
# $ sudo ip addr add 45.45.0.1/16 dev pgwtun
|
2017-12-12 08:00:32 +00:00
|
|
|
#
|
|
|
|
# ue_pool:
|
2017-12-13 05:11:44 +00:00
|
|
|
# addr: 45.45.0.1/16
|
2017-12-12 08:00:32 +00:00
|
|
|
#
|
2017-12-13 05:11:44 +00:00
|
|
|
# o IPv4/IPv6 Pool
|
|
|
|
# $ sudo ip addr add 45.45.0.1/16 dev pgwtun
|
2017-12-12 08:00:32 +00:00
|
|
|
# $ sudo ip addr add cafe:1::1/64 dev pgwtun
|
|
|
|
#
|
|
|
|
# ue_pool:
|
2017-12-13 05:11:44 +00:00
|
|
|
# - addr: 45.45.0.1/16
|
2017-12-12 08:00:32 +00:00
|
|
|
# - addr: cafe:1::1/64
|
|
|
|
#
|
|
|
|
#
|
2017-12-13 05:11:44 +00:00
|
|
|
# o Specific APN(e.g 'volte') uses 45.46.0.1/16, cafe:2::1/64
|
2017-12-18 00:26:29 +00:00
|
|
|
# All other APNs use 45.45.0.1/16, cafe:1::1/64
|
2017-12-13 05:11:44 +00:00
|
|
|
# $ sudo ip addr add 45.45.0.1/16 dev pgwtun
|
|
|
|
# $ sudo ip addr add 45.46.0.1/16 dev pgwtun
|
2017-12-12 08:00:32 +00:00
|
|
|
# $ sudo ip addr add cafe:1::1/64 dev pgwtun
|
|
|
|
# $ sudo ip addr add cafe:2::1/64 dev pgwtun
|
|
|
|
#
|
|
|
|
# ue_pool:
|
2017-12-13 05:11:44 +00:00
|
|
|
# - addr: 45.45.0.1/16
|
2017-12-12 08:00:32 +00:00
|
|
|
# - addr: cafe:1::1/64
|
2017-12-13 05:11:44 +00:00
|
|
|
# - addr: 45.46.0.1/16
|
2017-12-12 08:00:32 +00:00
|
|
|
# apn: volte
|
|
|
|
# - addr: cafe:2::1/64
|
|
|
|
# apn: volte
|
2017-12-17 08:04:44 +00:00
|
|
|
#
|
2017-12-18 00:26:29 +00:00
|
|
|
# o Multiple Devices (default: pgwtun)
|
2017-12-17 08:04:44 +00:00
|
|
|
# $ sudo ip addr add 45.45.0.1/16 dev pgwtun
|
|
|
|
# $ sudo ip addr add cafe:1::1/64 dev pgwtun2
|
|
|
|
# $ sudo ip addr add 45.46.0.1/16 dev pgwtun3
|
|
|
|
# $ sudo ip addr add cafe:2::1/64 dev pgwtun3
|
|
|
|
#
|
|
|
|
# ue_pool:
|
|
|
|
# - addr: 45.45.0.1/16
|
|
|
|
# - addr: cafe:1::1/64
|
|
|
|
# dev: pgwtun2
|
|
|
|
# - addr: 45.46.0.1/16
|
|
|
|
# apn: volte
|
|
|
|
# dev: pgwtun3
|
|
|
|
# - addr: cafe:2::1/64
|
|
|
|
# apn: volte
|
|
|
|
# dev: pgwtun3
|
2017-12-12 08:00:32 +00:00
|
|
|
#
|
|
|
|
ue_pool:
|
2017-12-13 03:02:51 +00:00
|
|
|
- addr: 45.45.0.1/16
|
2017-12-12 08:00:32 +00:00
|
|
|
- addr: cafe::1/64
|
|
|
|
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
|
|
|
# <Domain Name Server>
|
|
|
|
#
|
2017-12-18 00:26:29 +00:00
|
|
|
# o Primary/Secondary can be configured. Others are ignored.
|
2017-12-03 03:02:56 +00:00
|
|
|
#
|
2017-11-29 05:24:55 +00:00
|
|
|
dns:
|
|
|
|
- 8.8.8.8
|
|
|
|
- 8.8.4.4
|
|
|
|
- 2001:4860:4860::8888
|
|
|
|
- 2001:4860:4860::8844
|
2017-11-27 01:35:08 +00:00
|
|
|
|
2018-01-03 06:29:48 +00:00
|
|
|
#
|
|
|
|
# <P-CSCF>
|
|
|
|
#
|
|
|
|
# o Proxy Call Session Control Function
|
|
|
|
#
|
|
|
|
# p-cscf:
|
|
|
|
# - 127.0.0.1
|
|
|
|
# - ::1
|
|
|
|
#
|
|
|
|
|
2017-11-27 01:35:08 +00:00
|
|
|
pcrf:
|
2018-01-24 05:17:24 +00:00
|
|
|
freeDiameter: pcrf.conf
|