Osmo-gbproxy » History » Version 6
Anonymous, 02/19/2016 10:48 PM
1 | 4 | laforge | [[PageOutline]] |
---|---|---|---|
2 | 1 | laforge | = The Gb proxy = |
3 | |||
4 | The purpose of the Gb proxy is to aggregate the Gb links of multiple |
||
5 | BSS's and present them in one Gb link to the SGSN. |
||
6 | |||
7 | More specifically, the Gb proxy terminates the NS-VCs of each BSS |
||
8 | locally. Furthermore, it establishes one NS-VC with the SGSN. |
||
9 | |||
10 | 6 | laforge | Source code available as part of OpenBSC repository: |
11 | {{{ |
||
12 | git clone git://git.osmocom.org/openbsc.git |
||
13 | }}} |
||
14 | |||
15 | 1 | laforge | The proxy then forwards NS-DUs (BSSGP PDUs) between the SGSN and the |
16 | respective BSS (and vice versa). |
||
17 | 5 | laforge | {{{ |
18 | #!graphviz |
||
19 | digraph G { |
||
20 | rankdir=LR; |
||
21 | nanobts1->OpenBSC [ label="Abis/IP" ]; |
||
22 | nanobts2->OpenBSC [ label="Abis/IP" ]; |
||
23 | nanobts1->gb_proxy [ label="Gb/IP" ]; |
||
24 | nanobts2->gb_proxy [ label="Gb/IP" ]; |
||
25 | gb_proxy->SGSN [ label="Gb/IP or\nGb/FR/GRE/IP" ]; |
||
26 | nanobts2 [ label = "nanoBTS 2" ]; |
||
27 | nanobts1 [ label = "nanoBTS 1" ]; |
||
28 | OpenBSC [ label = "OpenBSC" ] |
||
29 | } |
||
30 | }}} |
||
31 | 1 | laforge | |
32 | == Configuring and using osmo-gbproxy == |
||
33 | 3 | laforge | |
34 | Like other programs in this project, osmo-gbproxy accepts a number of command line arguments |
||
35 | but is generally configured by a configuration file (which can be interactively created/edited |
||
36 | from the VTY). |
||
37 | |||
38 | The command line arguments are: |
||
39 | {{{ |
||
40 | -h --help this text |
||
41 | -d option --debug=DNS:DGPRS,0:0 enable debugging |
||
42 | -c --config-file filename The config file to use. |
||
43 | -s --disable-color |
||
44 | -T --timestamp Prefix every log line with a timestamp |
||
45 | -V --version. Print the version of OpenBSC. |
||
46 | -e --log-level number. Set a global loglevel. |
||
47 | }}} |
||
48 | |||
49 | There is a wiki page [wiki:osmo-gbproxy_VTY] with a reference for all VTY commands |
||
50 | 1 | laforge | |
51 | == Advanced use cases == |
||
52 | |||
53 | 2 | laforge | === Cascading proxies === |
54 | 1 | laforge | |
55 | You can also cascade multiple Gb proxies behind each other, where a number |
||
56 | of BSS connect to one Gb proxy, which in turn connects to another Gb proxy, |
||
57 | which then finally connects to the SGSN. |
||
58 | |||
59 | The reason for this type of use can be broken or limited Gb implementations |
||
60 | in proprietary BSS equipment, which fails to re-connect the Gb link after some |
||
61 | intermittent network outage. |
||
62 | |||
63 | == Design documentation == |
||
64 | |||
65 | There's a more detailed [wiki:osmo-gbproxy_design design description] outlining |
||
66 | details of the proxy. |