gbproxy: Move different network elements to different IPs

* SGSN0: 127.0.0.10
* SGSN1: 127.0.0.11
* PCU0:  127.0.1.1
* PCU1:  127.0.2.1
* PCU3:  127.0.3.1

Change-Id: I1762bfc237e679ee21d0446596f2c4f56f735a9d
This commit is contained in:
Harald Welte 2021-01-18 12:03:53 +01:00
parent 2a33067570
commit d05a4a99a4
3 changed files with 7 additions and 49 deletions

View File

@ -21,48 +21,6 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
}
GBProxy_Tests.mp_nsconfig_pcu := {
{
handle_sns := false,
nsvc := {
{
provider := {
ip := {
local_ip := "127.0.0.1",
remote_ip := "127.0.0.1"
}
}
}
}
},
{
handle_sns := false,
nsvc := {
{
provider := {
ip := {
local_ip := "127.0.0.1",
remote_ip := "127.0.0.1"
}
}
}
}
},
{
handle_sns := false,
nsvc := {
{
provider := {
ip := {
local_ip := "127.0.0.1",
remote_ip := "127.0.0.1"
}
}
}
}
}
}
[MAIN_CONTROLLER]
[EXECUTE]

View File

@ -65,7 +65,7 @@ modulepar {
ip := {
address_family := AF_INET,
local_udp_port := 7777,
local_ip := "127.0.0.1",
local_ip := "127.0.0.10",
remote_udp_port := 23000,
remote_ip := "127.0.0.1"
}
@ -83,7 +83,7 @@ modulepar {
ip := {
address_family := AF_INET,
local_udp_port := 8888,
local_ip := "127.0.0.1",
local_ip := "127.0.0.11",
remote_udp_port := 23000,
remote_ip := "127.0.0.1"
}
@ -107,7 +107,7 @@ modulepar {
ip := {
address_family := AF_INET,
local_udp_port := 21010,
local_ip := "127.0.0.1",
local_ip := "127.0.1.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1"
}
@ -126,7 +126,7 @@ modulepar {
ip := {
address_family := AF_INET,
local_udp_port := 21020,
local_ip := "127.0.0.1",
local_ip := "127.0.2.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1"
}
@ -145,7 +145,7 @@ modulepar {
ip := {
address_family := AF_INET,
local_udp_port := 21030,
local_ip := "127.0.0.1",
local_ip := "127.0.3.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1"
}

View File

@ -18,9 +18,9 @@ ns
listen 127.0.0.1 23000
accept-ipaccess
nse 101
ip-sns 127.0.0.1 7777
ip-sns 127.0.0.10 7777
nse 102
ip-sns 127.0.0.1 8888
ip-sns 127.0.0.11 8888
timer tns-block 3
timer tns-block-retries 3
timer tns-reset 3