gbproxy: Update config for IP BSS to use SNS

This reflects the more realistic use cases: IP-SNS is used on the BSS
side, where osmo-gbproxy then behaves in SGSN role.

Change-Id: I90bd101096979b170c38fa2a80abb80d296c4d2e
This commit is contained in:
Harald Welte 2021-04-01 17:38:51 +02:00
parent a4abe20d62
commit 7079ce89cb
2 changed files with 13 additions and 9 deletions

View File

@ -134,7 +134,7 @@ modulepar {
{
nsei := 2001,
role_sgsn := false,
handle_sns := false,
handle_sns := true,
nsvc := {
{
provider := {
@ -143,7 +143,7 @@ modulepar {
local_udp_port := 21010,
local_ip := "127.0.1.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1",
remote_ip := "127.0.0.2",
data_weight := 1,
signalling_weight := 1
}
@ -155,7 +155,7 @@ modulepar {
{
nsei := 2002,
role_sgsn := false,
handle_sns := false,
handle_sns := true,
nsvc := {
{
provider := {
@ -164,7 +164,7 @@ modulepar {
local_udp_port := 21020,
local_ip := "127.0.2.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1",
remote_ip := "127.0.0.2",
data_weight := 1,
signalling_weight := 1
}
@ -176,7 +176,7 @@ modulepar {
{
nsei := 2003,
role_sgsn := false,
handle_sns := false,
handle_sns := true,
nsvc := {
{
provider := {
@ -185,7 +185,7 @@ modulepar {
local_udp_port := 21030,
local_ip := "127.0.3.1",
remote_udp_port := 23000,
remote_ip := "127.0.0.1",
remote_ip := "127.0.0.2",
data_weight := 1,
signalling_weight := 1
}

View File

@ -24,15 +24,19 @@ sgsn nsei 102
name second
nri add 4
ns
bind udp local
bind udp sgsn-side
listen 127.0.0.1 23000
accept-ipaccess
nse 101
ip-sns-bind local
ip-sns-bind sgsn-side
ip-sns-remote 127.0.0.10 7777
nse 102
ip-sns-bind local
ip-sns-bind sgsn-side
ip-sns-remote 127.0.0.11 8888
bind udp bss-side
listen 127.0.0.2 23000
accept-dynamic-ip-sns
ip-sns-default bind bss-side
timer tns-block 3
timer tns-block-retries 3
timer tns-reset 3