aboutsummaryrefslogtreecommitdiffstats
path: root/hnbgw/osmo-hnbgw.cfg
blob: 8a9774b243f86b15db674511a0e5adba7711f2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
!
! OsmoHNBGW (1.1.0) configuration saved from vty
!!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print file 1
 logging level set-all debug
!
line vty
 no login
!

stats interval 0
stats reporter statsd
 prefix TTCN3
 level subscriber
 remote-ip 127.0.0.1
 remote-port 8125
 flush-period 1
 mtu 1024
 enable

cs7 instance 0
 point-code 0.23.5

 sccp-address msc-naught
  point-code 0.23.4

 sccp-address msc-one
  point-code 0.0.2

 sccp-address msc-two
  point-code 0.0.3

 sccp-address msc-three
  point-code 0.0.4

 sccp-address sgsn-naught
  point-code 0.23.1

 sccp-address sgsn-one
  point-code 0.1.2

 sccp-address sgsn-two
  point-code 0.1.3

 sccp-address sgsn-three
  point-code 0.1.4

hnbgw
 log-prefix hnb-id
 iuh
  local-ip 127.0.0.1
  local-port 29169
  hnbap-allow-tmsi 1
 # don't spam RANAP RESET messages for up to eight CN links across all tests
 timer hnbgw T4 60
 # reduce default X31 from 15 seconds
 # https://gerrit.osmocom.org/c/osmo-hnbgw/+/34922
 timer hnbgw X31 5

msc 0
 remote-addr msc-naught

msc 1
 remote-addr msc-one

msc 2
 remote-addr msc-two

msc 3
 remote-addr msc-three

sgsn 0
 remote-addr sgsn-naught

sgsn 1
 remote-addr sgsn-one

sgsn 2
 remote-addr sgsn-two

sgsn 3
 remote-addr sgsn-three

hnbgw
 iucs
  nri bitlen 10
  # a NULL NRI that is outside the NRI ranges used by the MSCs:
  nri null add 0
  # a NULL NRI that is also used by an MSC:
  nri null add 1
msc 0
 nri add 1 255
msc 1
 nri add 256 511
msc 2
 nri add 512 767
 # range 768-1000 is not assigned to any MSC on purpose
msc 3
 nri add 1001 1023

hnbgw
 iups
  nri bitlen 10
  # a NULL NRI that is outside the NRI ranges used by the SGSNs:
  nri null add 0
  # a NULL NRI that is also used by an SGSN:
  nri null add 1
sgsn 0
 nri add 1 255
sgsn 1
 nri add 256 511
sgsn 2
 nri add 512 767
 # range 768-1000 is not assigned to any SGSN on purpose
sgsn 3
 nri add 1001 1023