forked from acouzens/open5gs
Changes default IP configuration (#14)
* NextEPC will not use 127.0.0.1 address for Diameter and GTP-U * MME S1AP: Auto-Detect GTP-C: Auto-Detect DIAMETER: 127.0.0.2 * SGW GTP-C: 127.0.0.2 GTP-U: Auto-Detect * PGW GTP-C: Both 127.0.0.3 and [::1] GTP-U: Both 127.0.0.3 and [::1] DIAMETER: 127.0.0.3 * HSS DIAMETER: 127.0.0.4 * PCRF DIAMETER: 127.0.0.5
This commit is contained in:
parent
75cc9bbb47
commit
7b99cc7d7c
|
@ -39,5 +39,5 @@ sgw:
|
|||
pgw:
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.1
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
|
|
|
@ -45,10 +45,15 @@ mme:
|
|||
# s1ap:
|
||||
# addr: 0.0.0.0
|
||||
#
|
||||
# o S1AP Server(127.0.0.3:36412, [fe80::3%@LO_DEV@]:36412)
|
||||
# o S1AP Server(127.0.0.1:36412, [::1]:36412)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fe80::3%@LO_DEV@
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: ::1
|
||||
|
||||
# o S1AP Server(different port)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.1
|
||||
# port: 36413
|
||||
#
|
||||
# o S1AP Server(address avaiable in `eth0` interface)
|
||||
# s1ap:
|
||||
|
@ -165,7 +170,7 @@ sgw:
|
|||
# - fe80::2%@LO_DEV@
|
||||
# - addr
|
||||
# - 127.0.0.12
|
||||
# - fec0::12%@LO_DEV@
|
||||
# - fe80::12%@LO_DEV@
|
||||
# - name: sgw3.nextepc.org
|
||||
#
|
||||
# ------------------------ SGW --------------------------
|
||||
|
@ -201,49 +206,49 @@ pgw:
|
|||
# o Only first node is attempted. Others are ignored.
|
||||
# o if HSS provide PGW addresss(per-UE), DB overwrites YAML-configuration.
|
||||
#
|
||||
# o Two PGW are defined. 127.0.0.1:2123 is attempted. [::1]:2123 is ignored.
|
||||
# o Two PGW are defined. 127.0.0.3:2123 is attempted. [fe80::3%@LO_DEV@]:2123 is ignored.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: ::1
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fe80::3%@LO_DEV@
|
||||
#
|
||||
# o One PGW is defined. if prefer_ipv4 is not true, [::1] is selected.
|
||||
# o One PGW is defined. if prefer_ipv4 is not true, [fe80::3%@LO_DEV@] is selected.
|
||||
# gtpc:
|
||||
# - addr:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
# - 127.0.0.3
|
||||
# - fe80::3%@LO_DEV@
|
||||
#
|
||||
# ------------------------ PGW --------------------------
|
||||
#
|
||||
# o GTP-C Server(127.0.0.1:2123, [::1]:2123)
|
||||
# o GTP-C Server(127.0.0.3:2123, [fe80::3%@LO_DEV@]:2123)
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
# - 127.0.0.3
|
||||
# - fe80::3%@LO_DEV@
|
||||
#
|
||||
# o On PGW, Same configuration(127.0.0.1:2123, [::1]:2123) as below.
|
||||
# o On PGW, Same configuration(127.0.0.3:2123, [fe80::3%@LO_DEV@]:2123) as below.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: ::1
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fe80::3%@LO_DEV@
|
||||
#
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.1
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
|
||||
#
|
||||
# <GTP-U Server>>
|
||||
#
|
||||
# o GTP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# o GTP-U Server(127.0.0.3:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: ::1
|
||||
#
|
||||
# o Same configuration(127.0.0.1:2152, [::1]:2152) as below.
|
||||
# o Same configuration(127.0.0.3:2152, [::1]:2152) as below.
|
||||
# gtpu:
|
||||
# name: localhost
|
||||
#
|
||||
gtpu:
|
||||
- addr: 127.0.0.1
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
|
||||
#
|
||||
|
|
|
@ -16,10 +16,10 @@ pgw:
|
|||
freeDiameter: pgw.conf
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.1
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.1
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 45.45.0.1/16
|
||||
|
|
|
@ -262,6 +262,6 @@ LoadExtension = "dict_s6a.so";
|
|||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "mme.localdomain" { ConnectTo = "127.0.0.3"; No_TLS; };
|
||||
ConnectPeer = "mme.localdomain" { ConnectTo = "127.0.0.2"; No_TLS; };
|
||||
|
||||
##############################################################
|
||||
|
|
|
@ -80,7 +80,7 @@ No_SCTP;
|
|||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.3";
|
||||
ListenOn = "127.0.0.2";
|
||||
|
||||
|
||||
##############################################################
|
||||
|
|
|
@ -261,6 +261,6 @@ LoadExtension = "dict_dcca_3gpp.so";
|
|||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "pgw.localdomain" { ConnectTo = "127.0.0.2"; No_TLS; };
|
||||
ConnectPeer = "pgw.localdomain" { ConnectTo = "127.0.0.3"; No_TLS; };
|
||||
|
||||
##############################################################
|
||||
|
|
|
@ -80,7 +80,7 @@ No_SCTP;
|
|||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.2";
|
||||
ListenOn = "127.0.0.3";
|
||||
|
||||
|
||||
##############################################################
|
||||
|
|
Loading…
Reference in New Issue