From 028e33741c037b9d3af97017ce4326a6b9aa221d Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 24 Mar 2022 12:46:57 +0100 Subject: [PATCH] net: osmo-bsc-nat.cfg: configure mgw Depends: osmo-bsc-nat I6030a1f5a9d5fb06f148b2a2e03ae57bcb6b3766 Change-Id: I03f4d99d40341d97cb8aef5a1c0b4ca2abef14c3 --- net/config_2g3g | 2 ++ net/templates/osmo-bsc-nat.cfg | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/net/config_2g3g b/net/config_2g3g index 83cef72..8cf642d 100644 --- a/net/config_2g3g +++ b/net/config_2g3g @@ -147,6 +147,8 @@ BSCNAT_CN_PC="${BSC0_PC}" BSCNAT_CN_IP="127.0.0.3" BSCNAT_RAN_PC="${MSC_PC}" BSCNAT_RAN_IP="127.0.0.4" +BSCNAT_MGW_PORT="2427" +BSCNAT_MGW_IP="127.0.0.15" # Set to 1 to have osmo-dev run mobile and virtphy from osmocom-bb MS_RUN_IN_OSMO_DEV=0 diff --git a/net/templates/osmo-bsc-nat.cfg b/net/templates/osmo-bsc-nat.cfg index 41187a3..281939f 100644 --- a/net/templates/osmo-bsc-nat.cfg +++ b/net/templates/osmo-bsc-nat.cfg @@ -19,6 +19,13 @@ bsc-nat cs7-instance-cn 0 cs7-instance-ran 1 +mgw 0 + mgw remote-ip ${MGW4BSCNAT_IP} + mgw remote-port ${MGW4BSCNAT_PORT} + mgw local-ip ${BSCNAT_MGW_IP} + mgw local-port ${BSCNAT_MGW_PORT} + mgw endpoint-domain bscnat + ${foreach(LOG_OUTPUT)} log ${LOG_OUTPUTn_TYPE} ${include(common_logging)}