STP and SGSN communication

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Lars Prehn lprehn at inet.tu-berlin.de
Mon Oct 22 14:37:27 UTC 2018


Hi everyone,

I'm currently struggling with getting the NITB example 
(https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_In_The_Box) 
running.

My problem looks as follows: I do see messages reaching the HNBGW 
component but whenever the HNBGW tries to reach the SGSN component I get 
the following error:

DLSS7 <000c> osmo_ss7_hmrt.c:278 m3ua_hmdc_rx_from_l2(): dpc=188=0.23.4 
not local, message is for routing
DLSS7 <000c> osmo_ss7_hmrt.c:258 MTP-TRANSFER.req for DPC 188: no route!

Using the VTY interface I can see that only HNBGW and MSC annouced their 
code points towards STP. :

as-rkm-1     AS_ACTIVE    1          0.23.5

as-rkm-2     AS_ACTIVE    2          0.23.1

However, I can not see the code point 0.23.4 (SGSN). In addition, I'm 
also not sure if the routes are valid as they are:

7.255.7                    0 as-rkm-1            ?       ? ?

7.255.7                    0 as-rkm-2            ?       ? ?

Here are my configurations (without the logging parts):

################### osmo-hnbgw.cfg ###################

cs7 instance 0
  # HNBGW's local point code
  point-code 0.23.5
  # Address book entries, used below
  sccp-address my_msc
   point-code 0.23.1
  sccp-address my_sgsn
   point-code 0.23.4

hnbgw
  iucs
   remote-addr my_msc
  iups
   remote-addr my_sgsn
  iuh
   local-ip 10.1.1.1
   hnbap-allow-tmsi 1


################### osmo-sgsn.cfg ###################

sgsn
  gtp local-ip 10.1.1.1
  ggsn 0 remote-ip 10.1.1.2
  ggsn 0 gtp-version 1
  !auth-policy accept-all
  auth-policy remote
  gsup remote-ip 127.0.0.1
  gsup remote-port 4222

ns
  timer tns-block 3
  timer tns-block-retries 3
  timer tns-reset 3
  timer tns-reset-retries 3
  timer tns-test 30
  timer tns-alive 3
  timer tns-alive-retries 10
  encapsulation udp local-ip 127.0.0.1
  encapsulation udp local-port 23000
  encapsulation framerelay-gre enabled 0

bssgp





################### osmo-hnbgw.cfg ###################

network
  network country code 901
  mobile network code 98
  short name OsmoMSC
  long name OsmoMSC
  encryption a5 0
  rrlp mode none
  mm info 1

msc
  mgw remote-ip 10.1.1.2
  mgw endpoint-range 1 32




################### osmo-stp.cfg ###################

cs7 instance 0
  xua rkm routing-key-allocation dynamic-permitted
  listen m3ua 2905
   accept-asp-connections dynamic-permitted



I hope someone can spot my mistake!

Best regards,

Lars




More information about the OpenBSC mailing list