From 708f56b46ed3cc5f6670ad0e76b07304ac178cbd 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 2622d23d..3c43f1fe 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 6cb9e4e0..1b1d1925 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 49559830..3f393979 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