From 2be19428f7060e80ea5fb815a7a01b363d1185ca Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 8 May 2017 13:04:59 +0200 Subject: [PATCH] examples: Change IP address of config files This helps in providing 3G software packages for the sysmoNITB hardware, which uses 10.23.24.1 for SGSN and 10.23.24.2 for GGSN. However, in order to not break the python tests, the osmo-sgsn.cfg example still uses 127.0.0.1 as local address. Change the GGSN address to 127.0.0.2, because SGSN and GGSN cannot co-exist on the same address (the GTP port number is fixed by spec: no IE to communicate a differing port, so it has to be the standard GTP port for both). Change-Id: Ie3a25f6771ed6e620cb2b315638c622a9a24e530 --- doc/examples/osmo-bsc_mgcp/mgcp.cfg | 6 +++--- doc/examples/osmo-msc/osmo-msc.cfg | 2 +- doc/examples/osmo-sgsn/osmo-sgsn.cfg | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/examples/osmo-bsc_mgcp/mgcp.cfg b/doc/examples/osmo-bsc_mgcp/mgcp.cfg index 2622d23d0..3c43f1feb 100644 --- a/doc/examples/osmo-bsc_mgcp/mgcp.cfg +++ b/doc/examples/osmo-bsc_mgcp/mgcp.cfg @@ -7,9 +7,9 @@ line vty no login ! mgcp - !local ip 192.168.0.132 - !bts ip 192.168.0.124 - !bind ip 192.168.0.132 + !local ip 10.23.24.2 + !bts ip 10.24.24.1 + !bind ip 10.23.24.1 bind port 2427 rtp base 4000 rtp force-ptime 20 diff --git a/doc/examples/osmo-msc/osmo-msc.cfg b/doc/examples/osmo-msc/osmo-msc.cfg index 6cb9e4e0d..1b1d19258 100644 --- a/doc/examples/osmo-msc/osmo-msc.cfg +++ b/doc/examples/osmo-msc/osmo-msc.cfg @@ -15,5 +15,5 @@ network rrlp mode none mm info 1 msc - mgcpgw remote-ip 192.168.0.132 + mgcpgw remote-ip 10.23.24.1 assign-tmsi diff --git a/doc/examples/osmo-sgsn/osmo-sgsn.cfg b/doc/examples/osmo-sgsn/osmo-sgsn.cfg index 49559830a..3f393979a 100644 --- a/doc/examples/osmo-sgsn/osmo-sgsn.cfg +++ b/doc/examples/osmo-sgsn/osmo-sgsn.cfg @@ -7,7 +7,7 @@ line vty ! sgsn gtp local-ip 127.0.0.1 - ggsn 0 remote-ip 127.0.0.1 + ggsn 0 remote-ip 127.0.0.2 ggsn 0 gtp-version 1 ! ns