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)}